BLE temperature profile using digital DS1820 or analog LM35 sensors

Dependencies:   DS1820

Embed: (wiki syntax)

« Back to documentation index

Event Decoder

Event Decoder

Decoder for serialized events from nRF51822. More...

Functions

uint32_t ble_rpc_event_pkt_received (uint8_t *p_event_packet, uint16_t event_packet_length)
 Function for pushing an encoded packet in the event decoder.

Detailed Description

Decoder for serialized events from nRF51822.

This file contains the declaration of the function that initializes the event decoder module and processes received events.


Function Documentation

uint32_t ble_rpc_event_pkt_received ( uint8_t *  p_event_packet,
uint16_t  event_packet_length 
)

Function for pushing an encoded packet in the event decoder.

Warning:
This function is not reentrant safe and should always be called from the same interrupt context.
Parameters:
[in]p_event_packetPointer to the encoded event received.
[in]event_packet_lengthLength of received packet.
Return values:
NRF_SUCCESSUpon success.
NRF_ERROR_NO_MEMUpon receive queue full.