Developer World
Spresense SDK Library v3.2.0-ebc0364
LTE Driver

LTE driver definitions. More...

Files

file  lte.h
 

Classes

struct  lte_version
 
struct  lte_getpin
 
struct  lte_localtime
 
struct  lte_quality
 
struct  lte_neighbor_cell
 
struct  lte_cellinfo
 
struct  lte_edrx_setting
 
struct  lte_psm_timeval
 
struct  lte_psm_setting
 
struct  lte_apn_setting
 
struct  lte_ipaddr
 
struct  lte_pdn
 
struct  lte_reject_cause
 
struct  lte_nw_err_info
 
struct  lte_netinfo
 
struct  lte_error_info
 
struct  lte_ce_setting
 
struct  lte_siminfo
 
struct  lte_ratinfo
 
struct  ltefw_injectdata_s
 

Macros

#define LTE_RESULT_OK   (0)
 
#define LTE_RESULT_ERROR   (1)
 
#define LTE_RESULT_CANCEL   (2)
 
#define LTE_VALID   (true)
 
#define LTE_INVALID   (false)
 
#define LTE_ENABLE   (true)
 
#define LTE_DISABLE   (false)
 
#define LTE_ERR_WAITENTERPIN   (1)
 
#define LTE_ERR_REJECT   (2)
 
#define LTE_ERR_MAXRETRY   (3)
 
#define LTE_ERR_BARRING   (4)
 
#define LTE_ERR_DETACHED   (5)
 
#define LTE_ERR_UNEXPECTED   (255)
 
#define LTE_SESSION_ID_MIN   (1)
 
#define LTE_SESSION_ID_MAX   (5)
 
#define LTE_NETSTAT_NOT_REG_NOT_SEARCHING   (0)
 
#define LTE_NETSTAT_REG_HOME   (1)
 
#define LTE_NETSTAT_NOT_REG_SEARCHING   (2)
 
#define LTE_NETSTAT_REG_DENIED   (3)
 
#define LTE_NETSTAT_UNKNOWN   (4)
 
#define LTE_NETSTAT_REG_ROAMING   (5)
 
#define LTE_NETSTAT_REG_SMS_ONLY_HOME   (6)
 
#define LTE_NETSTAT_REG_SMS_ONLY_ROAMING   (7)
 
#define LTE_NETSTAT_NOT_REG_EMERGENCY   (8)
 
#define LTE_NETSTAT_REG_CSFB_NOT_PREF_HOME   (9)
 
#define LTE_NETSTAT_REG_CSFB_NOT_PREF_ROAMING   (10)
 
#define LTE_APN_LEN   (101)
 
#define LTE_APN_USER_NAME_LEN   (64)
 
#define LTE_APN_PASSWD_LEN   (32)
 
#define LTE_IPTYPE_V4   (0)
 
#define LTE_IPTYPE_V6   (1)
 
#define LTE_IPTYPE_V4V6   (2)
 
#define LTE_IPTYPE_NON   (3)
 
#define LTE_APN_AUTHTYPE_NONE   (0)
 
#define LTE_APN_AUTHTYPE_PAP   (1)
 
#define LTE_APN_AUTHTYPE_CHAP   (2)
 
#define LTE_APN_TYPE_UNKNOWN   (0x01)
 
#define LTE_APN_TYPE_DEFAULT   (0x02)
 
#define LTE_APN_TYPE_MMS   (0x04)
 
#define LTE_APN_TYPE_SUPL   (0x08)
 
#define LTE_APN_TYPE_DUN   (0x10)
 
#define LTE_APN_TYPE_HIPRI   (0x20)
 
#define LTE_APN_TYPE_FOTA   (0x40)
 
#define LTE_APN_TYPE_IMS   (0x80)
 
#define LTE_APN_TYPE_CBS   (0x100)
 
#define LTE_APN_TYPE_IA   (0x200)
 
#define LTE_APN_TYPE_EMERGENCY   (0x400)
 
#define LTE_NETERR_MAXRETRY   (0)
 
#define LTE_NETERR_REJECT   (1)
 
#define LTE_NETERR_NWDTCH   (2)
 
#define LTE_REJECT_CATEGORY_EMM   (0)
 
#define LTE_REJECT_CATEGORY_ESM   (1)
 
#define LTE_VER_BB_PRODUCT_LEN   (32)
 
#define LTE_VER_NP_PACKAGE_LEN   (32)
 
#define LTE_VER_FIRMWARE_LEN   (32)
 
#define LTE_PINSTAT_READY   (0)
 
#define LTE_PINSTAT_SIM_PIN   (1)
 
#define LTE_PINSTAT_SIM_PUK   (2)
 
#define LTE_PINSTAT_PH_SIM_PIN   (3)
 
#define LTE_PINSTAT_PH_FSIM_PIN   (4)
 
#define LTE_PINSTAT_PH_FSIM_PUK   (5)
 
#define LTE_PINSTAT_SIM_PIN2   (6)
 
#define LTE_PINSTAT_SIM_PUK2   (7)
 
#define LTE_PINSTAT_PH_NET_PIN   (8)
 
#define LTE_PINSTAT_PH_NET_PUK   (9)
 
#define LTE_PINSTAT_PH_NETSUB_PIN   (10)
 
#define LTE_PINSTAT_PH_NETSUB_PUK   (11)
 
#define LTE_PINSTAT_PH_SP_PIN   (12)
 
#define LTE_PINSTAT_PH_SP_PUK   (13)
 
#define LTE_PINSTAT_PH_CORP_PIN   (14)
 
#define LTE_PINSTAT_PH_CORP_PUK   (15)
 
#define LTE_TARGET_PIN   (0)
 
#define LTE_TARGET_PIN2   (1)
 
#define LTE_SIMSTAT_REMOVAL   (0)
 
#define LTE_SIMSTAT_INSERTION   (1)
 
#define LTE_SIMSTAT_WAIT_PIN_UNLOCK   (2)
 
#define LTE_SIMSTAT_PERSONAL_FAILED   (3)
 
#define LTE_SIMSTAT_ACTIVATE   (4)
 
#define LTE_SIMSTAT_DEACTIVATE   (5)
 
#define LTE_MCC_DIGIT   (3)
 
#define LTE_MNC_DIGIT_MAX   (3)
 
#define LTE_EDRX_ACTTYPE_WBS1   (0)
 
#define LTE_EDRX_ACTTYPE_NBS1   (1)
 
#define LTE_EDRX_ACTTYPE_ECGSMIOT   (2)
 
#define LTE_EDRX_ACTTYPE_GSM   (3)
 
#define LTE_EDRX_ACTTYPE_IU   (4)
 
#define LTE_EDRX_ACTTYPE_NOTUSE   (5)
 
#define LTE_EDRX_CYC_512   (0)
 
#define LTE_EDRX_CYC_1024   (1)
 
#define LTE_EDRX_CYC_2048   (2)
 
#define LTE_EDRX_CYC_4096   (3)
 
#define LTE_EDRX_CYC_6144   (4)
 
#define LTE_EDRX_CYC_8192   (5)
 
#define LTE_EDRX_CYC_10240   (6)
 
#define LTE_EDRX_CYC_12288   (7)
 
#define LTE_EDRX_CYC_14336   (8)
 
#define LTE_EDRX_CYC_16384   (9)
 
#define LTE_EDRX_CYC_32768   (10)
 
#define LTE_EDRX_CYC_65536   (11)
 
#define LTE_EDRX_CYC_131072   (12)
 
#define LTE_EDRX_CYC_262144   (13)
 
#define LTE_EDRX_CYC_524288   (14)
 
#define LTE_EDRX_CYC_1048576   (15)
 
#define LTE_EDRX_PTW_128   (0)
 
#define LTE_EDRX_PTW_256   (1)
 
#define LTE_EDRX_PTW_384   (2)
 
#define LTE_EDRX_PTW_512   (3)
 
#define LTE_EDRX_PTW_640   (4)
 
#define LTE_EDRX_PTW_768   (5)
 
#define LTE_EDRX_PTW_896   (6)
 
