T-Box Basic dev
Loading...
Searching...
No Matches
ril_daemon.h
Go to the documentation of this file.
1
10
11#ifndef __RIL_DAEMON_H__
12#define __RIL_DAEMON_H__
13
14#include <stdbool.h>
15#include <stdint.h>
16
23
30int ril_daemon_step(uint64_t now_ms);
31
39int ril_daemon_set_data_enabled(uint8_t apn_index, bool enabled);
40
45
50
51#endif /* __RIL_DAEMON_H__ */
void ril_daemon_request_stop(void)
请求守护进程停止后续调度。
int ril_daemon_step(uint64_t now_ms)
执行一次有界主循环调度。
void ril_daemon_deinit(void)
按初始化逆序释放守护进程组件。
int ril_daemon_init(void)
初始化 RIL 守护进程所有组件。
int ril_daemon_set_data_enabled(uint8_t apn_index, bool enabled)
设置 APN 运行时期望启用状态并重置对应恢复策略。