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

Structure holding a bootloader packet received on the UART. More...

#include <dfu_types.h>

Data Fields

uint32_t packet_type
 
uint32_t packet_length
 
uint32_t * p_data_packet
 

Detailed Description

Structure holding a bootloader packet received on the UART.

Field Documentation

uint32_t* dfu_update_packet_t::p_data_packet

Data Packet received. Each data is a word size entry.

uint32_t dfu_update_packet_t::packet_length

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

uint32_t dfu_update_packet_t::packet_type

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