#define LTE_EDRX_PTW_1024   (7)
 
#define LTE_EDRX_PTW_1152   (8)
 
#define LTE_EDRX_PTW_1280   (9)
 
#define LTE_EDRX_PTW_1408   (10)
 
#define LTE_EDRX_PTW_1536   (11)
 
#define LTE_EDRX_PTW_1664   (12)
 
#define LTE_EDRX_PTW_1792   (13)
 
#define LTE_EDRX_PTW_1920   (14)
 
#define LTE_EDRX_PTW_2048   (15)
 
#define LTE_EDRX_PTW_2304   (16)
 
#define LTE_EDRX_PTW_2560   (17)
 
#define LTE_EDRX_PTW_2816   (18)
 
#define LTE_EDRX_PTW_3072   (19)
 
#define LTE_EDRX_PTW_3328   (20)
 
#define LTE_EDRX_PTW_3584   (21)
 
#define LTE_EDRX_PTW_3840   (22)
 
#define LTE_EDRX_PTW_4096   (23)
 
#define LTE_PSM_T3324_UNIT_2SEC   (0)
 
#define LTE_PSM_T3324_UNIT_1MIN   (1)
 
#define LTE_PSM_T3324_UNIT_6MIN   (2)
 
#define LTE_PSM_T3324_UNIT_DEACT   (3)
 
#define LTE_PSM_T3412_UNIT_2SEC   (0)
 
#define LTE_PSM_T3412_UNIT_30SEC   (1)
 
#define LTE_PSM_T3412_UNIT_1MIN   (2)
 
#define LTE_PSM_T3412_UNIT_10MIN   (3)
 
#define LTE_PSM_T3412_UNIT_1HOUR   (4)
 
#define LTE_PSM_T3412_UNIT_10HOUR   (5)
 
#define LTE_PSM_T3412_UNIT_320HOUR   (6)
 
#define LTE_PSM_T3412_UNIT_DEACT   (7)
 
#define LTE_PSM_TIMEVAL_MIN   (0)
 
#define LTE_PSM_TIMEVAL_MAX   (31)
 
#define LTE_IPADDR_MAX_LEN   (40)
 
#define LTE_PDN_SESSIONID_INVALID_ID   (0)
 
#define LTE_PDN_SESSIONID_MIN   (LTE_PDN_SESSIONID_INVALID_ID)
 
#define LTE_PDN_SESSIONID_MAX   (255)
 
#define LTE_PDN_DEACTIVE   (0)
 
#define LTE_PDN_ACTIVE   (1)
 
#define LTE_PDN_IPADDR_MAX_COUNT   (2)
 
#define LTE_IMS_NOT_REGISTERED   (0)
 
#define LTE_IMS_REGISTERED   (1)
 
#define LTE_DATA_DISALLOW   (0)
 
#define LTE_DATA_ALLOW   (1)
 
#define LTE_RESTART_USER_INITIATED   (0)
 
#define LTE_RESTART_MODEM_INITIATED   (1)
 
#define LTE_RESTART_VERSION_ERROR   (2)
 
#define LTE_ERR_INDICATOR_ERRCODE   (0x01)
 
#define LTE_ERR_INDICATOR_ERRNO   (0x02)
 
#define LTE_ERR_INDICATOR_ERRSTR   (0x04)
 
#define LTE_ERROR_STRING_MAX_LEN   (64)
 
#define LTE_SIMINFO_GETOPT_MCCMNC   (1 << 0)
 
#define LTE_SIMINFO_GETOPT_SPN   (1 << 1)
 
#define LTE_SIMINFO_GETOPT_ICCID   (1 << 2)
 
#define LTE_SIMINFO_GETOPT_IMSI   (1 << 3)
 
#define LTE_SIMINFO_GETOPT_GID1   (1 << 4)
 
#define LTE_SIMINFO_GETOPT_GID2   (1 << 5)
 
#define LTE_SIMINFO_SPN_LEN   (16)
 
#define LTE_SIMINFO_ICCID_LEN   (10)
 
#define LTE_SIMINFO_IMSI_LEN   (15)
 
#define LTE_SIMINFO_GID_LEN   (128)
 
#define LTE_PHONENO_LEN   (41)
 
#define LTE_IMEI_LEN   (16)
 
#define LTE_OPERATOR_LEN   (17)
 
#define LTE_IMSI_LEN   (LTE_SIMINFO_IMSI_LEN + 1)
 
#define LTE_CELLINFO_OPT_GCID   (1 << 0)
 
#define LTE_CELLINFO_OPT_AREACODE   (1 << 1)
 
#define LTE_CELLINFO_OPT_SFN   (1 << 2)
 
#define LTE_CELLINFO_OPT_RSRP   (1 << 3)
 
#define LTE_CELLINFO_OPT_RSRQ   (1 << 4)
 
#define LTE_CELLINFO_OPT_TIMEDIFFIDX   (1 << 5)
 
#define LTE_CELLINFO_OPT_TA   (1 << 6)
 
#define LTE_CELLINFO_OPT_NEIGHBOR   (1 << 7)
 
#define LTE_NEIGHBOR_CELL_MAX   (32)
 
#define LTE_RAT_CATM   (2)
 
#define LTE_RAT_NBIOT   (3)
 
#define LTE_RAT_MODE_SINGLE   (0)
 
#define LTE_RAT_MODE_MULTIPLE   (1)
 
#define LTE_RAT_SOURCE_DEFAULT   (0)
 
#define LTE_RAT_SOURCE_HOST   (1)
 
#define LTE_RAT_SOURCE_LWM2M   (2)
 
#define LTE_AT_COMMAND_MAX_LEN   (2048)
 
#define LTEFW_INJECTION_MODE_NEW   (0)
 
#define LTEFW_INJECTION_MODE_APPEND   (1)
 
#define LTEFW_RESULT_OK   (0x0000)
 
#define LTEFW_RESULT_NOT_ENOUGH_INJECTSTORAGE   (-1)
 
#define LTEFW_RESULT_DELTAIMAGE_HDR_CRC_ERROR   (-2)
 
#define LTEFW_RESULT_DELTAIMAGE_HDR_UNSUPPORTED   (-3)
 
#define LTEFW_RESULT_PRECHK_SET_DELTAIMAGE_FAILED   (-4)
 
#define LTEFW_RESULT_DELTAUPDATE_FAILED   (-5)
 
#define LTEFW_RESULT_PRECHK_DELTAIMAGE_MISSING   (-6)
 
#define LTEFW_RESULT_PRECHK_OOM   (-7)
 
#define LTEFW_RESULT_PRECHK_SIZE_ERROR   (-8)
 
#define LTEFW_RESULT_PRECHK_PKG_ERROR   (-9)
 
#define LTEFW_RESULT_PRECHK_CRC_ERROR   (-10)
 
#define LTEFW_RESULT_DELTAUPDATE_NORESULT   (-11)
 
#define LTE_LOG_NAME_LEN   32
 
#define LTE_LOG_LIST_SIZE   3
 

Typedefs

typedef struct lte_version lte_version_t
 
typedef struct lte_getpin lte_getpin_t
 
typedef struct lte_localtime lte_localtime_t
 
typedef struct lte_quality lte_quality_t
 
typedef struct lte_neighbor_cell lte_neighbor_cell_t
 
typedef struct lte_cellinfo lte_cellinfo_t
 
typedef struct lte_edrx_setting lte_edrx_setting_t
 
typedef struct lte_psm_timeval lte_psm_timeval_t
 
typedef struct lte_psm_setting lte_psm_setting_t
 
typedef struct lte_apn_setting lte_apn_setting_t
 
typedef struct lte_ipaddr lte_ipaddr_t
 
typedef struct lte_pdn lte_pdn_t
 
typedef struct lte_reject_cause lte_reject_cause_t
 
typedef struct lte_nw_err_info lte_nw_err_info_t
 
typedef struct lte_netinfo lte_netinfo_t
 
typedef struct lte_error_info lte_errinfo_t
 
typedef struct lte_ce_setting lte_ce_setting_t
 
