changed low freq. clock source to IRC

Dependents:   BLE_ANCS_SDAPI_IRC

Fork of nRF51822 by Nordic Semiconductor

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.