updates

Fork of nrf51-sdk by Lancaster University

Embed: (wiki syntax)

« Back to documentation index

ble_dfu_init_t Struct Reference

ble_dfu_init_t Struct Reference
[Device Firmware Update Service]

DFU service initialization structure. More...

#include <ble_dfu.h>

Data Fields

uint16_t revision
 Revision number to be exposed by the DFU service.
ble_dfu_evt_handler_t evt_handler
 Event handler to be called for handling events in the Device Firmware Update Service.
ble_srv_error_handler_t error_handler
 Function to be called in case of an error.

Detailed Description

DFU service initialization structure.

This structure contains the initialization information for the DFU Service. The application needs to fill this structure and pass it to the DFU Service using the ble_dfu_init function.

Definition at line 173 of file ble_dfu.h.


Field Documentation

Function to be called in case of an error.

Definition at line 177 of file ble_dfu.h.

Event handler to be called for handling events in the Device Firmware Update Service.

Definition at line 176 of file ble_dfu.h.

uint16_t revision

Revision number to be exposed by the DFU service.

Definition at line 175 of file ble_dfu.h.