typedef struct lte_siminfo lte_siminfo_t
 
typedef struct lte_ratinfo lte_ratinfo_t
 
typedef void(* get_ver_cb_t) (uint32_t result, lte_version_t *version)
 
typedef void(* get_phoneno_cb_t) (uint32_t result, uint8_t errcause, char *phoneno)
 
typedef void(* get_imsi_cb_t) (uint32_t result, uint8_t errcause, char *imsi)
 
typedef void(* get_imei_cb_t) (uint32_t result, char *imei)
 
typedef void(* get_pinset_cb_t) (uint32_t result, lte_getpin_t *pinset)
 
typedef void(* set_pinenable_cb_t) (uint32_t result, uint8_t attemptsleft)
 
typedef void(* change_pin_cb_t) (uint32_t result, uint8_t attemptsleft)
 
typedef void(* enter_pin_cb_t) (uint32_t result, uint8_t simstat, uint8_t attemptsleft)
 
typedef void(* get_localtime_cb_t) (uint32_t result, lte_localtime_t *localtime)
 
typedef void(* get_operator_cb_t) (uint32_t result, char *oper)
 
typedef void(* get_edrx_cb_t) (uint32_t result, lte_edrx_setting_t *settings)
 
typedef void(* set_edrx_cb_t) (uint32_t result)
 
typedef void(* get_psm_cb_t) (uint32_t result, lte_psm_setting_t *settings)
 
typedef void(* set_psm_cb_t) (uint32_t result)
 
typedef void(* get_ce_cb_t) (uint32_t result, lte_ce_setting_t *settings)
 
typedef void(* set_ce_cb_t) (uint32_t result)
 
typedef void(* simstat_report_cb_t) (uint32_t simstat)
 
typedef void(* localtime_report_cb_t) (lte_localtime_t *localtime)
 
typedef void(* quality_report_cb_t) (lte_quality_t *quality)
 
typedef void(* cellinfo_report_cb_t) (lte_cellinfo_t *cellinfo)
 
typedef void(* radio_on_cb_t) (uint32_t result)
 
typedef void(* radio_off_cb_t) (uint32_t result)
 
typedef void(* get_netinfo_cb_t) (uint32_t result, lte_netinfo_t *info)
 
typedef void(* get_imscap_cb_t) (uint32_t result, bool imscap)
 
typedef void(* activate_pdn_cb_t) (uint32_t result, lte_pdn_t *pdn)
 
typedef void(* deactivate_pdn_cb_t) (uint32_t result)
 
typedef void(* data_allow_cb_t) (uint32_t result)
 
typedef void(* restart_report_cb_t) (uint32_t reason)
 
typedef void(* netinfo_report_cb_t) (lte_netinfo_t *info)
 
typedef void(* get_siminfo_cb_t) (uint32_t result, lte_siminfo_t *siminfo)
 
typedef void(* get_dynamic_edrx_param_cb_t) (uint32_t result, lte_edrx_setting_t *param)
 
typedef void(* get_dynamic_psm_param_cb_t) (uint32_t result, lte_psm_setting_t *param)
 
typedef void(* get_current_edrx_cb_t) (uint32_t result, lte_edrx_setting_t *settings)
 
typedef void(* get_current_psm_cb_t) (uint32_t result, lte_psm_setting_t *settings)
 
typedef void(* get_quality_cb_t) (uint32_t result, lte_quality_t *quality)
 
typedef void(* context_save_cb_t) (uint8_t *data, int size)
 

Detailed Description

LTE driver definitions.

Macro Definition Documentation

◆ LTE_RESULT_OK

#define LTE_RESULT_OK   (0)

Result code on success

◆ LTE_RESULT_ERROR

#define LTE_RESULT_ERROR   (1)

Result code on failure

◆ LTE_RESULT_CANCEL

#define LTE_RESULT_CANCEL   (2)

Result code on cancel

◆ LTE_VALID

#define LTE_VALID   (true)

Valid

◆ LTE_INVALID

#define LTE_INVALID   (false)

Invalid

◆ LTE_ENABLE

#define LTE_ENABLE   (true)

Enable

◆ LTE_DISABLE

#define LTE_DISABLE   (false)

Disable

◆ LTE_ERR_WAITENTERPIN

#define LTE_ERR_WAITENTERPIN   (1)

Waiting for PIN enter

◆ LTE_ERR_REJECT

#define LTE_ERR_REJECT   (2)

Rejected from the network

◆ LTE_ERR_MAXRETRY

#define LTE_ERR_MAXRETRY   (3)

No response from the network

◆ LTE_ERR_BARRING

#define LTE_ERR_BARRING   (4)

Network barring

◆ LTE_ERR_DETACHED

#define LTE_ERR_DETACHED   (5)

Network detached

◆ LTE_ERR_UNEXPECTED

#define LTE_ERR_UNEXPECTED   (255)

Unexpected cause

◆ LTE_SESSION_ID_MIN

#define LTE_SESSION_ID_MIN   (1)

Minimum value of session ID

◆ LTE_SESSION_ID_MAX

#define LTE_SESSION_ID_MAX   (5)

Maximum value of session ID

◆ LTE_NETSTAT_NOT_REG_NOT_SEARCHING

#define LTE_NETSTAT_NOT_REG_NOT_SEARCHING   (0)

Network status: Not registered, MT is not currently searching a new operator to register to

◆ LTE_NETSTAT_REG_HOME

#define LTE_NETSTAT_REG_HOME   (1)

Network status: Registered, home network

◆ LTE_NETSTAT_NOT_REG_SEARCHING

#define LTE_NETSTAT_NOT_REG_SEARCHING   (2)

Network status: Not registered, but MT is currently searching a new operator to register to

◆ LTE_NETSTAT_REG_DENIED

#define LTE_NETSTAT_REG_DENIED   (3)

Network status: Registration denied

◆ LTE_NETSTAT_UNKNOWN

#define LTE_NETSTAT_UNKNOWN   (4)

Network status: Unknown

◆ LTE_NETSTAT_REG_ROAMING

#define LTE_NETSTAT_REG_ROAMING   (5)

Network status: Registered, roaming

◆ LTE_NETSTAT_REG_SMS_ONLY_HOME

#define LTE_NETSTAT_REG_SMS_ONLY_HOME   (6)

Network status: Registered for "SMS only", home network

◆ LTE_NETSTAT_REG_SMS_ONLY_ROAMING

#define LTE_NETSTAT_REG_SMS_ONLY_ROAMING   (7)

Network status: Registered for "SMS only", roaming

◆ LTE_NETSTAT_NOT_REG_EMERGENCY

#define LTE_NETSTAT_NOT_REG_EMERGENCY   (8)

Network status: Attached for emergency bearer services only

◆ LTE_NETSTAT_REG_CSFB_NOT_PREF_HOME

#define LTE_NETSTAT_REG_CSFB_NOT_PREF_HOME   (9)

Network status: Registered for "CSFB not preferred", home network

◆ LTE_NETSTAT_REG_CSFB_NOT_PREF_ROAMING

#define LTE_NETSTAT_REG_CSFB_NOT_PREF_ROAMING   (10)

Network status: Registered for "CSFB not preferred", roaming

◆ LTE_APN_LEN

#define LTE_APN_LEN   (101)

The maximum string length of the APN name

◆ LTE_APN_USER_NAME_LEN

#define LTE_APN_USER_NAME_LEN   (64)

The maximum string length of the APN user name

◆ LTE_APN_PASSWD_LEN

#define LTE_APN_PASSWD_LEN   (32)

The maximum string length of the APN password

◆ LTE_IPTYPE_V4

#define LTE_IPTYPE_V4   (0)

Internet protocol type: IPv4

◆ LTE_IPTYPE_V6

#define LTE_IPTYPE_V6   (1)

Internet protocol type: IPv6

◆ LTE_IPTYPE_V4V6

#define LTE_IPTYPE_V4V6   (2)

Internet protocol type: IPv4/v6

◆ LTE_IPTYPE_NON

#define LTE_IPTYPE_NON   (3)

