nRF51 SDK: BLE Serialization Codecs

| nRF51 SDK

- Home
- Related Pages
- API Reference
- Data Structures

All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
BLE Serialization Codecs

# Encoding Format

Figure 1: Frame format.

For an architectural overview of Serialized Bluetooth Application, please see the Architecture module.
Packet Type:

Figure 2: Command and Response packet course.

0x00 |  | Command: The packet is sent from the application chip to the BLE S110 Connectivity Chip, where it will be
|  | decoded and the corresponding function in the S110 SoftDevice is executed.

0x01 |  | Command Response: After a function in the S110 SoftDevice is received, the response is encoded in the
|  | BLE S110 Connectivity Chip and a response packet is sent to the application chip.
|  | Note: If the length field is invalid for the specific command, the call will return error code NRF_ERROR_INVALID_LENGTH from the codec in the Application Chip.

Figure 3: Event packet course.

0x02 |  | Event: If an event is triggered in the S110 SoftDevice, an event packet is is sent from the
|  | the BLE S110 Connectivity Chip to the application chip.

BLE S110 Events

ble_serialization_events_gattc

BLE S110 Functions

ble_serialization_functions_gap

ble_serialization_functions_gattc

ble_serialization_functions_gatts

ble_serialization_functions_l2cap