The common API act as a general interface between the BLE application and the BLE Stack module.
The application may use these API to control the underlying hardware such as radio power, data encryption and device bonding via the stack. It may also access the GAP, GATT and L2CAP layers of the stack. These are divided into the following categories:
These API also use API specific definitions and data structures. These are classified in the following subset:
API Reference | |
BLE Common Core Functions | |
The common core API are used for general BLE configuration. | |
GAP Functions | |
The GAP APIs allow access to the Generic Access Profile (GAP) layer of the BLE Stack. | |
GATT Functions | |
The GATT APIs allow access to the Generic Attribute Profile (GATT) layer of the BLE Stack. | |
L2CAP Functions | |
The L2CAP APIs allow access to the Logical link control and adaptation protocol (L2CAP) layer of the BLE Stack. | |
BLE Common Events | |
The BLE Stack generates events to notify the application on various status alerts concerning the stack. | |
BLE Common Definitions and Data Structures | |
Contains definitions and structures that are common to all BLE common API. | |
Global Variables | |