le_atDefs_interface.h File Reference

#include "legato.h"

Go to the source code of this file.

Macros

#define LE_ATDEFS_COMMAND_MAX_LEN   127
 
#define LE_ATDEFS_COMMAND_MAX_BYTES   128
 
#define LE_ATDEFS_PARAMETER_MAX_LEN   127
 
#define LE_ATDEFS_PARAMETER_MAX_BYTES   128
 
#define LE_ATDEFS_RESPONSE_MAX_LEN   352
 
#define LE_ATDEFS_RESPONSE_MAX_BYTES   353
 
#define LE_ATDEFS_UNSOLICITED_MAX_LEN   256
 
#define LE_ATDEFS_UNSOLICITED_MAX_BYTES   257
 
#define LE_ATDEFS_TEXT_MAX_LEN   256
 
#define LE_ATDEFS_TEXT_MAX_BYTES   257
 
#define LE_ATDEFS_COMMAND_DEFAULT_TIMEOUT   30000
 

Detailed Description

Definition file common to multiple AT commands related services.

Macro Definition Documentation

#define LE_ATDEFS_COMMAND_DEFAULT_TIMEOUT   30000

Command default timeout (in ms)

#define LE_ATDEFS_COMMAND_MAX_BYTES   128

Command string maximum length. One extra byte is added for the null character.

#define LE_ATDEFS_COMMAND_MAX_LEN   127

Command string maximum length.

Warning
Special characters cost more than one byte
#define LE_ATDEFS_PARAMETER_MAX_BYTES   128

Parameter string maximum length. One extra byte is added for the null character.

#define LE_ATDEFS_PARAMETER_MAX_LEN   127

Parameter string maximum length.

Warning
Special characters cost more than one byte
#define LE_ATDEFS_RESPONSE_MAX_BYTES   353

AT command response maximum length. One extra byte is added for the null character.

#define LE_ATDEFS_RESPONSE_MAX_LEN   352

AT command response maximum length.

Warning
Special characters cost more than one byte
#define LE_ATDEFS_TEXT_MAX_BYTES   257

Maximum number of bytes in an text message (including the null-terminator).

#define LE_ATDEFS_TEXT_MAX_LEN   256

Maximum number of bytes in a text message (not including the null-terminator).

Warning
Special characters cost more than one byte
#define LE_ATDEFS_UNSOLICITED_MAX_BYTES   257

Maximum number of bytes in an unsolicited response (including the null-terminator).

#define LE_ATDEFS_UNSOLICITED_MAX_LEN   256

Maximum number of bytes in an unsolicited response (not including the null-terminator).

Warning
Special characters cost more than one byte