Renesas CAT CONFIG
CAT CELL "sf_cellular_api.h"
typedef enum e_sf_cellular_at_cmd_index
{
SF_CELLULAR_AT_CMD_INDEX_AT = , ///< Index for Command AT
SF_CELLULAR_AT_CMD_INDEX_ATZ0, ///< Index for Command ATZ0
SF_CELLULAR_AT_CMD_INDEX_AT_CREG_SET_0, ///< Index for Command to set AT+CREG
SF_CELLULAR_AT_CMD_INDEX_AT_CMEE_SET_0, ///< Index for Command to set AT+CMEE
SF_CELLULAR_AT_CMD_INDEX_AT_ECHO, ///< Index for Command ATE
SF_CELLULAR_AT_CMD_INDEX_AT_SAVE, ///< Index for Command AT&W
SF_CELLULAR_AT_CMD_INDEX_AT_CREG, ///< Index for Command AT+CREG
SF_CELLULAR_AT_CMD_INDEX_AT_CPIN_STATUS_GET, ///< Index for Command to get status of SIM lock
SF_CELLULAR_AT_CMD_INDEX_AT_ENTER_CPIN, ///< Index for Command to unlock SIM
SF_CELLULAR_AT_CMD_INDEX_AT_CPIN_SET, ///< Index for Command to set SIM PIN
SF_CELLULAR_AT_CMD_INDEX_AT_CGDCONT_SET, ///< Index for Command to set AT+CGDCOND
SF_CELLULAR_AT_CMD_INDEX_AT_CPOL_SET, ///< Index for Command to set AT+CPOL
SF_CELLULAR_AT_CMD_INDEX_AT_COPS_AUTO_SET, ///< Index for Command to set AUTO AT+COPS
SF_CELLULAR_AT_CMD_INDEX_AT_COPS_MANUAL_SET, ///< Index for Command to set Manual AT+COPS
SF_CELLULAR_AT_CMD_INDEX_AT_AIRPLANE_OFF, ///< Index for Command to set Airplane mode OFF
SF_CELLULAR_AT_CMD_INDEX_AT_AIRPLANE_ON, ///< Index for Command to set Airplane mode ON
SF_CELLULAR_AT_CMD_INDEX_AT_CONTEXT_ACTIVE, ///< Index for Command to activate context
SF_CELLULAR_AT_CMD_INDEX_AT_CONTEXT_DEACTIVE, ///< Index for Command to deactivate context
SF_CELLULAR_AT_CMD_INDEX_AT_CGDATA_ACTIVE, ///< Index for Command to activate Data mode
SF_CELLULAR_AT_CMD_INDEX_AT_CGDATA_DEACTIVE, ///< Index for Command to deactivate Data mode
SF_CELLULAR_AT_CMD_INDEX_AT_CSQ_GET, ///< Index for Command to get signal quality
SF_CELLULAR_AT_CMD_INDEX_AT_VER_GET, ///< Index for Command to get Modem stack Version
SF_CELLULAR_AT_CMD_INDEX_AT_CHIPSET_GET, ///< Index for Command to get chipset details
SF_CELLULAR_AT_CMD_INDEX_AT_IMEI_GET, ///< Index for Command to get IMEI number
SF_CELLULAR_AT_CMD_INDEX_AT_MANF_NAME_GET, ///< Index for Command to get manufacturer name
SF_CELLULAR_AT_CMD_INDEX_AT_SIMID_GET, ///< Index for Command to get SIM Card ID
SF_CELLULAR_AT_CMD_INDEX_AT_NET_TYPE_STATUS_GET, ///< Index for Command to get network type information
SF_CELLULAR_AT_CMD_INDEX_AT_NET_STATUS_GET, ///< Index for Command to get network status information
SF_CELLULAR_AT_CMD_INDEX_AT_LOCK_SIM, ///< Index for Command to lock SIM card
SF_CELLULAR_AT_CMD_INDEX_AT_UNLOCK_SIM, ///< Index for Command to unlock SIM card
SF_CELLULAR_AT_CMD_INDEX_AT_ENTER_DATA_MODE, ///< Index for Command to enter data mode
SF_CELLULAR_AT_CMD_INDEX_AT_EXIT_DATA_MODE, ///< Index for Command to exit data mode
SF_CELLULAR_AT_CMD_INDEX_AT_USERNAME_SET, ///< Index for Command to set username
SF_CELLULAR_AT_CMD_INDEX_AT_PASSWORD_SET, ///< Index for Command to set password
SF_CELLULAR_AT_CMD_INDEX_AT_AUTH_TYPE_SET, ///< Index for Command to set authorisation type
SF_CELLULAR_AT_CMD_INDEX_AT_AUTO_TIME_UPDATE_ENABLE_SET, ///< Index for Command to enable auto time update
SF_CELLULAR_AT_CMD_INDEX_AT_AUTO_TIME_UPDATE_DISABLE_SET, ///< Index for Command to disable auto time update
SF_CELLULAR_AT_CMD_INDEX_AT_EMPTY_APN_SET, ///< Index for Command to set empty APN
SF_CELLULAR_AT_CMD_INDEX_AT_GET_IP_ADDR, ///< Index for Command to get IP address
SF_A9500_AT_CMD_INDEX_AT_AUTO_SEARCH_WEB, ///< Index for command to auto search web >
SF_A9500_AT_CMD_INDEX_AT_LTE_SEARCH_WEB, ///<Index for command to search LTE web >
SF_A9500_AT_CMD_INDEX_AT_CPIN, ///<Index for command to check sim card>
SF_A9500_AT_CMD_INDEX_AT_CGDCONT, ///<Index for command to connect>
SF_A9500_AT_CMD_INDEX_AT_PSRAT, ///<Index for command to connect LTE>
SF_A9500_AT_CMD_INDEX_AT_ATD_DATA_CONNECTION, ///<Index for command to data connection>
} sf_cellular_at_cmd_index_t;
"sf_cellular_cat3.c"
const sf_cellular_at_cmd_set_t g_sf_cellular_cat3_cmd_set[] =
{
/** AT Command: To check module init */
[SF_CELLULAR_AT_CMD_INDEX_AT] =
{
.p_cmd = (uint8_t *) "AT\r\n",
.p_success_resp = (uint8_t *) "OK",
.max_resp_length = SF_CELLULAR_STR_LEN_32,
.retry = SF_CELLULAR_RETRY_VALUE_10,
.retry_delay = SF_CELLULAR_DELAY_500MS
},
/** AT Command to soft reset the module */
[SF_CELLULAR_AT_CMD_INDEX_ATZ0] =
{
.p_cmd = (uint8_t *) "ATZ0\r\n",
.p_success_resp = (uint8_t *) "OK",
.max_resp_length = SF_CELLULAR_STR_LEN_32,
.retry = SF_CELLULAR_RETRY_VALUE_5,
.retry_delay = SF_CELLULAR_DELAY_200MS
},
#if SF_CELLULAR_CAT3_TEUG
/** AT Command set to disable registration notification */
[SF_CELLULAR_AT_CMD_INDEX_AT_CREG_SET_0] =
{
.p_cmd = (uint8_t *) "AT+CREG=0\r\n",
.p_success_resp = (uint8_t *) "OK",
.max_resp_length = SF_CELLULAR_STR_LEN_32,
.retry = SF_CELLULAR_RETRY_VALUE_10,
.retry_delay = SF_CELLULAR_DELAY_500MS
},
#endif
#if SF_CELLULAR_CAT3_TSVG
/** AT Command set to disable registration notification */
[SF_CELLULAR_AT_CMD_INDEX_AT_CREG_SET_0] =
{
.p_cmd = (uint8_t *) "AT+CGREG=0\r\n",
.p_success_resp = (uint8_t *) "OK",
.max_resp_length = SF_CELLULAR_STR_LEN_32,
.retry = SF_CELLULAR_RETRY_VALUE_0,
.retry_delay = SF_CELLULAR_DELAY_0
},
#endif
/** AT Command set to disable the error details */
[SF_CELLULAR_AT_CMD_INDEX_AT_CMEE_SET_0] =
{
.p_cmd = (uint8_t *) "AT+CMEE=0\r\n",
.p_success_resp = (uint8_t *) "OK",
.max_resp_length = SF_CELLULAR_STR_LEN_32,
.retry = SF_CELLULAR_RETRY_VALUE_5,
.retry_delay = SF_CELLULAR_DELAY_100MS
}, /** AT Command set to set echo off */
[SF_CELLULAR_AT_CMD_INDEX_AT_ECHO] =
{
.p_cmd = (uint8_t *) "ATE0\r\n",
.p_success_resp = (uint8_t *) "OK",
.max_resp_length = SF_CELLULAR_STR_LEN_32,
.retry = SF_CELLULAR_RETRY_VALUE_5,
.retry_delay = SF_CELLULAR_DELAY_100MS,
},
/** AT Command set to save the current setting */
[SF_CELLULAR_AT_CMD_INDEX_AT_SAVE] =
{
.p_cmd = (uint8_t *) "AT&W\r\n",
.p_success_resp = (uint8_t *) "OK",
.max_resp_length = SF_CELLULAR_STR_LEN_32,
.retry = SF_CELLULAR_RETRY_VALUE_0,
.retry_delay = SF_CELLULAR_DELAY_200MS
},
#if SF_CELLULAR_CAT3_TEUG
/** AT Command set to read registration status */
[SF_CELLULAR_AT_CMD_INDEX_AT_CREG] =
{
.p_cmd = (uint8_t *) "AT+CREG?\r\n",
.p_success_resp = (uint8_t *) "+CREG: 0,1",
.max_resp_length = SF_CELLULAR_STR_LEN_32,
.retry = SF_CELLULAR_RETRY_VALUE_5,
.retry_delay = SF_CELLULAR_DELAY_500MS
},
#endif
#if SF_CELLULAR_CAT3_TSVG
/** AT Command set to read registration status */
[SF_CELLULAR_AT_CMD_INDEX_AT_CREG] =
{
.p_cmd = (uint8_t *) "AT+CGREG?\r\n",
.p_success_resp = (uint8_t *) "+CGREG: 0,1",
.max_resp_length = SF_CELLULAR_STR_LEN_32,
.retry = SF_CELLULAR_RETRY_VALUE_5,
.retry_delay = SF_CELLULAR_DELAY_300MS
},
#endif
/** AT Command set to read SIM PIN status */
[SF_CELLULAR_AT_CMD_INDEX_AT_CPIN_STATUS_GET] =
{
.p_cmd = (uint8_t *) "AT+CPIN?\r\n",
.p_success_resp = (uint8_t *) "+CPIN",
.max_resp_length = SF_CELLULAR_STR_LEN_32,
.retry = SF_CELLULAR_RETRY_VALUE_5,
.retry_delay = SF_CELLULAR_DELAY_100MS
},
/** AT Command set to enter SIM pin to unlock SIM */
[SF_CELLULAR_AT_CMD_INDEX_AT_ENTER_CPIN] =
{
.p_cmd = (uint8_t *) "AT+CPIN=\"",
.p_success_resp = (uint8_t *) "OK",
.max_resp_length = SF_CELLULAR_STR_LEN_32,
.retry = SF_CELLULAR_RETRY_VALUE_5,
.retry_delay = SF_CELLULAR_DELAY_100MS
},
/** AT Command set to change the SIM Pin used for lock/unlock SIM */
[SF_CELLULAR_AT_CMD_INDEX_AT_CPIN_SET] =
{
.p_cmd = (uint8_t *) "AT+CPWD=\"SC\",\"",
.p_success_resp = (uint8_t *) "OK",
.max_resp_length = SF_CELLULAR_STR_LEN_32,
.retry = SF_CELLULAR_RETRY_VALUE_5,
.retry_delay = SF_CELLULAR_DELAY_300MS
},
/** AT Command set define PDP context */
[SF_CELLULAR_AT_CMD_INDEX_AT_CGDCONT_SET] =
{
.p_cmd = (uint8_t *) "AT+CGDCONT=",
.p_success_resp = (uint8_t *) "OK",
.max_resp_length = SF_CELLULAR_STR_LEN_32,
.retry = SF_CELLULAR_RETRY_VALUE_10,
.retry_delay = SF_CELLULAR_DELAY_500MS
},
/** AT Command set to set preferred operator list */
[SF_CELLULAR_AT_CMD_INDEX_AT_CPOL_SET] =
{
.p_cmd = (uint8_t *) "AT+CPOL=",
.p_success_resp = (uint8_t *) "OK",
.max_resp_length = SF_CELLULAR_STR_LEN_32,
.retry = SF_CELLULAR_RETRY_VALUE_5,
.retry_delay = SF_CELLULAR_DELAY_100MS
},
/** AT Command set to operator selection mode to auto */
[SF_CELLULAR_AT_CMD_INDEX_AT_COPS_AUTO_SET] =
{
.p_cmd = (uint8_t *) "AT+COPS=0\r\n",
.p_success_resp = (uint8_t *) "OK",
.max_resp_length = SF_CELLULAR_STR_LEN_32,
.retry = SF_CELLULAR_RETRY_VALUE_5,
.retry_delay = SF_CELLULAR_DELAY_100MS
},
/** AT Command set to set operator selection mode to manual */
[SF_CELLULAR_AT_CMD_INDEX_AT_COPS_MANUAL_SET] =
{
.p_cmd = (uint8_t *) "AT+COPS=1",
.p_success_resp = (uint8_t *) "OK",
.max_resp_length = SF_CELLULAR_STR_LEN_32,
.retry = SF_CELLULAR_RETRY_VALUE_5,
.retry_delay = SF_CELLULAR_DELAY_100MS
},
#if SF_CELLULAR_CAT3_TEUG
/** AT Command set to set full function mode */
[SF_CELLULAR_AT_CMD_INDEX_AT_AIRPLANE_OFF] =
{
.p_cmd = (uint8_t *) "AT+CFUN=1,1\r\n",
.p_success_resp = (uint8_t *) "OK",
.max_resp_length = SF_CELLULAR_STR_LEN_32,
.retry = SF_CELLULAR_RETRY_VALUE_5,
.retry_delay = SF_CELLULAR_DELAY_100MS
},
#endif
#if SF_CELLULAR_CAT3_TSVG
/** AT Command set to set full function mode */
[SF_CELLULAR_AT_CMD_INDEX_AT_AIRPLANE_OFF] =
{
.p_cmd = (uint8_t *) "AT+CFUN=1,0\r\n",
.p_success_resp = (uint8_t *) "OK",
.max_resp_length = SF_CELLULAR_STR_LEN_32,
.retry = SF_CELLULAR_RETRY_VALUE_1,
.retry_delay = SF_CELLULAR_DELAY_100MS
},
#endif
/** AT Command set to set airplane mode on */
[SF_CELLULAR_AT_CMD_INDEX_AT_AIRPLANE_ON] =
{
.p_cmd = (uint8_t *) "AT+CFUN=4,0\r\n",
.p_success_resp = (uint8_t *) "OK",
.max_resp_length = SF_CELLULAR_STR_LEN_32,
.retry = SF_CELLULAR_RETRY_VALUE_5,
.retry_delay = SF_CELLULAR_DELAY_2000MS,
},
/** AT Command set to activate the PDP context */
[SF_CELLULAR_AT_CMD_INDEX_AT_CONTEXT_ACTIVE] =
{
.p_cmd = (uint8_t *) "AT+CGACT=1,",
.p_success_resp = (uint8_t *) "OK",
.max_resp_length = SF_CELLULAR_STR_LEN_32,
.retry = SF_CELLULAR_RETRY_VALUE_10,
.retry_delay = SF_CELLULAR_DELAY_500MS
},
/** AT Command set to disable the PDP context */
[SF_CELLULAR_AT_CMD_INDEX_AT_CONTEXT_DEACTIVE] =
{
.p_cmd = (uint8_t *) "AT+CGACT=0,",
.p_success_resp = (uint8_t *) "OK",
.max_resp_length = SF_CELLULAR_STR_LEN_32,
.retry = SF_CELLULAR_RETRY_VALUE_5,
.retry_delay = SF_CELLULAR_DELAY_300MS
},
/** AT Command set to start Data mode */
[SF_CELLULAR_AT_CMD_INDEX_AT_CGDATA_ACTIVE] =
{
.p_cmd = (uint8_t *) "AT+CGDATA=",
.p_success_resp = (uint8_t *) "CONNECT",
.max_resp_length = (uint16_t) sizeof("CONNECT XXXXXXXXXX\r\nOK\r\n"),
.retry = SF_CELLULAR_RETRY_VALUE_5,
.retry_delay = SF_CELLULAR_DELAY_500MS
},
/** AT Command set to close Data mode */
[SF_CELLULAR_AT_CMD_INDEX_AT_CGDATA_DEACTIVE] =
{
.p_cmd = (uint8_t *) "+++",
.p_success_resp = (uint8_t *) "OK",
.max_resp_length = SF_CELLULAR_STR_LEN_32,
.retry = SF_CELLULAR_RETRY_VALUE_5,
.retry_delay = SF_CELLULAR_DELAY_500MS
},
/** AT Command set to get the Cellular information */
[SF_CELLULAR_AT_CMD_INDEX_AT_CSQ_GET] =
{
.p_cmd = (uint8_t *) "AT+CSQ\r\n",
.p_success_resp = (uint8_t *) "OK",
.max_resp_length = SF_CELLULAR_STR_LEN_32,
.retry = SF_CELLULAR_RETRY_VALUE_5,
.retry_delay = SF_CELLULAR_DELAY_200MS
},
/** AT Command set to get the Cellular version */
[SF_CELLULAR_AT_CMD_INDEX_AT_VER_GET] =
{
.p_cmd = (uint8_t *) "AT+CGMR\r\n",
.p_success_resp = (uint8_t *) "OK",
.max_resp_length = SF_CELLULAR_STR_LEN_32,
.retry = SF_CELLULAR_RETRY_VALUE_5,
.retry_delay = SF_CELLULAR_DELAY_200MS
},
/** AT Command set to get the Cellular chipset number */
[SF_CELLULAR_AT_CMD_INDEX_AT_CHIPSET_GET] =
{
.p_cmd = (uint8_t *) "AT+CGMM\r\n",
.p_success_resp = (uint8_t *) "OK",
.max_resp_length = SF_CELLULAR_STR_LEN_32,
.retry = SF_CELLULAR_RETRY_VALUE_5,
.retry_delay = SF_CELLULAR_DELAY_200MS
}, /** AT Command set to get the Cellular IMEI number */
[SF_CELLULAR_AT_CMD_INDEX_AT_IMEI_GET] =
{
.p_cmd = (uint8_t *) "AT+CGSN\r\n",
.p_success_resp = (uint8_t *) "OK",
.max_resp_length = SF_CELLULAR_STR_LEN_32,
.retry = SF_CELLULAR_RETRY_VALUE_5,
.retry_delay = SF_CELLULAR_DELAY_200MS
},
/** AT Command set to get the Cellular manufacture name */
[SF_CELLULAR_AT_CMD_INDEX_AT_MANF_NAME_GET] =
{
.p_cmd = (uint8_t *) "AT+CGMI\r\n",
.p_success_resp = (uint8_t *) "OK",
.max_resp_length = SF_CELLULAR_STR_LEN_32,
.retry = SF_CELLULAR_RETRY_VALUE_5,
.retry_delay = SF_CELLULAR_DELAY_200MS
},
/** AT Command set to get the Cellular SIM ID */
[SF_CELLULAR_AT_CMD_INDEX_AT_SIMID_GET] =
{
.p_cmd = (uint8_t *) "AT+ICCID\r\n",
.p_success_resp = (uint8_t *) "\r\n+CCID: ",
.max_resp_length = SF_CELLULAR_STR_LEN_64,
.retry = SF_CELLULAR_RETRY_VALUE_5,
.retry_delay = SF_CELLULAR_DELAY_200MS
},
/** AT Command set to get the Cellular network type */
[SF_CELLULAR_AT_CMD_INDEX_AT_NET_TYPE_STATUS_GET] =
{
.p_cmd = (uint8_t *) "AT#PSNT?\r\n",
.p_success_resp = (uint8_t *) "#PSNT: ",
.max_resp_length = SF_CELLULAR_STR_LEN_32,
.retry = SF_CELLULAR_RETRY_VALUE_5,
.retry_delay = SF_CELLULAR_DELAY_200MS
}, /** AT Command set to get the Cellular network status info */
[SF_CELLULAR_AT_CMD_INDEX_AT_NET_STATUS_GET] =
{
.p_cmd = (uint8_t *) "AT#RFSTS\r\n",
.p_success_resp = (uint8_t *) "#RFSTS",
.max_resp_length = SF_CELLULAR_RFSTS_RSP_LEN,
.retry = SF_CELLULAR_RETRY_VALUE_5,
.retry_delay = SF_CELLULAR_DELAY_200MS
},
/** AT Command set to Lock the SIM */
[SF_CELLULAR_AT_CMD_INDEX_AT_LOCK_SIM] =
{
.p_cmd = (uint8_t *) "AT+CLCK=\"SC\",1,\"",
.p_success_resp = (uint8_t *) "OK",
.max_resp_length = SF_CELLULAR_STR_LEN_32,
.retry = SF_CELLULAR_RETRY_VALUE_5,
.retry_delay = SF_CELLULAR_DELAY_200MS
},
/** AT Command set to Unlock the SIM */
[SF_CELLULAR_AT_CMD_INDEX_AT_UNLOCK_SIM] =
{
.p_cmd = (uint8_t *) "AT+CLCK=\"SC\",0,\"",
.p_success_resp = (uint8_t *) "OK",
.max_resp_length = SF_CELLULAR_STR_LEN_32,
.retry = SF_CELLULAR_RETRY_VALUE_5,
.retry_delay = SF_CELLULAR_DELAY_200MS
}, /** AT Command set to Cellular into Data Mode */
[SF_CELLULAR_AT_CMD_INDEX_AT_ENTER_DATA_MODE] =
{
.p_cmd = (uint8_t *) "ATD*99***",
.p_success_resp = (uint8_t *) "CONNECT ",
.max_resp_length = (uint16_t) sizeof("\r\nCONNECT xxxxxxxxx\r\n"),
.retry = SF_CELLULAR_RETRY_VALUE_5,
.retry_delay = SF_CELLULAR_DELAY_200MS
},
/** AT Command set to exit Data Mode */
[SF_CELLULAR_AT_CMD_INDEX_AT_EXIT_DATA_MODE] =
{
.p_cmd = (uint8_t *) "+++",
.p_success_resp = (uint8_t *) "OK",
.max_resp_length = SF_CELLULAR_STR_LEN_32,
.retry = SF_CELLULAR_RETRY_VALUE_5,
.retry_delay = SF_CELLULAR_DELAY_200MS
},
/** AT Command set to set user name */
[SF_CELLULAR_AT_CMD_INDEX_AT_USERNAME_SET] =
{
.p_cmd = (uint8_t *) "AT#USERID=\"",
.p_success_resp = (uint8_t *) "OK",
.max_resp_length = SF_CELLULAR_STR_LEN_32,
.retry = SF_CELLULAR_RETRY_VALUE_5,
.retry_delay = SF_CELLULAR_DELAY_200MS
},
/** AT Command set to set user password */
[SF_CELLULAR_AT_CMD_INDEX_AT_PASSWORD_SET] =
{
.p_cmd = (uint8_t *) "AT#PASSW=\"",
.p_success_resp = (uint8_t *) "OK",
.max_resp_length = SF_CELLULAR_STR_LEN_32,
.retry = SF_CELLULAR_RETRY_VALUE_5,
.retry_delay = SF_CELLULAR_DELAY_200MS
},
/** AT Command set to set Authentication Type */
[SF_CELLULAR_AT_CMD_INDEX_AT_AUTH_TYPE_SET] =
{
.p_cmd = (uint8_t *) "AT#GAUTH=",
.p_success_resp = (uint8_t *) "OK",
.max_resp_length = SF_CELLULAR_STR_LEN_32,
.retry = SF_CELLULAR_RETRY_VALUE_5,
.retry_delay = SF_CELLULAR_DELAY_200MS
},
/** AT Command set to enable auto time zone update */
[SF_CELLULAR_AT_CMD_INDEX_AT_AUTO_TIME_UPDATE_ENABLE_SET] =
{
.p_cmd = (uint8_t *) "AT+CTZU=1\r\n",
.p_success_resp = (uint8_t *) "OK",
.max_resp_length = SF_CELLULAR_STR_LEN_32,
.retry = SF_CELLULAR_RETRY_VALUE_5,
.retry_delay = SF_CELLULAR_DELAY_200MS
},
/** AT Command set to disable auto time zone update */
[SF_CELLULAR_AT_CMD_INDEX_AT_AUTO_TIME_UPDATE_DISABLE_SET] =
{
.p_cmd = (uint8_t *) "AT+CTZU=0\r\n",
.p_success_resp = (uint8_t *) "OK",
.max_resp_length = SF_CELLULAR_STR_LEN_32,
.retry = SF_CELLULAR_RETRY_VALUE_5,
.retry_delay = SF_CELLULAR_DELAY_200MS
},
/** AT Command set to set default pdp context configuration */
[SF_CELLULAR_AT_CMD_INDEX_AT_EMPTY_APN_SET] =
{
.p_cmd = (uint8_t *) "AT+CGDCONT=1,\"IPV4V6\",\"\",\"0.0.0.0\",0,0\r\n",
.p_success_resp = (uint8_t *) "OK",
.max_resp_length = SF_CELLULAR_STR_LEN_32,
.retry = SF_CELLULAR_RETRY_VALUE_5,
.retry_delay = SF_CELLULAR_DELAY_200MS
},
/** AT Command set to get the IP address */
[SF_CELLULAR_AT_CMD_INDEX_AT_GET_IP_ADDR] =
{
.p_cmd = (uint8_t *) "AT+CGPADDR=",
.p_success_resp = (uint8_t *) "OK",
.max_resp_length = SF_CELLULAR_STR_LEN_128,
.retry = SF_CELLULAR_RETRY_VALUE_5,
.retry_delay = SF_CELLULAR_DELAY_200MS
},
/** AT Command to set auto search web mode **/
[SF_A9500_AT_CMD_INDEX_AT_AUTO_SEARCH_WEB] =
{
.p_cmd = (uint8_t *) "AT+MODODR=5\r\n",
.p_success_resp = (uint8_t *) "OK",
.max_resp_length = SF_CELLULAR_STR_LEN_32,
.retry = SF_CELLULAR_RETRY_VALUE_5,
.retry_delay = SF_CELLULAR_DELAY_200MS
}, /** AT Command to set search web mode **/
[SF_A9500_AT_CMD_INDEX_AT_LTE_SEARCH_WEB] =
{
.p_cmd = (uint8_t *) "AT+LTEOPMOD=2\r\n",
.p_success_resp = (uint8_t *) "OK",
.max_resp_length = SF_CELLULAR_STR_LEN_32,
.retry = SF_CELLULAR_RETRY_VALUE_5,
.retry_delay = SF_CELLULAR_DELAY_200MS }, /** AT command to check sim card **/
[SF_A9500_AT_CMD_INDEX_AT_CPIN] =
{
.p_cmd = (uint8_t *) "AT+CPIN?\r\n",
.p_success_resp = (uint8_t *) "READY",
.max_resp_length = SF_CELLULAR_STR_LEN_32,
.retry = SF_CELLULAR_RETRY_VALUE_5,
.retry_delay = SF_CELLULAR_DELAY_100MS
}, /** AT command set to connect **/
[SF_A9500_AT_CMD_INDEX_AT_CGDCONT] =
{
.p_cmd = (uint8_t *) "AT+CGDCONT=",
.p_success_resp = (uint8_t *) "OK",
.max_resp_length = SF_CELLULAR_STR_LEN_32,
.retry = SF_CELLULAR_RETRY_VALUE_5,
.retry_delay = SF_CELLULAR_DELAY_500MS
}, /** AT command connect to LTE web **/
[SF_A9500_AT_CMD_INDEX_AT_PSRAT] =
{
.p_cmd = (uint8_t *) "AT+PSRAT\r\n",
.p_success_resp = (uint8_t *) "LTE",
.max_resp_length = SF_CELLULAR_STR_LEN_128,
.retry = SF_CELLULAR_RETRY_VALUE_10,
.retry_delay = SF_CELLULAR_DELAY_500MS
}, /** AT command for data connection **/
[SF_A9500_AT_CMD_INDEX_AT_ATD_DATA_CONNECTION]
{ .p_cmd = (uint8_t *) "ATD*99***",
.p_success_resp = (uint8_t *) "CONNECT ",
.max_resp_length = SF_CELLULAR_STR_LEN_128,
.retry = SF_CELLULAR_RETRY_VALUE_5,
.retry_delay = SF_CELLULAR_DELAY_200MS
},
};
Renesas CAT CONFIG的更多相关文章
- 深入详解美团点评CAT跨语言服务监控(七)消息分析器与报表(二)
CrossAnalyzer-调用链分析 在分布式环境中,应用是运行在独立的进程中的,有可能是不同的机器,或者不同的服务器进程.那么他们如果想要彼此联系在一起,形成一个调用链,在Cat中,CrossAn ...
- u-boot 2016.05 添加自己的board 以及config.h
拿到一个uboot 后,我都想添加一个属于自己的board文件以及include/configs/*.h 文件. 如何添加这个些文件,今天来记录一下. 复制一份你所参考的板级文件,比如说board/v ...
- 大众点评CAT开源监控系统剖析
参考文档: 大众点评的实时监控系统分析(一) CAT_source_analyze 透过CAT,来看分布式实时监控系统的设计与实现 深度剖析开源分布式监控CAT [分布式监控CAT] Client端源 ...
- CAT 监控搭建
简介 CAT 是基于 Java 开发的实时应用监控平台,为美团点评提供了全面的实时监控告警服务. 已经在美团点评的基础架构中间件框架(MVC框架,RPC框架,数据库框架,缓存框架等,消息队列,配置系统 ...
- 【转】大众点评CAT开源监控系统剖析
https://www.cnblogs.com/yeahwell/p/cat.html 参考文档: 大众点评的实时监控系统分析(一) CAT_source_analyze 透过CAT,来看分布式实时监 ...
- docker 安装cat
1.下载cat cat 地址:https://github.com/dianping/cat 进入opt 创建cat文件夹 cd /opt/ mkdir cat cd cat 下载cat git cl ...
- elastic search使用总结
1. elasticsearch安装 官方下载地址:https://www.elastic.co/downloads/elasticsearch 解压文件 elasticsearch-2.4.0.zi ...
- ARM学习 之 如何在向内核写入系统调用
本文主要介绍两个例子:1-系统调用打印“hello kernel” 2-驱动开发板的蜂鸣器 使用的是友善之臂(Friendly ARM)的开发板,三星2440 =================== ...
- KVM 介绍(8):使用 libvirt 迁移 QEMU/KVM 虚机和 Nova 虚机 [Nova Libvirt QEMU/KVM Live Migration]
学习 KVM 的系列文章: (1)介绍和安装 (2)CPU 和 内存虚拟化 (3)I/O QEMU 全虚拟化和准虚拟化(Para-virtulizaiton) (4)I/O PCI/PCIe设备直接分 ...
随机推荐
- C# 设计模式巩固 - 单例模式
前言 设计模式的文章很多,所以此文章只是为了巩固一下自己的基础,说的不详细请见谅. 介绍 - 单例模式 官方定义:确保一个类只有一个实例,并提供一个全局访问点. 通俗定义:就是一个类只有一个单个实例. ...
- Sql sever 事务
SQL事务 一.事务概念 事务是一种机制.是一种操作序列,它包含了一组数据库操作命令,这组命令要么全部执行,要么全部不执行.因此事务是一个不可分割的工作逻辑单元.在数据库系统上执行并发操作时事务 ...
- LVS模式三:NAT模式
一.NAT模式 NAT(Network Address Translation,网络地址转换).数据包传输过程就是把客户端发来的数据包的IP头的目的地址,在负载均衡器上换成其中一台RS的IP地 ...
- Linux输入输出管理
一.系统输入输出的理解 运行一个程序时,需要从某个位置读取输入信息,然后CPU处理,最后将输出 显示在屏幕或文件中:其中,某个位置相当于输入设备,屏幕或文件为输出设备. 标准输入:stdin,默认 ...
- ADO Recordset 对象链接
http://baike.baidu.com/link?url=4Xdc46R8M5uj-BbOGaH761N5oDEYlGQJFeR2WbPwx1iQBusAUKU3qbWcHZCMmayatj9n ...
- [置顶]
完美解决Android Studio 运行时出现的警告信息?
今天群友看到他说运行的时候报下面的错,我记得我之前导入百度地图也是遇到过,运行的时候一堆警告信息,然后编译失败等的,特别郁闷,其实后来在网上查了下,原来是很多第三方里面加个混淆,然后你有找不到那些方法 ...
- ss-libev 源码解析local篇(4): server_recv_cb之STAGE_STREAM
继续探索server_recv_cb,我们已经来到了STAGE_STREAM状态.如果在0.05秒的timer来之前客户端就有数据过来,server_recv_cb被调用,此时已经在stream状态就 ...
- PHP 关于empty和isset对于参数的判断结果
<?php class test{} $a1 = null; $a2 = ""; //$a3 = $a4 = 0; $a5 = '0'; $a6 = false; $a7 = ...
- Android学习笔记之Android Studio下创建menu布局文件
1.创建menu文件夹 Android Studio项目中如果没有menu文件夹,在res文件夹右键,new-Android resource directory: 则会弹出下图对话框,在Resour ...
- [译]HIPAA要求的SSL/TLS等级
原文链接:https://luxsci.com/blog/level-ssl-tls-required-hipaa.html 原文发表时间:2015.1.13 本博文仅仅是上述原文的翻译,仅供研究参考 ...