Patched version of nrf51822 FOTA compatible driver, with GPTIO disabled, as it clashed with the mbed definitions...

Fork of nRF51822 by Nordic Semiconductor

Embed: (wiki syntax)

« Back to documentation index

Types and definitions.

Device Firmware Update module type and definitions. More...

Data Structures

struct  SOFTDEVICE_INFORMATION_Type
 Structure holding SoftDevice information to be used by the Bootloader/DFU. More...
struct  dfu_start_packet_t
 Structure holding a start packet containing update mode and image sizes. More...
struct  dfu_data_packet_t
 Structure holding a bootloader init/data packet received. More...
struct  dfu_update_packet_t
 Structure for holding dfu update packet. More...
struct  dfu_update_status_t
 Structure holding DFU complete event. More...

Typedefs

typedef void(* dfu_complete_handler_t )(dfu_update_status_t dfu_update_status)
 Update complete handler type.

Enumerations

enum  dfu_update_status_code_t {
  DFU_UPDATE_APP_COMPLETE, DFU_UPDATE_SD_COMPLETE, DFU_UPDATE_SD_SWAPPED, DFU_UPDATE_BOOT_COMPLETE,
  DFU_BANK_0_ERASED, DFU_TIMEOUT, DFU_RESET
}
 

DFU status error codes.

More...

Detailed Description

Device Firmware Update module type and definitions.


Typedef Documentation

typedef void(* dfu_complete_handler_t)(dfu_update_status_t dfu_update_status)

Update complete handler type.

Definition at line 144 of file dfu_types.h.


Enumeration Type Documentation

DFU status error codes.

Enumerator:
DFU_UPDATE_APP_COMPLETE 

Status update of application complete.

DFU_UPDATE_SD_COMPLETE 

Status update of SoftDevice update complete.

Note that this solely indicates that a new SoftDevice has been received and stored in bank 0 and 1.

DFU_UPDATE_SD_SWAPPED 

Status update of SoftDevice update complete.

Note that this solely indicates that a new SoftDevice has been received and stored in bank 0 and 1.

DFU_UPDATE_BOOT_COMPLETE 

Status update complete.

DFU_BANK_0_ERASED 

Status bank 0 erased.

DFU_TIMEOUT 

Status timeout.

DFU_RESET 

Status Reset to indicate current update procedure has been aborted and system should reset.

Definition at line 120 of file dfu_types.h.