nRF51 SDK
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
ble_dfu_evt_t Struct Reference

Data Fields

ble_dfu_evt_type_t ble_dfu_evt_type
 
union {
   ble_dfu_pkt_write_t   ble_dfu_pkt_write
 
   ble_pkt_rcpt_notif_req_t   pkt_rcpt_notif_req
 
evt
 

Detailed Description

This structure contains the event generated by the DFU Service based on the data received from the peer.

Field Documentation

ble_dfu_evt_type_t ble_dfu_evt_type

Type of the event.

ble_dfu_pkt_write_t ble_dfu_pkt_write

The DFU packet received. This field is when the ble_dfu_evt_type field is set to BLE_DFU_PACKET_WRITE.

ble_pkt_rcpt_notif_req_t pkt_rcpt_notif_req

Packet receipt notification request. This field is when the ble_dfu_evt_type field is set to BLE_DFU_PKT_RCPT_NOTIF_ENABLED.