中兴微 RIL 后端共享接口
More...
#include <stdint.h>
#include "ril_backend.h"
Go to the source code of this file.
中兴微 RIL 后端共享接口
- Version
- 1.0.0
- Date
- 2026-07-17
- Copyright
- Copyright © 2026 Shenzhen One IOT World Co., Ltd. All rights reserved.
◆ ril_zxic_backend_get()
获取中兴微静态后端接口。
- Returns
- 中兴微静态后端接口。
◆ ril_zxic_data_ops()
获取中兴微数据拨号功能域接口。
- Returns
- 数据拨号功能域接口。
◆ ril_zxic_emit_event()
向守护进程提交已归一化的后端事件。
- Parameters
-
- Returns
- TBOX_OK 成功,其他值失败。
◆ ril_zxic_get_imei()
| int ril_zxic_get_imei |
( |
char * | value, |
|
|
size_t * | length ) |
查询中兴微模组 IMEI。
- Parameters
-
| value | 输出 NUL 结尾的 IMEI。 |
| length | 输入缓冲区长度,输出实际长度。 |
- Returns
- TBOX_OK 成功,其他值失败。
◆ ril_zxic_get_radio_handle()
| int ril_zxic_get_radio_handle |
( |
uint32_t * | handle | ) |
|
获取已初始化的 network handle。
- Parameters
-
- Returns
- TBOX_OK 成功,其他值失败。
◆ ril_zxic_get_sv()
| int ril_zxic_get_sv |
( |
char * | value, |
|
|
size_t * | length ) |
查询中兴微模组 IMEI 软件版本号。
- Parameters
-
| value | 输出 NUL 结尾的 SV。 |
| length | 输入缓冲区长度,输出实际长度。 |
- Returns
- TBOX_OK 成功,其他值失败。
◆ ril_zxic_get_version()
| int ril_zxic_get_version |
( |
char * | value, |
|
|
size_t * | length ) |
查询中兴微模组版本。
- Parameters
-
| value | 输出 NUL 结尾的版本字符串。 |
| length | 输入缓冲区长度,输出实际长度。 |
- Returns
- TBOX_OK 成功,其他值失败。
◆ ril_zxic_map_error()
| int ril_zxic_map_error |
( |
int | sdk_result | ) |
|
将中兴微 SDK 返回值转换为 RIL 错误码。
- Parameters
-
- Returns
- TBOX_OK 成功,其他值失败。
◆ ril_zxic_radio_ops()
获取中兴微无线网络功能域接口。
- Returns
- 无线网络功能域接口。
◆ ril_zxic_set_radio_handle()
| void ril_zxic_set_radio_handle |
( |
uint32_t | handle | ) |
|
保存已初始化的 network handle。
- Parameters
-
◆ ril_zxic_sim_ops()
获取中兴微 SIM 功能域接口。
- Returns
- SIM 功能域接口。
◆ ril_zxic_sim_reset_modem()
| int ril_zxic_sim_reset_modem |
( |
void | | ) |
|
使用 SIM client handle 复位模组。
- Returns
- TBOX_OK 成功,其他值失败。
◆ ril_zxic_sms_ops()
获取中兴微短消息功能域接口。
- Returns
- 短消息功能域接口。
◆ ril_zxic_voice_ops()
获取中兴微语音功能域接口。
- Returns
- 语音功能域接口。