Internet protocol type: Non-IP Data Delivery

◆ LTE_APN_AUTHTYPE_NONE

#define LTE_APN_AUTHTYPE_NONE   (0)

PPP authentication type: NONE

◆ LTE_APN_AUTHTYPE_PAP

#define LTE_APN_AUTHTYPE_PAP   (1)

PPP authentication type: PAP

◆ LTE_APN_AUTHTYPE_CHAP

#define LTE_APN_AUTHTYPE_CHAP   (2)

PPP authentication type: CHAP

◆ LTE_APN_TYPE_UNKNOWN

#define LTE_APN_TYPE_UNKNOWN   (0x01)

APN type: Unknown

◆ LTE_APN_TYPE_DEFAULT

#define LTE_APN_TYPE_DEFAULT   (0x02)

APN type: Default data traffic

◆ LTE_APN_TYPE_MMS

#define LTE_APN_TYPE_MMS   (0x04)

APN type: MMS traffic(Multimedia Messaging Service)

◆ LTE_APN_TYPE_SUPL

#define LTE_APN_TYPE_SUPL   (0x08)

APN type: SUPL assisted GPS

◆ LTE_APN_TYPE_DUN

#define LTE_APN_TYPE_DUN   (0x10)

APN type: DUN traffic(Dial Up Networking bridge )

◆ LTE_APN_TYPE_HIPRI

#define LTE_APN_TYPE_HIPRI   (0x20)

APN type: HiPri traffic(High Priority Mobile data)

◆ LTE_APN_TYPE_FOTA

#define LTE_APN_TYPE_FOTA   (0x40)

APN type: FOTA(Firmware On The Air)

◆ LTE_APN_TYPE_IMS

#define LTE_APN_TYPE_IMS   (0x80)

APN type: IMS(IP Multimedia Subsystem)

◆ LTE_APN_TYPE_CBS

#define LTE_APN_TYPE_CBS   (0x100)

APN type: CBS(Carrier Branded Services)

◆ LTE_APN_TYPE_IA

#define LTE_APN_TYPE_IA   (0x200)

APN type: IA(Initial Attach APN)

◆ LTE_APN_TYPE_EMERGENCY

#define LTE_APN_TYPE_EMERGENCY   (0x400)

APN type: Emergency PDN

◆ LTE_NETERR_MAXRETRY

#define LTE_NETERR_MAXRETRY   (0)

Network error type: MAX_RETRY

◆ LTE_NETERR_REJECT

#define LTE_NETERR_REJECT   (1)

Network error type: REJECT

◆ LTE_NETERR_NWDTCH

#define LTE_NETERR_NWDTCH   (2)

Network error type: Network Detach

◆ LTE_REJECT_CATEGORY_EMM

#define LTE_REJECT_CATEGORY_EMM   (0)

Network reject category: NAS-EMM

◆ LTE_REJECT_CATEGORY_ESM

#define LTE_REJECT_CATEGORY_ESM   (1)

Network reject category: NAS-ESM

◆ LTE_VER_BB_PRODUCT_LEN

#define LTE_VER_BB_PRODUCT_LEN   (32)

Length of character string for BB product

◆ LTE_VER_NP_PACKAGE_LEN

#define LTE_VER_NP_PACKAGE_LEN   (32)

Length of character string for NP package

◆ LTE_VER_FIRMWARE_LEN

#define LTE_VER_FIRMWARE_LEN   (32)

Length of character string for firmware version

◆ LTE_PINSTAT_READY

#define LTE_PINSTAT_READY   (0)

PIN status: Not pending for any password

◆ LTE_PINSTAT_SIM_PIN

#define LTE_PINSTAT_SIM_PIN   (1)

PIN status: Waiting SIM PIN to be given

◆ LTE_PINSTAT_SIM_PUK

#define LTE_PINSTAT_SIM_PUK   (2)

PIN status: Waiting SIM PUK to be given

◆ LTE_PINSTAT_PH_SIM_PIN

#define LTE_PINSTAT_PH_SIM_PIN   (3)

PIN status: Waiting phone to SIM card password to be given

◆ LTE_PINSTAT_PH_FSIM_PIN

#define LTE_PINSTAT_PH_FSIM_PIN   (4)

PIN status: Waiting phone-to-very first SIM card password to be given

◆ LTE_PINSTAT_PH_FSIM_PUK

#define LTE_PINSTAT_PH_FSIM_PUK   (5)

PIN status: Waiting phone-to-very first SIM card unblocking password to be given

◆ LTE_PINSTAT_SIM_PIN2

#define LTE_PINSTAT_SIM_PIN2   (6)

PIN status: Waiting SIM PIN2 to be given

◆ LTE_PINSTAT_SIM_PUK2

#define LTE_PINSTAT_SIM_PUK2   (7)

PIN status: Waiting SIM PUK2 to be given

◆ LTE_PINSTAT_PH_NET_PIN

#define LTE_PINSTAT_PH_NET_PIN   (8)

PIN status: Waiting network personalization password to be given

◆ LTE_PINSTAT_PH_NET_PUK

#define LTE_PINSTAT_PH_NET_PUK   (9)

PIN status: Waiting network personalization unblocking password to be given

◆ LTE_PINSTAT_PH_NETSUB_PIN

#define LTE_PINSTAT_PH_NETSUB_PIN   (10)

PIN status: Waiting network subset personalization password to be given

◆ LTE_PINSTAT_PH_NETSUB_PUK

#define LTE_PINSTAT_PH_NETSUB_PUK   (11)

PIN status: Waiting network subset personalization unblocking password to be given

◆ LTE_PINSTAT_PH_SP_PIN

#define LTE_PINSTAT_PH_SP_PIN   (12)

PIN status: Waiting service provider personalization password to be given

◆ LTE_PINSTAT_PH_SP_PUK

#define LTE_PINSTAT_PH_SP_PUK   (13)

PIN status: Waiting service provider personalization unblocking password to be given

◆ LTE_PINSTAT_PH_CORP_PIN

#define LTE_PINSTAT_PH_CORP_PIN   (14)

PIN status: Waiting corporate personalization password to be given

◆ LTE_PINSTAT_PH_CORP_PUK

#define LTE_PINSTAT_PH_CORP_PUK   (15)

PIN status: Waiting corporate personalization unblocking password to be given

◆ LTE_TARGET_PIN

#define LTE_TARGET_PIN   (0)

Select of PIN change

◆ LTE_TARGET_PIN2

#define LTE_TARGET_PIN2   (1)

Select of PIN2 change

◆ LTE_SIMSTAT_REMOVAL

#define LTE_SIMSTAT_REMOVAL   (0)

SIM status: SIM removal signal detected

◆ LTE_SIMSTAT_INSERTION

#define LTE_SIMSTAT_INSERTION   (1)

SIM status: SIM insertion signal detected

◆ LTE_SIMSTAT_WAIT_PIN_UNLOCK

#define LTE_SIMSTAT_WAIT_PIN_UNLOCK   (2)

SIM status: SIM init passed, wait for PIN unlock

◆ LTE_SIMSTAT_PERSONAL_FAILED

#define LTE_SIMSTAT_PERSONAL_FAILED   (3)

SIM status: Personalization failed, wait for run-time depersonalization

◆ LTE_SIMSTAT_ACTIVATE

#define LTE_SIMSTAT_ACTIVATE   (4)

SIM status: Activation completed. Event is sent always at any SIM activation completion

◆ LTE_SIMSTAT_DEACTIVATE

#define LTE_SIMSTAT_DEACTIVATE   (5)

SIM status: SIM is deactivated

◆ LTE_MCC_DIGIT

#define LTE_MCC_DIGIT   (3)

Digit number of Mobile Country Code

◆ LTE_MNC_DIGIT_MAX

#define LTE_MNC_DIGIT_MAX   (3)

Max digit number of Mobile Network Code

◆ LTE_EDRX_ACTTYPE_WBS1

#define LTE_EDRX_ACTTYPE_WBS1   (0)

E-UTRAN (WB-S1 mode)

