nRF51 SDK - S110 SoftDevice
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
ble_dfu_s Struct Reference

DFU service structure. More...

#include <ble_dfu.h>

Data Fields

uint16_t conn_handle
 
uint16_t service_handle
 
uint8_t uuid_type
 
ble_gatts_char_handles_t dfu_pkt_handles
 
ble_gatts_char_handles_t dfu_ctrl_pt_handles
 
ble_gatts_char_handles_t dfu_status_rep_handles
 
ble_dfu_evt_handler_t evt_handler
 
ble_srv_error_handler_t error_handler
 

Detailed Description

DFU service structure.

This structure contains status information related to the service.

Field Documentation

uint16_t ble_dfu_s::conn_handle

Handle of the current connection (as provided by the S110 SoftDevice). This will be BLE_CONN_HANDLE_INVALID when not in a connection.

ble_gatts_char_handles_t ble_dfu_s::dfu_ctrl_pt_handles

Handles related to the DFU Control Point characteristic.

ble_gatts_char_handles_t ble_dfu_s::dfu_pkt_handles

Handles related to the DFU Packet characteristic.

ble_gatts_char_handles_t ble_dfu_s::dfu_status_rep_handles

Handles related to the DFU Status Report characteristic.

ble_srv_error_handler_t ble_dfu_s::error_handler

Function to be called in case of an error.

ble_dfu_evt_handler_t ble_dfu_s::evt_handler

The event handler to be called when an event is to be sent to the application.

uint16_t ble_dfu_s::service_handle

Handle of DFU Service (as provided by the S110 SoftDevice).

uint8_t ble_dfu_s::uuid_type

UUID type assigned for DFU Service by the S110 SoftDevice.