|
T-Box Basic dev
|
RIL 守护进程与模组后端之间的中性接口 More...
#include <stdbool.h>#include <stddef.h>#include <stdint.h>#include <tbox/radio.h>#include <tbox/ril_core.h>#include <tbox/sim.h>#include <tbox/sms.h>#include <tbox/voice.h>Go to the source code of this file.
Data Structures | |
| struct | ril_backend_profile_settings_t |
| 模组 profile 参数 More... | |
| struct | ril_backend_data_profile_t |
| 一路数据拨号 profile More... | |
| struct | ril_backend_data_event_t |
| 已归一化的数据链路事件 More... | |
| struct | ril_backend_event_t |
| 已归一化的模组后端事件 More... | |
| struct | ril_backend_radio_ops_t |
| 无线网络功能域接口 More... | |
| struct | ril_backend_sim_ops_t |
| SIM 功能域接口 More... | |
| struct | ril_backend_sms_ops_t |
| 短消息功能域接口 More... | |
| struct | ril_backend_data_ops_t |
| 数据拨号功能域接口 More... | |
| struct | ril_backend_voice_ops_t |
| 语音和 eCall 功能域接口 More... | |
| struct | ril_backend_ops_t |
| 静态模组后端接口 More... | |
Typedefs | |
| typedef uint32_t | ril_backend_profile_id_t |
| 模组 profile 标识 | |
| typedef int(* | ril_backend_event_callback_t) (const ril_backend_event_t *event, void *context) |
| 后端事件接收函数。 | |
Enumerations | |
| enum | ril_backend_event_type_t { RIL_BACKEND_EVENT_RADIO_REFRESH = 1 , RIL_BACKEND_EVENT_SIM_STATE , RIL_BACKEND_EVENT_SMS_RECEIVED , RIL_BACKEND_EVENT_DATA_CALL , RIL_BACKEND_EVENT_VOICE } |
| 守护进程需要处理的后端事件类别 More... | |
| enum | ril_data_link_state_t { RIL_DATA_LINK_DISCONNECTED = 0 , RIL_DATA_LINK_CONNECTING , RIL_DATA_LINK_CONNECTED } |
| 数据链路状态 More... | |
| enum | ril_ip_type_t { RIL_IP_TYPE_IPV4 = 0 , RIL_IP_TYPE_IPV6 , RIL_IP_TYPE_IPV4V6 } |
| 数据链路 IP 类型 More... | |
| enum | ril_data_auth_t { RIL_DATA_AUTH_NONE = 0 , RIL_DATA_AUTH_PAP , RIL_DATA_AUTH_CHAP , RIL_DATA_AUTH_PAP_CHAP , RIL_DATA_AUTH_DEFAULT } |
| APN 鉴权类型 More... | |
Functions | |
| const ril_backend_ops_t * | ril_backend_get (void) |
| 获取当前编译平台的静态模组后端。 | |
RIL 守护进程与模组后端之间的中性接口
| typedef int(* ril_backend_event_callback_t) (const ril_backend_event_t *event, void *context) |
后端事件接收函数。
event 仅在回调期间有效。回调只应复制并入队,不得调用模组 SDK。
| event | 已归一化的后端事件。 |
| context | 注册后端时提供的上下文。 |
| enum ril_data_auth_t |
| enum ril_ip_type_t |
| const ril_backend_ops_t * ril_backend_get | ( | void | ) |
获取当前编译平台的静态模组后端。