◆ LTE_EDRX_ACTTYPE_NBS1

#define LTE_EDRX_ACTTYPE_NBS1   (1)

E-UTRAN (NB-S1 mode)

◆ LTE_EDRX_ACTTYPE_ECGSMIOT

#define LTE_EDRX_ACTTYPE_ECGSMIOT   (2)

EC-GSM-IoT (A/Gb mode)

◆ LTE_EDRX_ACTTYPE_GSM

#define LTE_EDRX_ACTTYPE_GSM   (3)

GSM (A/Gb mode)

◆ LTE_EDRX_ACTTYPE_IU

#define LTE_EDRX_ACTTYPE_IU   (4)

UTRAN (Iu mode)

◆ LTE_EDRX_ACTTYPE_NOTUSE

#define LTE_EDRX_ACTTYPE_NOTUSE   (5)

eDRX is not running

◆ LTE_EDRX_CYC_512

#define LTE_EDRX_CYC_512   (0)

eDRX cycle: 5.12 sec

◆ LTE_EDRX_CYC_1024

#define LTE_EDRX_CYC_1024   (1)

eDRX cycle: 10.24 sec

◆ LTE_EDRX_CYC_2048

#define LTE_EDRX_CYC_2048   (2)

eDRX cycle: 20.48 sec

◆ LTE_EDRX_CYC_4096

#define LTE_EDRX_CYC_4096   (3)

eDRX cycle: 40.96 sec

◆ LTE_EDRX_CYC_6144

#define LTE_EDRX_CYC_6144   (4)

eDRX cycle: 61.44 sec

◆ LTE_EDRX_CYC_8192

#define LTE_EDRX_CYC_8192   (5)

eDRX cycle: 81.92 sec

◆ LTE_EDRX_CYC_10240

#define LTE_EDRX_CYC_10240   (6)

eDRX cycle: 102.40 sec

◆ LTE_EDRX_CYC_12288

#define LTE_EDRX_CYC_12288   (7)

eDRX cycle: 122.88 sec

◆ LTE_EDRX_CYC_14336

#define LTE_EDRX_CYC_14336   (8)

eDRX cycle: 143.36 sec

◆ LTE_EDRX_CYC_16384

#define LTE_EDRX_CYC_16384   (9)

eDRX cycle: 163.84 sec

◆ LTE_EDRX_CYC_32768

#define LTE_EDRX_CYC_32768   (10)

eDRX cycle: 327.68 sec

◆ LTE_EDRX_CYC_65536

#define LTE_EDRX_CYC_65536   (11)

eDRX cycle: 655.36 sec

◆ LTE_EDRX_CYC_131072

#define LTE_EDRX_CYC_131072   (12)

eDRX cycle: 1310.72 sec

◆ LTE_EDRX_CYC_262144

#define LTE_EDRX_CYC_262144   (13)

eDRX cycle: 2621.44 sec

◆ LTE_EDRX_CYC_524288

#define LTE_EDRX_CYC_524288   (14)

eDRX cycle: 5242.88 sec

◆ LTE_EDRX_CYC_1048576

#define LTE_EDRX_CYC_1048576   (15)

eDRX cycle: 10485.76 sec

◆ LTE_EDRX_PTW_128

#define LTE_EDRX_PTW_128   (0)

Paging time window: 1.28 sec

◆ LTE_EDRX_PTW_256

#define LTE_EDRX_PTW_256   (1)

Paging time window: 2.56 sec

◆ LTE_EDRX_PTW_384

#define LTE_EDRX_PTW_384   (2)

Paging time window: 3.84 sec

◆ LTE_EDRX_PTW_512

#define LTE_EDRX_PTW_512   (3)

Paging time window: 5.12 sec

◆ LTE_EDRX_PTW_640

#define LTE_EDRX_PTW_640   (4)

Paging time window: 6.40 sec

◆ LTE_EDRX_PTW_768

#define LTE_EDRX_PTW_768   (5)

Paging time window: 7.68 sec

◆ LTE_EDRX_PTW_896

#define LTE_EDRX_PTW_896   (6)

Paging time window: 8.96 sec

◆ LTE_EDRX_PTW_1024

#define LTE_EDRX_PTW_1024   (7)

Paging time window: 10.24 sec

◆ LTE_EDRX_PTW_1152

#define LTE_EDRX_PTW_1152   (8)

Paging time window: 11.52 sec

◆ LTE_EDRX_PTW_1280

#define LTE_EDRX_PTW_1280   (9)

Paging time window: 12.80 sec

◆ LTE_EDRX_PTW_1408

#define LTE_EDRX_PTW_1408   (10)

Paging time window: 14.08 sec

◆ LTE_EDRX_PTW_1536

#define LTE_EDRX_PTW_1536   (11)

Paging time window: 15.36 sec

◆ LTE_EDRX_PTW_1664

#define LTE_EDRX_PTW_1664   (12)

Paging time window: 16.64 sec

◆ LTE_EDRX_PTW_1792

#define LTE_EDRX_PTW_1792   (13)

Paging time window: 17.92 sec

◆ LTE_EDRX_PTW_1920

#define LTE_EDRX_PTW_1920   (14)

Paging time window: 19.20 sec

◆ LTE_EDRX_PTW_2048

#define LTE_EDRX_PTW_2048   (15)

Paging time window: 20.48 sec

◆ LTE_EDRX_PTW_2304

#define LTE_EDRX_PTW_2304   (16)

Paging time window: 23.04 sec

◆ LTE_EDRX_PTW_2560

#define LTE_EDRX_PTW_2560   (17)

Paging time window: 25.60 sec

◆ LTE_EDRX_PTW_2816

#define LTE_EDRX_PTW_2816   (18)

Paging time window: 28.16 sec

◆ LTE_EDRX_PTW_3072

#define LTE_EDRX_PTW_3072   (19)

Paging time window: 30.72 sec

◆ LTE_EDRX_PTW_3328

#define LTE_EDRX_PTW_3328   (20)

Paging time window: 33.28 sec

◆ LTE_EDRX_PTW_3584

#define LTE_EDRX_PTW_3584   (21)

Paging time window: 35.84 sec

◆ LTE_EDRX_PTW_3840

#define LTE_EDRX_PTW_3840   (22)

Paging time window: 38.40 sec

◆ LTE_EDRX_PTW_4096

#define LTE_EDRX_PTW_4096   (23)

Paging time window: 40.96 sec

◆ LTE_PSM_T3324_UNIT_2SEC

#define LTE_PSM_T3324_UNIT_2SEC   (0)

Unit of request active time(T3324): 2 sec

◆ LTE_PSM_T3324_UNIT_1MIN

#define LTE_PSM_T3324_UNIT_1MIN   (1)

Unit of request active time(T3324): 1 min

◆ LTE_PSM_T3324_UNIT_6MIN

#define LTE_PSM_T3324_UNIT_6MIN   (2)

Unit of request active time(T3324): 6 min

◆ LTE_PSM_T3324_UNIT_DEACT

#define LTE_PSM_T3324_UNIT_DEACT   (3)

Unit of request active time(T3324): The value indicates that the timer is deactivated.

◆ LTE_PSM_T3412_UNIT_2SEC

#define LTE_PSM_T3412_UNIT_2SEC   (0)

Unit of extended periodic TAU time(T3412): 2 sec

◆ LTE_PSM_T3412_UNIT_30SEC

#define LTE_PSM_T3412_UNIT_30SEC   (1)

Unit of extended periodic TAU time(T3412): 30 sec

◆ LTE_PSM_T3412_UNIT_1MIN

#define LTE_PSM_T3412_UNIT_1MIN   (2)

Unit of extended periodic TAU time(T3412): 1 min

◆ LTE_PSM_T3412_UNIT_10MIN

#define LTE_PSM_T3412_UNIT_10MIN   (3)

Unit of extended periodic TAU time(T3412): 10 min

◆ LTE_PSM_T3412_UNIT_1HOUR

#define LTE_PSM_T3412_UNIT_1HOUR   (4)

Unit of extended periodic TAU time(T3412): 1 hour

