27 *c_outChar = c_inChar;
52 *c_outChar = c_inChar;
80 *c_outChar = c_inChar;
127 #define B_IS_SPEC b_isSpec
153 #if !defined(__PIC__) || defined(__DOXYGEN__)
175 memset(xferVar, 0,
sizeof(xferVar));
191 #if !defined(__PIC__) || defined(__DOXYGEN__)
227 if (pu8_data == NULL) {
248 uint u_byteIndex = u_index / 8;
250 uint8_t u8_mask = 1 << (u_index % 8);
260 uint u_byteIndex = u_index / 8;
262 uint8_t u8_mask = 1 << (u_index % 8);
274 if (xferVar[
u_index].u8_size != (u_varLength - 1)) {
322 st_len = strlen(psz_s) + 1;
323 pXferVar->
psz_format = (
char*) malloc(
sizeof(
char)*st_len);
329 st_len = strlen(psz_s) + 1;
330 pXferVar->
psz_name = (
char*) malloc(
sizeof(
char)*st_len);
336 st_len = strlen(psz_s) + 1;
337 pXferVar->
psz_desc = (
char*) malloc(
sizeof(
char)*st_len);
362 static uint u_varLength;
364 static uint8_t* pu8_data = NULL;
367 static char c_lastCommand;
486 if (pu8_data == NULL)
509 if (--u_varLength == 0) {
528 if (pu8_data == NULL)
588 "interrupted command",
591 "variable size mismatch",
592 "read only variable",
593 "illegal variable specification",