nRF5 SDK v11.0.0
Serialization Codecs
This information applies to the following SoftDevices: S130, S132

Packet Encoding Format

frame_general.png
Figure 1: Frame format.

For an architectural overview of Serialized Bluetooth Application, see the Architecture module.

Commands and responses

command_and_response_diagram.png
Figure 2: Command and Response packet course.


Packet Type Description
0x00 Command The packet is sent from the application chip to the BLE Connectivity Chip, where it will be decoded and the corresponding function in the SoftDevice is executed.
0x01 Command Response After a function in the SoftDevice is received, the response is encoded in the BLE Connectivity Chip and a response packet is sent to the application chip.
0x03 DTM Command The packet is sent from the application chip to the BLE Connectivity Chip, where it will be decoded and the chip will enter in the DTM mode.
0x04 DTM Command Response Before BLE Connectivity Chip enter in the DTM mode it sends response packet to the application chip.

See BLE S13x Functions for detailed information about functions and responses.

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.

Events

event_send_diagram.png
Figure 3: Event packet course.


Packet Type Description
0x02 Event If an event is triggered in the SoftDevice, an event packet is is sent from the BLE Connectivity Chip to the application chip.


See BLE S13x Events for detailed information about events.

SoftDevice S13x

BLE DTM


Documentation feedback | Developer Zone | Updated