◆ LTE_PSM_T3412_UNIT_10HOUR

#define LTE_PSM_T3412_UNIT_10HOUR   (5)

Unit of extended periodic TAU time(T3412): 10 hour

◆ LTE_PSM_T3412_UNIT_320HOUR

#define LTE_PSM_T3412_UNIT_320HOUR   (6)

Unit of extended periodic TAU time(T3412): 320 hour

◆ LTE_PSM_T3412_UNIT_DEACT

#define LTE_PSM_T3412_UNIT_DEACT   (7)

Unit of extended periodic TAU time(T3412): The value indicates that the timer is deactivated.

◆ LTE_PSM_TIMEVAL_MIN

#define LTE_PSM_TIMEVAL_MIN   (0)

The minimum timer value used by PSM related timers

◆ LTE_PSM_TIMEVAL_MAX

#define LTE_PSM_TIMEVAL_MAX   (31)

The maximum timer value used by PSM related timers

◆ LTE_IPADDR_MAX_LEN

#define LTE_IPADDR_MAX_LEN   (40)

Maximum length of the IP address

◆ LTE_PDN_SESSIONID_INVALID_ID

#define LTE_PDN_SESSIONID_INVALID_ID   (0)

Invalid Session ID

◆ LTE_PDN_SESSIONID_MIN

#define LTE_PDN_SESSIONID_MIN   (LTE_PDN_SESSIONID_INVALID_ID)

Minimum value of Session ID

◆ LTE_PDN_SESSIONID_MAX

#define LTE_PDN_SESSIONID_MAX   (255)

Maximum value of Session ID

◆ LTE_PDN_DEACTIVE

#define LTE_PDN_DEACTIVE   (0)

PDN status: Not active

◆ LTE_PDN_ACTIVE

#define LTE_PDN_ACTIVE   (1)

PDN status: Active

◆ LTE_PDN_IPADDR_MAX_COUNT

#define LTE_PDN_IPADDR_MAX_COUNT   (2)

Maximum number of IP addresses

◆ LTE_IMS_NOT_REGISTERED

#define LTE_IMS_NOT_REGISTERED   (0)

IMS status: Not registered

◆ LTE_IMS_REGISTERED

#define LTE_IMS_REGISTERED   (1)

IMS status: Registered

◆ LTE_DATA_DISALLOW

#define LTE_DATA_DISALLOW   (0)

Data communication: Not allow

◆ LTE_DATA_ALLOW

#define LTE_DATA_ALLOW   (1)

Data communication: Allow

◆ LTE_RESTART_USER_INITIATED

#define LTE_RESTART_USER_INITIATED   (0)

Modem restart cause: User initiated

◆ LTE_RESTART_MODEM_INITIATED

#define LTE_RESTART_MODEM_INITIATED   (1)

Modem restart cause: Modem initiated

◆ LTE_RESTART_VERSION_ERROR

#define LTE_RESTART_VERSION_ERROR   (2)

Modem restart cause: Modem firmware version error

◆ LTE_ERR_INDICATOR_ERRCODE

#define LTE_ERR_INDICATOR_ERRCODE   (0x01)

Error indicator for error code

◆ LTE_ERR_INDICATOR_ERRNO

#define LTE_ERR_INDICATOR_ERRNO   (0x02)

Error indicator for error number

◆ LTE_ERR_INDICATOR_ERRSTR

#define LTE_ERR_INDICATOR_ERRSTR   (0x04)

Error indicator for error string

◆ LTE_ERROR_STRING_MAX_LEN

#define LTE_ERROR_STRING_MAX_LEN   (64)

Maximum length of the error string

◆ LTE_SIMINFO_GETOPT_MCCMNC

#define LTE_SIMINFO_GETOPT_MCCMNC   (1 << 0)

Indicates to get for Mobile Country Code/Mobile Network Code of SIM

◆ LTE_SIMINFO_GETOPT_SPN

#define LTE_SIMINFO_GETOPT_SPN   (1 << 1)

Indicates to get for SPN of SIM

◆ LTE_SIMINFO_GETOPT_ICCID

#define LTE_SIMINFO_GETOPT_ICCID   (1 << 2)

Indicates to get for ICCID of SIM

◆ LTE_SIMINFO_GETOPT_IMSI

#define LTE_SIMINFO_GETOPT_IMSI   (1 << 3)

Indicates to get for IMSI of SIM

◆ LTE_SIMINFO_GETOPT_GID1

#define LTE_SIMINFO_GETOPT_GID1   (1 << 4)

Indicates to get for GID1(Group Identifier Level 1) of SIM

◆ LTE_SIMINFO_GETOPT_GID2

#define LTE_SIMINFO_GETOPT_GID2   (1 << 5)

Indicates to get for GID2(Group Identifier Level 2) of SIM

◆ LTE_SIMINFO_SPN_LEN

#define LTE_SIMINFO_SPN_LEN   (16)

Maximum length of SPN

◆ LTE_SIMINFO_ICCID_LEN

#define LTE_SIMINFO_ICCID_LEN   (10)

Maximum length of ICCCID

◆ LTE_SIMINFO_IMSI_LEN

#define LTE_SIMINFO_IMSI_LEN   (15)

Maximum length of IMSI

◆ LTE_SIMINFO_GID_LEN

#define LTE_SIMINFO_GID_LEN   (128)

Maximum length of GID

◆ LTE_PHONENO_LEN

#define LTE_PHONENO_LEN   (41)

Maximum length of phone number that includes a null terminater

◆ LTE_IMEI_LEN

#define LTE_IMEI_LEN   (16)

Maximum length of IMEI that includes a null terminater

◆ LTE_OPERATOR_LEN

#define LTE_OPERATOR_LEN   (17)

Maximum length of network operator that includes a null terminater

◆ LTE_IMSI_LEN

#define LTE_IMSI_LEN   (LTE_SIMINFO_IMSI_LEN + 1)

Maximum length of IMSI that includes a null terminater

◆ LTE_CELLINFO_OPT_GCID

#define LTE_CELLINFO_OPT_GCID   (1 << 0)

Indicates that the global cell ID can be referenced

◆ LTE_CELLINFO_OPT_AREACODE

#define LTE_CELLINFO_OPT_AREACODE   (1 << 1)

Indicates that the tracking area code can be referenced

◆ LTE_CELLINFO_OPT_SFN

#define LTE_CELLINFO_OPT_SFN   (1 << 2)

Indicates that the sub frame number can be referenced

◆ LTE_CELLINFO_OPT_RSRP

#define LTE_CELLINFO_OPT_RSRP   (1 << 3)

Indicates that the RSRP can be referenced

◆ LTE_CELLINFO_OPT_RSRQ

#define LTE_CELLINFO_OPT_RSRQ   (1 << 4)

Indicates that the RSRQ can be referenced

◆ LTE_CELLINFO_OPT_TIMEDIFFIDX

#define LTE_CELLINFO_OPT_TIMEDIFFIDX   (1 << 5)

Indicates that the time difference index can be referenced

◆ LTE_CELLINFO_OPT_TA

#define LTE_CELLINFO_OPT_TA   (1 << 6)

Indicates that the timing advance can be referenced

◆ LTE_CELLINFO_OPT_NEIGHBOR

#define LTE_CELLINFO_OPT_NEIGHBOR   (1 << 7)

Indicates that the neighbor cell can be referenced

◆ LTE_NEIGHBOR_CELL_MAX

#define LTE_NEIGHBOR_CELL_MAX   (32)

Maximum number of neighbor cells

◆ LTE_RAT_CATM

#define LTE_RAT_CATM   (2)

RAT type: Cat-M

◆ LTE_RAT_NBIOT

#define LTE_RAT_NBIOT   (3)

RAT type: NB-IoT

◆ LTE_RAT_MODE_SINGLE

#define LTE_RAT_MODE_SINGLE   (0)

Modem only supports single RAT

◆ LTE_RAT_MODE_MULTIPLE

#define LTE_RAT_MODE_MULTIPLE   (1)

Modem supports multiple RAT

