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

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

This structure contains status information related to the service.

Field Documentation

uint16_t conn_handle

Handle of the current connection (as provided by the BLE stack, is BLE_CONN_HANDLE_INVALID if not in a connection).

uint16_t service_handle

Handle of DFU Service (as provided by the BLE stack).

uint8_t uuid_type

UUID type assigned for DFU Service by the BLE stack.

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