R1 code for micro:bit based train controller code, requires second micro:bit running rx code to operate - see https://meanderingpi.wordpress.com/ for more information

Fork of nrf51-sdk by Lancaster University

Embed: (wiki syntax)

« Back to documentation index

ble_dfu_evt_t Struct Reference

ble_dfu_evt_t Struct Reference
[Device Firmware Update Service]

DFU Event structure. More...

#include <ble_dfu.h>

Data Fields

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.
ble_pkt_rcpt_notif_req_t pkt_rcpt_notif_req
 Packet receipt notification request.

Detailed Description

DFU Event structure.

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

Definition at line 133 of file ble_dfu.h.


Field Documentation

Type of the event.

Definition at line 135 of file ble_dfu.h.

The DFU packet received.

This field is when the ble_dfu_evt_type field is set to BLE_DFU_PACKET_WRITE.

Definition at line 138 of file ble_dfu.h.

Packet receipt notification request.

This field is when the ble_dfu_evt_type field is set to BLE_DFU_PKT_RCPT_NOTIF_ENABLED.

Definition at line 139 of file ble_dfu.h.