Microbit as a BLE gamepad

Dependents:   nRF51822

Fork of nrf51-sdk by Lancaster University

Embed: (wiki syntax)

« Back to documentation index

dfu_update_packet_t Struct Reference

dfu_update_packet_t Struct Reference
[Types and definitions.]

Structure for holding dfu update packet. More...

#include <dfu_types.h>

Data Fields

uint32_t packet_type
 Packet type, used to identify the content of the received packet referenced by data packet.
dfu_data_packet_t data_packet
 Used when packet type is INIT_PACKET or DATA_PACKET.
dfu_start_packet_tstart_packet
 Used when packet type is START_DATA_PACKET.

Detailed Description

Structure for holding dfu update packet.

Packet type indicate the type of packet.

Definition at line 127 of file dfu_types.h.


Field Documentation

Used when packet type is INIT_PACKET or DATA_PACKET.

Packet contains data received for init or data.

Definition at line 132 of file dfu_types.h.

uint32_t packet_type

Packet type, used to identify the content of the received packet referenced by data packet.

Definition at line 129 of file dfu_types.h.

Used when packet type is START_DATA_PACKET.

Will contain information on software to be updtaed, i.e. SoftDevice, Bootloader and/or Application along with image sizes.

Definition at line 133 of file dfu_types.h.