Nordic nrf51 sdk sources. Mirrored from https://github.com/ARMmbed/nrf51-sdk.

Dependents:   nRF51822 nRF51822

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.