21#ifndef __APPS_INCLUDE_LTE_LTE_API_H
22#define __APPS_INCLUDE_LTE_LTE_API_H
194#include <nuttx/config.h>
201#define EXTERN extern "C"
310#ifdef CONFIG_LTE_LAPI_ENABLE_DEPRECATED_API
343#ifdef CONFIG_LTE_LAPI_ENABLE_DEPRECATED_API
390#ifdef CONFIG_LTE_LAPI_ENABLE_DEPRECATED_API
498#ifdef CONFIG_LTE_LAPI_ENABLE_DEPRECATED_API
547 uint8_t roaming_allow);
549#ifdef CONFIG_LTE_LAPI_ENABLE_DEPRECATED_API
576int lte_data_allow(uint8_t session_id, uint8_t allow,
595#ifdef CONFIG_LTE_LAPI_ENABLE_DEPRECATED_API
625#ifdef CONFIG_LTE_LAPI_ENABLE_DEPRECATED_API
656#ifdef CONFIG_LTE_LAPI_KEEP_COMPATIBILITY
662#ifdef CONFIG_LTE_LAPI_ENABLE_DEPRECATED_API
693#ifdef CONFIG_LTE_LAPI_KEEP_COMPATIBILITY
699#ifdef CONFIG_LTE_LAPI_ENABLE_DEPRECATED_API
730#ifdef CONFIG_LTE_LAPI_KEEP_COMPATIBILITY
736#ifdef CONFIG_LTE_LAPI_ENABLE_DEPRECATED_API
766#ifdef CONFIG_LTE_LAPI_ENABLE_DEPRECATED_API
804 FAR uint8_t *attemptsleft);
806#ifdef CONFIG_LTE_LAPI_ENABLE_DEPRECATED_API
829int lte_set_pinenable(
bool enable, FAR
char *pincode,
860 FAR
char *new_pincode, FAR uint8_t *attemptsleft);
862#ifdef CONFIG_LTE_LAPI_ENABLE_DEPRECATED_API
891int lte_change_pin(int8_t target_pin, FAR
char *pincode,
942 FAR uint8_t *simstat, FAR uint8_t *attemptsleft);
944#ifdef CONFIG_LTE_LAPI_ENABLE_DEPRECATED_API
972int lte_enter_pin(FAR
char *pincode, FAR
char *new_pincode,
988#ifdef CONFIG_LTE_LAPI_ENABLE_DEPRECATED_API
1020#ifdef CONFIG_LTE_LAPI_KEEP_COMPATIBILITY
1026#ifdef CONFIG_LTE_LAPI_ENABLE_DEPRECATED_API
1055#ifdef CONFIG_LTE_LAPI_ENABLE_DEPRECATED_API
1084#ifdef CONFIG_LTE_LAPI_ENABLE_DEPRECATED_API
1115#ifdef CONFIG_LTE_LAPI_ENABLE_DEPRECATED_API
1144#ifdef CONFIG_LTE_LAPI_ENABLE_DEPRECATED_API
1175#ifdef CONFIG_LTE_LAPI_ENABLE_DEPRECATED_API
1204#ifdef CONFIG_LTE_LAPI_ENABLE_DEPRECATED_API
1347#ifdef CONFIG_LTE_LAPI_ENABLE_DEPRECATED_API
1408#ifdef CONFIG_LTE_LAPI_ENABLE_DEPRECATED_API
1465#ifdef CONFIG_LTE_LAPI_ENABLE_DEPRECATED_API
1499#ifdef CONFIG_LTE_LAPI_ENABLE_DEPRECATED_API
1627 FAR
char *respbuff,
int respbufflen,
void(* get_ver_cb_t)(uint32_t result, lte_version_t *version)
Definition: lte.h:1551
void(* get_ce_cb_t)(uint32_t result, lte_ce_setting_t *settings)
Definition: lte.h:1801
void(* set_pinenable_cb_t)(uint32_t result, uint8_t attemptsleft)
Definition: lte.h:1642
void(* get_imei_cb_t)(uint32_t result, char *imei)
Definition: lte.h:1610
void(* get_operator_cb_t)(uint32_t result, char *oper)
Definition: lte.h:1730
void(* radio_on_cb_t)(uint32_t result)
Definition: lte.h:1874
void(* get_dynamic_edrx_param_cb_t)(uint32_t result, lte_edrx_setting_t *param)
Definition: lte.h:2017
void(* localtime_report_cb_t)(lte_localtime_t *localtime)
Definition: lte.h:1841
void(* get_imsi_cb_t)(uint32_t result, uint8_t errcause, char *imsi)
Definition: lte.h:1593
void(* data_allow_cb_t)(uint32_t result)
Definition: lte.h:1963
void(* quality_report_cb_t)(lte_quality_t *quality)
Definition: lte.h:1851
void(* get_imscap_cb_t)(uint32_t result, bool imscap)
Definition: lte.h:1921
void(* activate_pdn_cb_t)(uint32_t result, lte_pdn_t *pdn)
Definition: lte.h:1937
void(* simstat_report_cb_t)(uint32_t simstat)
Definition: lte.h:1831
void(* get_localtime_cb_t)(uint32_t result, lte_localtime_t *localtime)
Definition: lte.h:1712
void(* set_edrx_cb_t)(uint32_t result)
Definition: lte.h:1758
void(* get_quality_cb_t)(uint32_t result, lte_quality_t *quality)
Definition: lte.h:2081
void(* get_edrx_cb_t)(uint32_t result, lte_edrx_setting_t *settings)
Definition: lte.h:1745
void(* netinfo_report_cb_t)(lte_netinfo_t *info)
Definition: lte.h:1987
void(* restart_report_cb_t)(uint32_t reason)
Definition: lte.h:1976
void(* get_phoneno_cb_t)(uint32_t result, uint8_t errcause, char *phoneno)
Definition: lte.h:1572
void(* radio_off_cb_t)(uint32_t result)
Definition: lte.h:1887
void(* deactivate_pdn_cb_t)(uint32_t result)
Definition: lte.h:1950
void(* set_ce_cb_t)(uint32_t result)
Definition: lte.h:1814
void(* get_current_edrx_cb_t)(uint32_t result, lte_edrx_setting_t *settings)
Definition: lte.h:2049
void(* set_psm_cb_t)(uint32_t result)
Definition: lte.h:1786
void(* get_netinfo_cb_t)(uint32_t result, lte_netinfo_t *info)
Definition: lte.h:1903
void(* get_siminfo_cb_t)(uint32_t result, lte_siminfo_t *siminfo)
Definition: lte.h:2002
void(* context_save_cb_t)(uint8_t *data, int size)
Definition: lte.h:2094
void(* change_pin_cb_t)(uint32_t result, uint8_t attemptsleft)
Definition: lte.h:1658
void(* get_dynamic_psm_param_cb_t)(uint32_t result, lte_psm_setting_t *param)
Definition: lte.h:2033
void(* get_psm_cb_t)(uint32_t result, lte_psm_setting_t *settings)
Definition: lte.h:1773
void(* get_pinset_cb_t)(uint32_t result, lte_getpin_t *pinset)
Definition: lte.h:1626
void(* get_current_psm_cb_t)(uint32_t result, lte_psm_setting_t *settings)
Definition: lte.h:2065
void(* cellinfo_report_cb_t)(lte_cellinfo_t *cellinfo)
Definition: lte.h:1861
void(* enter_pin_cb_t)(uint32_t result, uint8_t simstat, uint8_t attemptsleft)
Definition: lte.h:1695
int lte_set_report_localtime(localtime_report_cb_t localtime_callback)
int lte_get_ce_sync(FAR lte_ce_setting_t *settings)
int lte_activate_pdn_sync(FAR lte_apn_setting_t *apn, FAR lte_pdn_t *pdn)
int lte_set_report_netinfo(netinfo_report_cb_t netinfo_callback)
int lte_get_current_edrx_sync(FAR lte_edrx_setting_t *settings)
int lte_set_report_restart(restart_report_cb_t restart_callback)
int lte_set_context_save_cb(context_save_cb_t callback)
int lte_get_cellinfo_sync(FAR lte_cellinfo_t *cellinfo)
int lte_set_edrx_sync(FAR lte_edrx_setting_t *settings)
int lte_activate_pdn(FAR lte_apn_setting_t *apn, activate_pdn_cb_t callback)
int lte_radio_off_sync(void)
int lte_set_pinenable_sync(bool enable, FAR char *pincode, FAR uint8_t *attemptsleft)
int lte_hibernation_resume(FAR const uint8_t *res_ctx, int len)
int lte_get_current_psm_sync(FAR lte_psm_setting_t *settings)
int lte_enter_pin_sync(FAR char *pincode, FAR char *new_pincode, FAR uint8_t *simstat, FAR uint8_t *attemptsleft)
int lte_data_allow_sync(uint8_t session_id, uint8_t allow, uint8_t roaming_allow)
int lte_get_errinfo(FAR lte_errinfo_t *info)
int lte_set_rat_sync(uint8_t rat, bool persistent)
Set RAT setting.
int lte_get_psm_sync(FAR lte_psm_setting_t *settings)
int lte_set_ce_sync(FAR lte_ce_setting_t *settings)
int lte_get_rat_sync(void)
Get RAT type.
int lte_activate_pdn_cancel(void)
int lte_get_pinset_sync(FAR lte_getpin_t *pinset)
int lte_set_psm_sync(FAR lte_psm_setting_t *settings)
int lte_get_imei_sync(FAR char *imei, size_t len)
int lte_get_operator_sync(FAR char *oper, size_t len)
int lte_factory_reset_sync(void)
int lte_send_atcmd_sync(FAR const char *cmd, int cmdlen, FAR char *respbuff, int respbufflen, FAR int *resplen)
Send AT command to the modem.
int lte_set_report_quality(quality_report_cb_t quality_callback, uint32_t period)
int lte_acquire_wakelock(void)
int lte_get_version_sync(FAR lte_version_t *version)
int lte_set_report_cellinfo(cellinfo_report_cb_t cellinfo_callback, uint32_t period)
int lte_get_localtime_sync(FAR lte_localtime_t *localtime)
int lte_get_netinfo_sync(uint8_t pdn_num, FAR lte_netinfo_t *info)
int lte_get_imscap_sync(FAR bool *imscap)
int lte_get_siminfo_sync(uint32_t option, FAR lte_siminfo_t *siminfo)
int lte_set_report_simstat(simstat_report_cb_t simstat_callback)
int lte_deactivate_pdn_sync(uint8_t session_id)
int lte_get_phoneno_sync(FAR char *phoneno, size_t len)
int lte_get_quality_sync(FAR lte_quality_t *quality)
int lte_get_ratinfo_sync(FAR lte_ratinfo_t *info)
Get RAT information.
int lte_change_pin_sync(int8_t target_pin, FAR char *pincode, FAR char *new_pincode, FAR uint8_t *attemptsleft)
int lte_get_wakelock_count(void)
int lte_radio_on_sync(void)
int lte_release_wakelock(void)
int lte_get_edrx_sync(FAR lte_edrx_setting_t *settings)
int lte_get_imsi_sync(FAR char *imsi, size_t len)