22#define AT_COMMAND_REASON_START_AT (1)
24#define AT_COMMAND_REASON_EXIT_AT (2)
26#define AT_COMMAND_REASON_NORMAL_COMMAND (3)
29#define AT_COMMAND_OK (1)
31#define AT_COMMAND_EXIT (2)
void EnableATCommands(int port_number, ProcessATcommandFunc *pcmdf, int task_priority)
Enable AT command on the specific serial port, port must already be popen'd in interrupt mode.
void DisableATCommands(int port_number)
Disable AT command.
int ProcessATcommandFunc(int uartnum, const char *pCommand, FILE *pResponseFile, int reason)
typedef for the AT command processing function
Definition atcommand.h:38