R1 code for micro:bit based train controller code, requires second micro:bit running rx code to operate - see https://meanderingpi.wordpress.com/ for more information

Fork of nrf51-sdk by Lancaster University

Embed: (wiki syntax)

« Back to documentation index

ble_dfu_pkt_write_t Struct Reference

ble_dfu_pkt_write_t Struct Reference
[Device Firmware Update Service]

DFU Packet structure. More...

#include <ble_dfu.h>

Data Fields

uint8_t * p_data
 Pointer to the received packet.
uint8_t len
 Length of the packet received.

Detailed Description

DFU Packet structure.

This structure contains the value of the DFU Packet characteristic as written by the peer and the length of the value written. It will be filled by the DFU Service when the peer writes to the DFU Packet characteristic.

Definition at line 112 of file ble_dfu.h.

Field Documentation

uint8_t len

Length of the packet received.

Definition at line 115 of file ble_dfu.h.

uint8_t* p_data

Pointer to the received packet.

This will point to a word aligned memory location.

Definition at line 114 of file ble_dfu.h.