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的更多相关文章

  1. 深入详解美团点评CAT跨语言服务监控(七)消息分析器与报表(二)

    CrossAnalyzer-调用链分析 在分布式环境中,应用是运行在独立的进程中的,有可能是不同的机器,或者不同的服务器进程.那么他们如果想要彼此联系在一起,形成一个调用链,在Cat中,CrossAn ...

  2. u-boot 2016.05 添加自己的board 以及config.h

    拿到一个uboot 后,我都想添加一个属于自己的board文件以及include/configs/*.h 文件. 如何添加这个些文件,今天来记录一下. 复制一份你所参考的板级文件,比如说board/v ...

  3. 大众点评CAT开源监控系统剖析

    参考文档: 大众点评的实时监控系统分析(一) CAT_source_analyze 透过CAT,来看分布式实时监控系统的设计与实现 深度剖析开源分布式监控CAT [分布式监控CAT] Client端源 ...

  4. CAT 监控搭建

    简介 CAT 是基于 Java 开发的实时应用监控平台,为美团点评提供了全面的实时监控告警服务. 已经在美团点评的基础架构中间件框架(MVC框架,RPC框架,数据库框架,缓存框架等,消息队列,配置系统 ...

  5. 【转】大众点评CAT开源监控系统剖析

    https://www.cnblogs.com/yeahwell/p/cat.html 参考文档: 大众点评的实时监控系统分析(一) CAT_source_analyze 透过CAT,来看分布式实时监 ...

  6. docker 安装cat

    1.下载cat cat 地址:https://github.com/dianping/cat 进入opt 创建cat文件夹 cd /opt/ mkdir cat cd cat 下载cat git cl ...

  7. elastic search使用总结

    1. elasticsearch安装 官方下载地址:https://www.elastic.co/downloads/elasticsearch 解压文件 elasticsearch-2.4.0.zi ...

  8. ARM学习 之 如何在向内核写入系统调用

    本文主要介绍两个例子:1-系统调用打印“hello kernel”  2-驱动开发板的蜂鸣器 使用的是友善之臂(Friendly ARM)的开发板,三星2440 =================== ...

  9. 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设备直接分 ...

随机推荐

  1. Ansible 开发调试 之【模块调试】

    本地调试 需要安装jinja2 库 yum -y install python-jinja2 使用官方提供的测试脚本调试 git clone git://github.com/ansible/ansi ...

  2. Reverse a String

    题目: 翻转字符串 先把字符串转化成数组,再借助数组的reverse方法翻转数组顺序,最后把数组转化成字符串. 你的结果必须得是一个字符串 这是一些对你有帮助的资源: Global String Ob ...

  3. idea git tag 管理

    项目release 之后一般都会打一个tag 做记录.本人使用idea管理tag的时候,遇到的问题做一些记录. 1:idea 创建tag idea 创建tag ,我们可以右键项目,然后按照下图操作创建 ...

  4. operator模块常见方法介绍

    operator.concat(a, b) 对于 a.b序列,返回 a + b(列表合并) --------------------------------- operator.countOf(a, ...

  5. LaTex中插入大括号的多行公式

    由于近期要发表论文,不得不恶补LaTex.现在需要插入带大括号的多行公式,效果如下: LaTex编辑如下: \begin{equation} \label{eq6} [x_{i}]=\left\{ \ ...

  6. jquery设置控件位置的方法

    纯JS写法,代码如下: document.getElementById("child").style.left="800px";document.getElem ...

  7. python + sklearn ︱分类效果评估——acc、recall、F1、ROC、回归、距离

    之前提到过聚类之后,聚类质量的评价: 聚类︱python实现 六大 分群质量评估指标(兰德系数.互信息.轮廓系数) R语言相关分类效果评估: R语言︱分类器的性能表现评价(混淆矩阵,准确率,召回率,F ...

  8. 我也说说Emacs吧(5) - 基本编辑操作

    基本编辑操作 进入编辑模式 标准的emacs用户是遇不到这一节的,因为默认就可以编辑.但是spacemacs用户需要先学习一下强大的vi的模式切换功能了. vi的一个重要特点就是命令特别多,所以一旦学 ...

  9. 如何自定义TFS中工作项的字段20141010

    如何自定义TFS中工作项的字段 我们以VS2013为例,TFS也是2013版本的: 1. 安装小插件 需要安装Visual Studio Team Foundation Server 2013 Pow ...

  10. 求二叉树的深度 python

    二叉树有深度和高度两个属性,一个节点的深度指的是从根节点到该节点路径的长度,根节点的深度为1:一个节点的高度指的是从该节点到叶子节点所有路径上包含节点个数的最大值.叶子节点的高度为1,往上节点的高度依 ...