Closed alexbrickwedde closed 3 weeks ago
if (argumentsP[0] == ',') {
t->desc = 0;
argumentsP++;
} else {
if (!ATCommand_GetNextArgumentInt(&argumentsP, &(t->desc), ATCOMMAND_INTFLAGS_SIZE8 | ATCOMMAND_INTFLAGS_UNSIGNED, ATCOMMAND_ARGUMENT_DELIM))
{
return false;
}
}
works for me
Thank you for the feedback. This fix is correct, it will be part of the next release.
I got a +WRITE message with
0,1,1,,4,rrrr
, which should be valid, according to the UM:In function StephanoI_ATBluetoothLE_ParseWrite the
ATCommand_GetNextArgumentInt(&argumentsP, &(t->desc), ...
doesn't find content and returns false.