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

dfu_data_packet_t Struct Reference

dfu_data_packet_t Struct Reference
[Types and definitions.]

Structure holding a bootloader init/data packet received. More...

#include <dfu_types.h>

Data Fields

uint32_t packet_length
 Packet length of the data packet.
uint32_t * p_data_packet
 Data Packet received.

Detailed Description

Structure holding a bootloader init/data packet received.

Definition at line 119 of file dfu_types.h.


Field Documentation

uint32_t* p_data_packet

Data Packet received.

Each data is a word size entry.

Definition at line 122 of file dfu_types.h.

uint32_t packet_length

Packet length of the data packet.

Each data is word size, meaning length of 4 is 4 words, not bytes.

Definition at line 121 of file dfu_types.h.