提交 7af7b265 编写于 作者: C clevercong

update telephony readme.

Signed-off-by: Nclevercong <quizkid@163.com>
上级 6ee14cb3
......@@ -15,11 +15,9 @@ The Telephony subsystem provides APIs for obtaining information about the wirele
The Telephony subsystem consists of the following modules:
- Telephony core service: initializes the RIL Manager, SIM card module, and network search module, and provides access to the RIL Adapter service.
- RIL Adapter module: provides functions such as vendor library loading, service interface implementation, and event scheduling and management.
- Telephony core service: initializes the RIL Manager, SIM card module, and network search module.
- Call Manager module: manages three types of calls – circuit switched \(CS\), IP multimedia subsystem \(IMS\), and over the top \(OTT\) calls. It is responsible for applying for the audio and video resources required for a call and resolving conflicts in a multi-channel call.
- Cellular call module: implements basic calls over carrier networks.
- Cellular data module: provides functions such as cellular data activation, cellular data fault detection and rectification, and cellular data status management.
- SMS & MMS module: provides the capabilities of sending and receiving short message service \(SMS\) messages and encoding and decoding multimedia messaging service \(MMS\) messages.
- State registry module: provides APIs to register and deregister an observer that listens for various callback events of the telephony subsystem.
......@@ -32,19 +30,15 @@ The Telephony subsystem consists of the following modules:
```
base/telephony/
├── core_service # Core service
├── ril_adapter # RIL Adapter module
├── call_manager # Call Manager module
├── cellular_call # Cellular call module
├── cellular_data # Cellular data module
├── sms_mms # SMS & MMS module
└── state_registry # State registry module
```
## Constraints<a name="section123mcpsimp"></a>
1. The API for registering an observer for the SIM card status takes effect only when SIM cards are in position. If SIM cards are removed, no callback events will be received. Your application can call the **getSimState** API to check whether SIM cards are in position.
2. Currently, the APIs for DCall and SMS services are available only for system applications.
3. The open-source version currently supports only the CS call and SMS services. Cellular data and dual-SIM card are not supported.
1. The open-source version currently supports only the CS call and SMS services. Cellular data and dual-SIM card are not supported.
## Usage Guidelines<a name="section128mcpsimp"></a>
......@@ -140,17 +134,13 @@ base/telephony/
**Telephony subsystem**
telephony\_core\_service
[telephony_core_service](https://gitee.com/openharmony/telephony_core_service/blob/master/README.md)
telephony\_ril\_adapter
[telephony_call_manager](https://gitee.com/openharmony/telephony_call_manager/blob/master/README.md)
telephony\_call\_manager
[telephony_cellular_call](https://gitee.com/openharmony/telephony_cellular_call/blob/master/README.md)
telephony\_cellular\_call
[telephony_sms_mms](https://gitee.com/openharmony/telephony_sms_mms/blob/master/README.md)
telephony\_cellular\_data
telephony\_sms\_mms
telephony\_state\_registry
[telephony_state_registry](https://gitee.com/openharmony/telephony_state_registry/blob/master/README.md)
......@@ -15,11 +15,9 @@
各个模块主要作用如下:
- 核心服务模块:主要功能是初始化RIL管理、SIM卡和搜网模块,以及获取RIL Adapter服务。
- RIL Adapter模块:主要功能是厂商库加载,业务接口实现以及事件调度管理。
- 核心服务模块:主要功能是初始化RIL管理、SIM卡和搜网模块。
- 通话管理模块:主要功能是管理CS(Circuit Switch,电路交换)、IMS(IP Multimedia Subsystem,IP多媒体子系统)和OTT(over the top,OTT解决方案)三种类型的通话,申请通话所需要的音视频资源,处理多路通话时产生的各种冲突。
- 蜂窝通话模块:主要功能是实现基于运营商网络的基础通话。
- 蜂窝数据模块:主要功能是蜂窝数据激活、蜂窝数据异常检测与恢复、蜂窝数据状态管理等。
- 短彩信模块:主要功能是短信收发和彩信编解码。
- 状态注册模块:主要功能是提供电话服务子系统各种消息事件的订阅以及取消订阅的API。
......@@ -32,19 +30,15 @@
```
base/telephony/
├── core_service # 核心服务
├── ril_adapter # RIL Adapter
├── call_manager # 通话管理
├── cellular_call # 蜂窝通话
├── cellular_data # 蜂窝数据
├── sms_mms # 短彩信
└── state_registry # 状态注册
```
## 约束<a name="section123mcpsimp"></a>
1. 注册获取SIM卡状态接口仅针对有SIM卡在位场景生效,若用户拔出SIM卡,则接收不到回调事件。应用可通过调用getSimState接口来确定当前卡槽是否有卡在位。
2. 拨打电话和发送短信API现阶段仅供系统应用使用,暂不支持三方应用申请调用。
3. 目前开源的范围仅支持蜂窝通话(仅支持CS通话)和短信,不支持蜂窝数据上网,仅支持单SIM卡。
1. 目前开源的范围仅支持蜂窝通话(仅支持CS通话)和短信,不支持蜂窝数据上网,仅支持单SIM卡。
## 使用说明<a name="section128mcpsimp"></a>
......@@ -140,17 +134,12 @@ base/telephony/
**电话服务子系统**
telephony\_core\_service
[telephony_core_service](https://gitee.com/openharmony/telephony_core_service/blob/master/README_zh.md)
telephony\_ril\_adapter
[telephony_call_manager](https://gitee.com/openharmony/telephony_call_manager/blob/master/README_zh.md)
telephony\_call\_manager
[telephony_cellular_call](https://gitee.com/openharmony/telephony_cellular_call/blob/master/README_zh.md)
telephony\_cellular\_call
telephony\_cellular\_data
telephony\_sms\_mms
telephony\_state\_registry
[telephony\_sms\_mms](https://gitee.com/openharmony/telephony_sms_mms/blob/master/README_zh.md)
[telephony\_state\_registry](https://gitee.com/openharmony/telephony_state_registry/blob/master/README_zh.md)
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册