nRF51 SDK - S120 SoftDevice
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
ser_hal_transport_evt_t Struct Reference

A struct containing events from the Serialization HAL Transport layer. More...

#include <ser_hal_transport.h>

Data Fields

ser_hal_transport_evt_type_t evt_type
 
union {
   ser_hal_transport_evt_rx_pkt_received_params_t   rx_pkt_received
 
   ser_hal_transport_evt_phy_error_params_t   phy_error
 
evt_params
 

Detailed Description

A struct containing events from the Serialization HAL Transport layer.

Note
Some events do not have parameters, then whole information is contained in the evt_type.

Field Documentation

ser_hal_transport_evt_type_t ser_hal_transport_evt_t::evt_type

Type of event.

ser_hal_transport_evt_phy_error_params_t ser_hal_transport_evt_t::phy_error

Parameters of the event of type SER_HAL_TRANSP_EVT_PHY_ERROR.

ser_hal_transport_evt_rx_pkt_received_params_t ser_hal_transport_evt_t::rx_pkt_received

Parameters of the event of type SER_HAL_TRANSP_EVT_RX_PKT_RECEIVED.