nRF51 SDK - S110 SoftDevice
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
dfu_update_packet_t Struct Reference

Structure for holding dfu update packet. Packet type indicate the type of packet. More...

#include <dfu_types.h>

Data Fields

uint32_t packet_type
 
union {
   dfu_data_packet_t   data_packet
 
   dfu_start_packet_t *   start_packet
 
params
 

Detailed Description

Structure for holding dfu update packet. Packet type indicate the type of packet.

Field Documentation

dfu_data_packet_t dfu_update_packet_t::data_packet

Used when packet type is INIT_PACKET or DATA_PACKET. Packet contains data received for init or data.

uint32_t dfu_update_packet_t::packet_type

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

dfu_start_packet_t* dfu_update_packet_t::start_packet

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.