NetBurner 3.5.0
PDF Version
 
AT Commands

Functions for serial modem AT commands. More...

Macros

#define AT_COMMAND_REASON_START_AT   (1)
 AT_COMMAND_REASON_START_AT.
 
#define AT_COMMAND_REASON_EXIT_AT   (2)
 AT_COMMAND_REASON_EXIT_AT.
 
#define AT_COMMAND_REASON_NORMAL_COMMAND   (3)
 AT_COMMAND_REASON_NORMAL_COMMAND.
 
#define AT_COMMAND_OK   (1)
 AT_COMMAND_OK.
 
#define AT_COMMAND_EXIT   (2)
 AT_COMMAND_EXIT.
 

Typedefs

typedef int ProcessATcommandFunc(int uartnum, const char *pCommand, FILE *pResponseFile, int reason)
 typedef for the AT command processing function
 

Functions

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.
 

Detailed Description

Functions for serial modem AT commands.

#include< atcommand.h >

Typedef Documentation

◆ ProcessATcommandFunc

typedef int ProcessATcommandFunc(int uartnum, const char *pCommand, FILE *pResponseFile, int reason)

#include <atcommand.h>

typedef for the AT command processing function

Returns
AT_COMMAND_OK or AT_COMMAND_EXIT