Microbit as a BLE gamepad

Dependents:   nRF51822

Fork of nrf51-sdk by Lancaster University

Embed: (wiki syntax)

« Back to documentation index

dfu_ble_peer_data_t Struct Reference

dfu_ble_peer_data_t Struct Reference
[DFU BLE SVC]

DFU Peer data structure. More...

#include <dfu_ble_svc.h>

Data Fields

ble_gap_addr_t addr
 BLE GAP address of the device that initiated the DFU process.
ble_gap_irk_t irk
 IRK of the device that initiated the DFU process if this device uses Private Resolvable Addresses.
ble_gap_enc_key_t enc_key
 Encryption key structure containing encrypted diversifier and LTK for re-establishing the bond.
uint8_t sys_serv_attr [SYSTEM_SERVICE_ATT_SIZE]
 System service attributes for restoring of Service Changed Indication setting in DFU mode.

Detailed Description

DFU Peer data structure.

This structure contains peer data needed for connection to a bonded device during DFU. The peer data must be provided by the application to the bootloader during buttonless update. See dfu_ble_svc_peer_data_set. It contains bond information about the desired DFU peer.

Definition at line 80 of file dfu_ble_svc.h.


Field Documentation

BLE GAP address of the device that initiated the DFU process.

Definition at line 82 of file dfu_ble_svc.h.

Encryption key structure containing encrypted diversifier and LTK for re-establishing the bond.

Definition at line 84 of file dfu_ble_svc.h.

IRK of the device that initiated the DFU process if this device uses Private Resolvable Addresses.

Definition at line 83 of file dfu_ble_svc.h.

uint8_t sys_serv_attr[SYSTEM_SERVICE_ATT_SIZE]

System service attributes for restoring of Service Changed Indication setting in DFU mode.

Definition at line 85 of file dfu_ble_svc.h.