Go to file
openharmony_ci be90e3a99c
!734 修复ril_adapter tdd测试用例异常
Merge pull request !734 from ASheLock/OpenHarmony-4.1-Beta1
2023-12-21 09:50:57 +00:00
figures modify chmod 2022-04-01 11:10:39 +08:00
frameworks/src delete unused files. 2022-11-15 18:07:36 +08:00
interfaces/innerkits !728 视频通话需求tel_ril_adapter 2023-12-05 12:18:48 +00:00
services !723 追加修复at_sms的静态扫描 2023-12-01 06:07:25 +00:00
test XIssueNo:OH TDD准出,屏蔽ril_adapter用例 2023-12-20 21:46:38 +08:00
utils fix log security problem 2022-10-21 11:16:46 +08:00
bundle.json fix udev problem 2023-08-31 13:38:37 +08:00
LICENSE modify chmod 2022-04-01 11:10:39 +08:00
README_zh.md fix: update readme 2022-10-20 10:49:39 +08:00
README.md update doc 2022-12-12 18:08:55 +08:00

RIL Adapter

Introduction

The RIL Adapter module provides functions such as vendor library loading, service interface implementation, and event scheduling and management. The module shields the differences of modems supplied by different vendors to provide a unified interface for the telephony service layer. It communicates with the telephony service layer by registering a Hardware Driver Foundation HDF service.

Figure 1 Architecture of the RIL Adapter module

Directory Structure

base/telephony/ril_adapter
├── figures                             # Resource file of readme
├── frameworks
│   ├── BUILD.gn
│   └── src                             # Serialized file
├── interfaces                          # Provide internal interfaces for each business
│   └── innerkits
├── services                            # Service
│   ├── hril                            # Implementation of service module APIs of the hril layer
│   ├── hril_hdf                        # HDF service that provides initial vendor lib APIs
│   └── vendor                          # Vendor file
│── test                                # Test code
│   ├── BUILD.gn
│   └── unittest                        # Unit test code
└── utils                               # Utilities

Constraints

  • In terms of software, the RIL Adapter needs to work with the HDF (drivers_interface and drivers_peripheral) and an interworking interface needs to be implemented by the modem vendor lib.
  • In terms of hardware, the device must be equipped with a modem capable of independent cellular communication.

Usage Guidelines

The RIL Adapter does not provide external APIs and can only be called by through drivers_peripheral.

Repositories Involved

Telephony

telephony_ril_adapter

telephony_core_service

drivers_interface

drivers_peripheral