nRF51 SDK: dfu_update_packet_t Struct Reference

| nRF51 SDK

- Home
- Related Pages
- API Reference
- Data Structures

- Data Structures
- Data Structure Index
- Data Fields

All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Data Fields
dfu_update_packet_t Struct Reference
Types and definitions.

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.