nRF51 SDK: ble_dfu_init_t Struct Reference

| nRF51 SDK

- Home
- Related Pages
- API Reference
- Data Structures

- Data Structures
- Data Structure Index
- Data Fields

All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Data Fields
ble_dfu_init_t Struct Reference
Device Firmware Update Service

DFU service initialization structure. More...

`#include <ble_dfu.h>`

## Data Fields

ble_dfu_evt_handler_t | evt_handler
ble_srv_error_handler_t | error_handler

## 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.

## Field Documentation

ble_srv_error_handler_t ble_dfu_init_t::error_handler

Function to be called in case of an error.

ble_dfu_evt_handler_t ble_dfu_init_t::evt_handler

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