updates

Fork of nrf51-sdk by Lancaster University

Embed: (wiki syntax)

« Back to documentation index

ble_dfu_s Struct Reference

ble_dfu_s Struct Reference
[Device Firmware Update Service]

DFU service structure. More...

#include <ble_dfu.h>

Data Fields

uint16_t conn_handle
 Handle of the current connection (as provided by the S110 SoftDevice).
uint16_t revision
 Handle of DFU Service (as provided by the S110 SoftDevice).
uint16_t service_handle
 Handle of DFU Service (as provided by the S110 SoftDevice).
uint8_t uuid_type
 UUID type assigned for DFU Service by the S110 SoftDevice.
ble_gatts_char_handles_t dfu_pkt_handles
 Handles related to the DFU Packet characteristic.
ble_gatts_char_handles_t dfu_ctrl_pt_handles
 Handles related to the DFU Control Point characteristic.
ble_gatts_char_handles_t dfu_status_rep_handles
 Handles related to the DFU Status Report characteristic.
ble_gatts_char_handles_t dfu_rev_handles
 Handles related to the DFU Revision characteristic.
ble_dfu_evt_handler_t evt_handler
 The event handler to be called when an event is to be sent to the application.
ble_srv_error_handler_t error_handler
 Function to be called in case of an error.

Detailed Description

DFU service structure.

This structure contains status information related to the service.

Definition at line 153 of file ble_dfu.h.


Field Documentation

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

Definition at line 155 of file ble_dfu.h.

Handles related to the DFU Control Point characteristic.

Definition at line 160 of file ble_dfu.h.

Handles related to the DFU Packet characteristic.

Definition at line 159 of file ble_dfu.h.

Handles related to the DFU Revision characteristic.

Definition at line 162 of file ble_dfu.h.

Handles related to the DFU Status Report characteristic.

Definition at line 161 of file ble_dfu.h.

Function to be called in case of an error.

Definition at line 164 of file ble_dfu.h.

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

Definition at line 163 of file ble_dfu.h.

uint16_t revision

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

Definition at line 156 of file ble_dfu.h.

uint16_t service_handle

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

Definition at line 157 of file ble_dfu.h.

uint8_t uuid_type

UUID type assigned for DFU Service by the S110 SoftDevice.

Definition at line 158 of file ble_dfu.h.