nRF51 SDK
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
'Packet Encoding Format'

Modules

 BLE S110 Events
 
 BLE S110 Functions
 

Detailed Description

frame_general.png
Figure 1: Frame format.


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

Packet Type:

command_and_response_diagram.png
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.

event_send_diagram.png
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.