nRF51 SDK
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Events Decoder

Decoder for serialized events

The Event decoder is used by a Serialized Bluetooth Application for decoding events transmitted by the BLE S110 Connectivity Chip to the Bluetooth Application Board.

After decoding a received event a SWI2_IRQn will be raised which is similar to the normal behaviour of the BLE S110 SoftDevice.

The application can fetch the event using the S110 SoftDevice function sd_ble_evt_get after the event has been received form the Event Decoder.

The format of each supported event can be seen in nrf51_event_format_serialization which also contains a list of currently supported events.

BLE S110 SoftDevice functions implemented by the Event Decoder

decoder_serialization.png
Overview of the relation between Application - SoftDevice API - Command Decoder and Transport Layer