◆ LTE_RAT_SOURCE_DEFAULT

#define LTE_RAT_SOURCE_DEFAULT   (0)

RAT has not changed since the last modem boot.

◆ LTE_RAT_SOURCE_HOST

#define LTE_RAT_SOURCE_HOST   (1)

The current RAT was determined by host.

◆ LTE_RAT_SOURCE_LWM2M

#define LTE_RAT_SOURCE_LWM2M   (2)

The current RAT was determined by LWM2M.

◆ LTE_AT_COMMAND_MAX_LEN

#define LTE_AT_COMMAND_MAX_LEN   (2048)

Maximum length of AT command

◆ LTEFW_INJECTION_MODE_NEW

#define LTEFW_INJECTION_MODE_NEW   (0)

Inject delta image from the beginning.

◆ LTEFW_INJECTION_MODE_APPEND

#define LTEFW_INJECTION_MODE_APPEND   (1)

Inject delta image from the continuation.

◆ LTEFW_RESULT_OK

#define LTEFW_RESULT_OK   (0x0000)

LTEFW result code OK

◆ LTEFW_RESULT_NOT_ENOUGH_INJECTSTORAGE

#define LTEFW_RESULT_NOT_ENOUGH_INJECTSTORAGE   (-1)

Not enough space for storage for injection

◆ LTEFW_RESULT_DELTAIMAGE_HDR_CRC_ERROR

#define LTEFW_RESULT_DELTAIMAGE_HDR_CRC_ERROR   (-2)

CRC check error in header part of delta image

◆ LTEFW_RESULT_DELTAIMAGE_HDR_UNSUPPORTED

#define LTEFW_RESULT_DELTAIMAGE_HDR_UNSUPPORTED   (-3)

Unsupported header type of delta image

◆ LTEFW_RESULT_PRECHK_SET_DELTAIMAGE_FAILED

#define LTEFW_RESULT_PRECHK_SET_DELTAIMAGE_FAILED   (-4)

Failed to set delta image

◆ LTEFW_RESULT_DELTAUPDATE_FAILED

#define LTEFW_RESULT_DELTAUPDATE_FAILED   (-5)

Failed to delta update

◆ LTEFW_RESULT_PRECHK_DELTAIMAGE_MISSING

#define LTEFW_RESULT_PRECHK_DELTAIMAGE_MISSING   (-6)

Not found delta image

◆ LTEFW_RESULT_PRECHK_OOM

#define LTEFW_RESULT_PRECHK_OOM   (-7)

Out of memory that prepare for update

◆ LTEFW_RESULT_PRECHK_SIZE_ERROR

#define LTEFW_RESULT_PRECHK_SIZE_ERROR   (-8)

Invalid size of delta image

◆ LTEFW_RESULT_PRECHK_PKG_ERROR

#define LTEFW_RESULT_PRECHK_PKG_ERROR   (-9)

Wrong delta image package

◆ LTEFW_RESULT_PRECHK_CRC_ERROR

#define LTEFW_RESULT_PRECHK_CRC_ERROR   (-10)

CRC check error in delta image

◆ LTEFW_RESULT_DELTAUPDATE_NORESULT

#define LTEFW_RESULT_DELTAUPDATE_NORESULT   (-11)

There is no update result

Typedef Documentation

◆ lte_version_t

◆ lte_getpin_t

◆ lte_localtime_t

◆ lte_quality_t

◆ lte_neighbor_cell_t

◆ lte_cellinfo_t

◆ lte_edrx_setting_t

◆ lte_psm_timeval_t

◆ lte_psm_setting_t

◆ lte_apn_setting_t

◆ lte_ipaddr_t

◆ lte_pdn_t

◆ lte_reject_cause_t

◆ lte_nw_err_info_t

◆ lte_netinfo_t

◆ lte_errinfo_t

◆ lte_ce_setting_t

◆ lte_siminfo_t

◆ lte_ratinfo_t

◆ get_ver_cb_t

typedef void(* get_ver_cb_t) (uint32_t result, lte_version_t *version)

Definition of callback function.

Since lte_get_version() is an asynchronous API, the result is notified by this function.

Parameters
[in]result: The result of lte_get_version(). As below value stored.
[in]version: The version information of the modem. See lte_version_t

◆ get_phoneno_cb_t

typedef void(* get_phoneno_cb_t) (uint32_t result, uint8_t errcause, char *phoneno)

Definition of callback function.

Since lte_get_phoneno() is an asynchronous API, the result is notified by this function.

Parameters
[in]result: The result of lte_get_phoneno(). As below value stored.
[in]errcause: Error cause. It is set only if the result is not successful. As below value stored.
[in]phoneno: A character string indicating phone number. It is terminated with '\0'

◆ get_imsi_cb_t

typedef void(* get_imsi_cb_t) (uint32_t result, uint8_t errcause, char *imsi)

Definition of callback function.

Since lte_get_imsi() is an asynchronous API, the result is notified by this function.

Parameters
[in]result: The result of lte_get_imsi(). As below value stored.
[in]errcause: Error cause. It is set only if the result is not successful. As below value stored.
[in]imsi: A character string indicating IMSI. It is terminated with '\0'

◆ get_imei_cb_t

typedef void(* get_imei_cb_t) (uint32_t result, char *imei)

Definition of callback function.

Since lte_get_imei() is an asynchronous API, the result is notified by this function.

Parameters
[in]result: The result of lte_get_imei(). As below value stored.
[in]imei: A character string indicating IMEI. It is terminated with '\0'

◆ get_pinset_cb_t

typedef void(* get_pinset_cb_t) (uint32_t result, lte_getpin_t *pinset)

Definition of callback function.

Since lte_get_pinset() is an asynchronous API, the result is notified by this function.

Parameters
[in]result: The result of lte_get_pinset(). As below value stored.
[in]pinset: PIN settings information. See lte_getpin_t

◆ set_pinenable_cb_t

typedef void(* set_pinenable_cb_t) (uint32_t result, uint8_t attemptsleft)

Definition of callback function.

Since lte_set_pinenable() is an asynchronous API, the result is notified by this function.

Parameters
[in]result: The result of lte_set_pinenable(). As below value stored.
[in]attemptsleft: Number of attempts left. It is set only if the result is not successful.

◆ change_pin_cb_t

typedef void(* change_pin_cb_t) (uint32_t result, uint8_t attemptsleft)

Definition of callback function.

Since lte_change_pin() is an asynchronous API, the result is notified by this function.

Parameters
[in]result: The result of lte_change_pin(). As below value stored.
[in]attemptsleft: Number of attempts left. It is set only if the result is not successful.

◆ enter_pin_cb_t

typedef void(* enter_pin_cb_t) (uint32_t result, uint8_t simstat, uint8_t attemptsleft)

Definition of callback function.

Since lte_enter_pin() is an asynchronous API, the result is notified by this function.

Parameters
[in]result: The result of lte_enter_pin(). As below value stored.
[in]simstat: State after PIN enter. As below value stored.
[in]attemptsleft: Number of attempts left. It is set only if the result is not successful. If simstat is other than PIN, PUK, PIN2, PUK2, set the number of PIN.

◆ get_localtime_cb_t

typedef void(* get_localtime_cb_t) (uint32_t result, lte_localtime_t *localtime)

Definition of callback function.

Since lte_get_localtime() is an asynchronous API, the result is notified by this function.

Parameters
[in]result: The result of lte_get_localtime(). As below value stored.
[in]localtime: Local time. See lte_localtime_t

◆ get_operator_cb_t

typedef void(* get_operator_cb_t) (uint32_t result, char *oper)

Definition of callback function.

Since lte_get_operator() is an asynchronous API, the result is notified by this function.

Parameters
[in]result: The result of lte_get_operator(). As below value stored.
[in]oper: A character string indicating network operator. It is terminated with '\0' If it is not connected, the first character is '\0'.

◆ get_edrx_cb_t

typedef void(* get_edrx_cb_t) (uint32_t result, lte_edrx_setting_t *settings)

Definition of callback function.

Since lte_get_edrx() is an asynchronous API, the result is notified by this function.

