Go to file
2022-07-26 07:35:33 +00:00
figures modify chmod 2022-04-01 11:10:39 +08:00
frameworks/src JS crash 2022-07-11 11:42:10 +08:00
interfaces/innerkits !356 change telephony_ril_adapter utils native path to commonlibrary c_utils 2022-07-26 07:35:33 +00:00
services !356 change telephony_ril_adapter utils native path to commonlibrary c_utils 2022-07-26 07:35:33 +00:00
test !356 change telephony_ril_adapter utils native path to commonlibrary c_utils 2022-07-26 07:35:33 +00:00
utils fix domainid for log 2022-07-14 20:05:00 +08:00
bundle.json 适配sysparam仓归一 2022-06-24 01:01:12 -07:00
LICENSE modify chmod 2022-04-01 11:10:39 +08:00
README_zh.md modify chmod 2022-04-01 11:10:39 +08:00
README.md modify chmod 2022-04-01 11:10:39 +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 each business module interface of the hri layer
│   ├── hril_hdf                        # HDF service
│   └── 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 telephony core service core\_service 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 the telephony core service.

Repositories Involved

Telephony

telephony_ril_adapter

telephony_core_service