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_start_packet_t Struct Reference

dfu_start_packet_t Struct Reference
[Types and definitions.]

Structure holding a start packet containing update mode and image sizes. More...

#include <dfu_types.h>

Data Fields

uint8_t dfu_update_mode
 Packet type, used to identify the content of the received packet referenced by data packet.
uint32_t sd_image_size
 Size of the SoftDevice image to be transferred.
uint32_t bl_image_size
 Size of the Bootloader image to be transferred.
uint32_t app_image_size
 Size of the application image to be transmitted.

Detailed Description

Structure holding a start packet containing update mode and image sizes.

Definition at line 109 of file dfu_types.h.


Field Documentation

uint32_t app_image_size

Size of the application image to be transmitted.

Zero if no Bootloader image will be transfered.

Definition at line 114 of file dfu_types.h.

uint32_t bl_image_size

Size of the Bootloader image to be transferred.

Zero if no Bootloader image will be transfered.

Definition at line 113 of file dfu_types.h.

uint8_t dfu_update_mode

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

Definition at line 111 of file dfu_types.h.

uint32_t sd_image_size

Size of the SoftDevice image to be transferred.

Zero if no SoftDevice image will be transfered.

Definition at line 112 of file dfu_types.h.