You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the AT_slave example I found that I would only get a response to the first AT command I sent. I am working with version 1.2.3 but don't think the issue is only in this version.
I have debugged the issue and believe the issue is in command.c CMD_Process(void)
void CMD_Process(void)
{
static char command[CMD_SIZE];
static unsigned i = 0; // This should not be declared as "static"
/* Process all commands */
while (IsNewCharReceived() == SET)
{
command[i] = GetNewChar();
#if 0 /* echo On */
PRINTF("%c", command[i]);
#endif
if (command[i] == AT_ERROR_RX_CHAR)
{
i = 0;
com_error(AT_RX_ERROR);
break;
}
The text was updated successfully, but these errors were encountered:
When using the AT_slave example I found that I would only get a response to the first AT command I sent. I am working with version 1.2.3 but don't think the issue is only in this version.
I have debugged the issue and believe the issue is in command.c CMD_Process(void)
The text was updated successfully, but these errors were encountered: