Go to file
openharmony_ci ecda73506b
!827 修改用例格式
Merge pull request !827 from 刘建东/master
2024-09-20 07:40:22 +00:00
figures modify chmod 2022-04-01 11:10:39 +08:00
interfaces/innerkits nv refresh indication 2024-09-04 17:03:37 +08:00
services add lock. 2024-09-11 19:40:01 +08:00
test fix: fix dos 2024-09-20 14:31:25 +08:00
utils ril_adapter芯片组件独立编译 2024-04-02 15:45:42 +08:00
bundle.json 支撑ril_adapter独立编译 2024-09-04 13:36:14 +08:00
LICENSE modify chmod 2022-04-01 11:10:39 +08:00
OAT.xml IssueNo:ril adapter 告警整改 2024-06-06 11:08:48 +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