Parameters
[in]result: The result of lte_get_edrx(). As below value stored.
[in]settings: eDRX settings. See lte_edrx_setting_t

◆ set_edrx_cb_t

typedef void(* set_edrx_cb_t) (uint32_t result)

Definition of callback function.

Since lte_set_edrx() is an asynchronous API, the result is notified by this function.

Parameters
[in]result: The result of lte_set_edrx(). As below value stored.

◆ get_psm_cb_t

typedef void(* get_psm_cb_t) (uint32_t result, lte_psm_setting_t *settings)

Definition of callback function.

Since lte_get_psm() is an asynchronous API, the result is notified by this function.

Parameters
[in]result: The result of lte_get_psm(). As below value stored.
[in]settings: PSM settings. See lte_psm_setting_t

◆ set_psm_cb_t

typedef void(* set_psm_cb_t) (uint32_t result)

Definition of callback function.

Since lte_set_psm() is an asynchronous API, the result is notified by this function.

Parameters
[in]result: The result of lte_set_psm(). As below value stored.

◆ get_ce_cb_t

typedef void(* get_ce_cb_t) (uint32_t result, lte_ce_setting_t *settings)

Definition of callback function.

Since lte_get_ce() is an asynchronous API, the result is notified by this function.

Parameters
[in]result: The result of lte_get_ce(). As below value stored.
[in]settings: CE settings. See lte_ce_setting_t

◆ set_ce_cb_t

typedef void(* set_ce_cb_t) (uint32_t result)

Definition of callback function.

Since lte_set_ce() is an asynchronous API, the result is notified by this function.

Parameters
[in]result: The result of lte_set_ce(). As below value stored.

◆ simstat_report_cb_t

typedef void(* simstat_report_cb_t) (uint32_t simstat)

Definition of callback function.

When the SIM state changes, the SIM state is reported by this function.

Parameters
[in]simstat: The SIM state. As below value stored.

◆ localtime_report_cb_t

typedef void(* localtime_report_cb_t) (lte_localtime_t *localtime)

Definition of callback function.

When the local time changes, the local time is reported by this function.

Parameters
[in]localtime: Local time. See lte_localtime_t

◆ quality_report_cb_t

typedef void(* quality_report_cb_t) (lte_quality_t *quality)

Definition of callback function.

The quality information is reported by this function. It is reported at intervals of the set report period.

Parameters
[in]quality: Quality information. See lte_quality_t

◆ cellinfo_report_cb_t

typedef void(* cellinfo_report_cb_t) (lte_cellinfo_t *cellinfo)

Definition of callback function.

The cell information is reported by this function. It is reported at intervals of the set report period.

Parameters
[in]cellinfo: Cell information. See lte_cellinfo_t

◆ radio_on_cb_t

typedef void(* radio_on_cb_t) (uint32_t result)

Definition of callback function.

Since lte_radio_on() is an asynchronous API, the result is notified by this function.

Parameters
[in]result: The result of lte_radio_on(). As below value stored.

◆ radio_off_cb_t

typedef void(* radio_off_cb_t) (uint32_t result)

Definition of callback function.

Since lte_radio_off() is an asynchronous API, the result is notified by this function.

Parameters
[in]result: The result of lte_radio_off(). As below value stored.

◆ get_netinfo_cb_t

typedef void(* get_netinfo_cb_t) (uint32_t result, lte_netinfo_t *info)

Definition of callback function.

Since lte_get_netinfo() is an asynchronous API, the result is notified by this function.

Parameters
[in]result: The result of lte_get_netinfo(). As below value stored.
[in]info: Pointer of LTE network information. See lte_netinfo_t

◆ get_imscap_cb_t

typedef void(* get_imscap_cb_t) (uint32_t result, bool imscap)

Definition of callback function.

Since lte_get_imscap() is an asynchronous API, the result is notified by this function.

Parameters
[in]result: The result of lte_get_imscap. As below value stored.
[in]imscap: The IMS capability. As below value stored.

◆ activate_pdn_cb_t

typedef void(* activate_pdn_cb_t) (uint32_t result, lte_pdn_t *pdn)

Definition of callback function.

Since lte_activate_pdn() is an asynchronous API, the result is notified by this function.

Parameters
[in]result: The result of lte_activate_pdn. As below value stored.
[in]pdn: The connect pdn information. See lte_pdn_t

◆ deactivate_pdn_cb_t

typedef void(* deactivate_pdn_cb_t) (uint32_t result)

Definition of callback function.

Since lte_deactivate_pdn() is an asynchronous API, the result is notified by this function.

Parameters
[in]result: The result of lte_deactivate_pdn. As below value stored.

◆ data_allow_cb_t

typedef void(* data_allow_cb_t) (uint32_t result)

Definition of callback function.

Since lte_dataallow() is an asynchronous API, the result is notified by this function.

Parameters
[in]result: The result of lte_dataallow. As below value stored.

◆ restart_report_cb_t

typedef void(* restart_report_cb_t) (uint32_t reason)

Definition of callback function.

The modem restart is reported by this function. It is reported at modem reset.

Parameters
[in]reason: Reason of modem restart. As below value stored.

◆ netinfo_report_cb_t

typedef void(* netinfo_report_cb_t) (lte_netinfo_t *info)

Definition of callback function.

The change LTE network information is reported by this function. It is reported at LTE network connection status.

Parameters
[in]info: Pointer of LTE network information. See lte_netinfo_t

◆ get_siminfo_cb_t

typedef void(* get_siminfo_cb_t) (uint32_t result, lte_siminfo_t *siminfo)

Definition of callback function.

Since lte_get_siminfo() is an asynchronous API, the result is notified by this function.

Parameters
[in]result: The result of lte_get_siminfo(). As below value stored.
[in]siminfo: SIM information. See lte_siminfo_t

◆ get_dynamic_edrx_param_cb_t

typedef void(* get_dynamic_edrx_param_cb_t) (uint32_t result, lte_edrx_setting_t *param)

Definition of callback function.

Since lte_get_dynamic_edrx_param() is an asynchronous API, the result is notified by this function.

Parameters
[in]result: The result of lte_get_dynamic_edrx_param(). As below value stored.
[in]param: eDRX dynamic parameter. See lte_edrx_setting_t.

◆ get_dynamic_psm_param_cb_t

typedef void(* get_dynamic_psm_param_cb_t) (uint32_t result, lte_psm_setting_t *param)

Definition of callback function.

Since lte_get_dynamic_psm_param() is an asynchronous API, the result is notified by this function.

Parameters
[in]result: The result of lte_get_dynamic_psm_param(). As below value stored.
[in]param: PSM dynamic parameter. See lte_psm_setting_t

◆ get_current_edrx_cb_t

typedef void(* get_current_edrx_cb_t) (uint32_t result, lte_edrx_setting_t *settings)

Definition of callback function.

Since lte_get_current_edrx() is an asynchronous API, the result is notified by this function.

Parameters
[in]result: The result of lte_get_current_edrx(). As below value stored.
[in]settings: Current eDRX settings. See lte_edrx_setting_t.

◆ get_current_psm_cb_t

typedef void(* get_current_psm_cb_t) (uint32_t result, lte_psm_setting_t *settings)

Definition of callback function.

Since lte_get_current_psm() is an asynchronous API, the result is notified by this function.

Parameters
[in]result: The result of lte_get_current_psm(). As below value stored.
[in]settings: Current PSM settings. See lte_psm_setting_t

◆ get_quality_cb_t

typedef void(* get_quality_cb_t) (uint32_t result, lte_quality_t *quality)

Definition of callback function.

Since lte_get_quality() is an asynchronous API, the quality information is notified by this function.

Parameters
[in]result: The result of lte_get_quality(). As below value stored.
[in]quality: Quality information. See lte_quality_t

◆ context_save_cb_t

typedef void(* context_save_cb_t) (uint8_t *data, int size)

Definition of callback function.

This callback function is used for nitifying a daemon context data for resume.

Parameters
[in]data: Context data body.
[in]size: Context data size