Configurations of the Cellular Library.
Some configuration settings are C pre-processor constants, and some are function-like macros for logging. They can be set with a #define
in the config file (cellular_config.h) or by using a compiler option such as -D in gcc.
Define this macro to build the Cellular library without the custom config file cellular_config.h.
Without the custom config, the Cellular library builds with default values of config macros defined in cellular_config_defaults.h file.
If a custom config is provided, then CELLULAR_DO_NOT_USE_CUSTOM_CONFIG should not be defined.
Mobile country code max size.
Possible values:Any positive integer
Default value (if undefined): 3
Mobile network code max size.
Possible values:Any positive integer
Default value (if undefined): 3
Integrate circuit card identity max size.
Possible values:Any positive integer
Default value (if undefined): 20
International Mobile Subscriber Identity max size.
Possible values:Any positive integer
Default value (if undefined): 15
Cellular module firmware version max size.
Possible values:Any positive integer
Default value (if undefined): 32
Cellular module hardware version max size.
Possible values:Any positive integer
Default value (if undefined): 12
Cellular module serial number max size.
Possible values:Any positive integer
Default value (if undefined): 12
International Mobile Equipment Identity number max size.
Possible values:Any positive integer
Default value (if undefined): 15
Registered network operator name max size.
Possible values:Any positive integer
Default value (if undefined): 32
Access point name max size.
Possible values:Any positive integer
Default value (if undefined): 32
Packet data network username max size.
Possible values:Any positive integer
Default value (if undefined): 32
Packet data network password max size.
Possible values:Any positive integer
Default value (if undefined): 32
Cellular data network IP address max size.
Possible values:Any positive integer
Default value (if undefined): 40
Cellular AT command max size.
Possible values:Any positive integer
Default value (if undefined): 200
Cellular module number of socket max size.
Possible values:Any positive integer
Default value (if undefined): 12
Cellular module manufacture ID max size.
Possible values:Any positive integer
Default value (if undefined): 20
Cellular module ID max size.
Possible values:Any positive integer
Default value (if undefined): 10
Cellular EDRX list max size.
Possible values:Any positive integer
Default value (if undefined): 4
Cellular PDN context ID min value.
Possible values:Any positive integer
Default value (if undefined): 1
Cellular PDN context ID max value.
Possible values:Any positive integer
Default value (if undefined): 1
Cellular RAT ( radio access technology ) priority count.
Possible values:Any positive integer
Default value (if undefined): 1
Cellular socket max send data length.
Possible values:Any positive integer
Default value (if undefined): 1460
Cellular socket max receive data length.
Possible values:Any positive integer
Default value (if undefined): 1500
Cellular module support getHostByName.
Possible values:0 or 1
Default value (if undefined): 1
Cellular comm interface send timeout in MS.
Possible values:Any positive integer
Default value (if undefined): 1000
Cellular comm interface receive timeout in MS.
Possible values:Any positive integer
Default value (if undefined): 1000
FreeRTOS Cellular Library use static context.
Possible values:0 or 1
Default value (if undefined): 0
Cellular comm interface use static context.
Possible values:0 or 1
Default value (if undefined): 0
Default radio access technology.
Possible values:Any value before CELLULAR_RAT_MAX
( Reference : CellularRat_t )
Default value (if undefined): CELLULAR_RAT_CATM1
Cellular comm interface use static socket context.
Possible values:0 or 1
Default value (if undefined): 0
Cellular common AT command timeout.
The timeout value for Cellular_Common prefix APIs. The timeout value should be set according to spec. It should be long enough for AT command used in cellular common APIs.
Possible values:Any positive integer
Default value (if undefined): 5000
Cellular AT command raw timeout.
The timeout value for Cellular_ATCommandRaw API.
Possible values:Any positive integer
Default value (if undefined): 5000
Cellular AT command response prefix string length.
The maximum length of AT command response prefix string.
Possible values:Any positive integer
Default value (if undefined): 32
Cellular AT string length.
The maximum length of an AT string.
Possible values:Any positive integer
Default value (if undefined): 256
Use AT+CCID command for Integrated Circuit Card ID( ICCID ) information.
Acquire ICCID with non-standard 3GPP command AT+CCID in Cellular_CommonGetSimCardInfo.
Possible values:0 or 1
Default value (if undefined): 1
Assert function for cellular interface.
Possible values:any assert function
Default value (if undefined): configASSERT
Use FreeRTOS platform function for backward compatibility.
Define FreeRTOS platform function for cellular interface backward compatibility with version earlier than v1.4.0.
Possible values:0 or 1
Default value (if undefined): 1
Pktio read buffer size.
The pktio read buffer size should be configured to greater than the maximum AT command response size, which is typically the TCP socket receive command response packet size.
Possible values:Any positive integer
Default value (if undefined): 1600
Macro to disable querying evolved packet system (EPS) network registration status in Cellular_CommonGetServiceStatus.
Macro that is called in the cellular library for logging "Error" level messages.
To enable error level logging in the cellular library, this macro should be mapped to the application-specific logging implementation that supports error logging.
Default value: Error logging is turned off, and no code is generated for calls to the macro in the cellular library on compilation.
Macro that is called in the cellular library for logging "Warning" level messages.
To enable warning level logging in the cellular library, this macro should be mapped to the application-specific logging implementation that supports warning logging.
Default value: Warning logs are turned off, and no code is generated for calls to the macro in the cellular library on compilation.
Macro that is called in the cellular library for logging "Info" level messages.
To enable info level logging in the cellular library, this macro should be mapped to the application-specific logging implementation that supports info logging.
Default value: Info logging is turned off, and no code is generated for calls to the macro in the cellular library on compilation.
Macro that is called in the cellular library for logging "Debug" level messages.
To enable debug level logging from cellular library, this macro should be mapped to the application-specific logging implementation that supports debug logging.
Default value: Debug logging is turned off, and no code is generated for calls to the macro in the cellular library on compilation.
Default value: undefined