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

dfu_bank_internal.h File Reference

dfu_bank_internal.h File Reference

Go to the source code of this file.

Data Structures

struct  dfu_bank_func_t
 Structure for holding of function pointers for needed prepare and activate procedure for the requested update procedure. More...

Typedefs

typedef void(* dfu_bank_prepare_t )(uint32_t image_size)
 Type definition of function used for preparing of the bank before receiving of a software image.
typedef void(* dfu_bank_cleared_t )(void)
 Type definition of function used for handling clear complete of the bank before receiving of a software image.
typedef uint32_t(* dfu_bank_activate_t )(void)
 Type definition of function used for activating of the software image received.

Enumerations

enum  dfu_state_t {
  DFU_STATE_INIT_ERROR, DFU_STATE_IDLE, DFU_STATE_PREPARING, DFU_STATE_RDY,
  DFU_STATE_RX_INIT_PKT, DFU_STATE_RX_DATA_PKT, DFU_STATE_VALIDATE, DFU_STATE_WAIT_4_ACTIVATE
}
 

States of the DFU state machine.

More...

Variables

static uint32_t m_data_received
 Amount of received data.

Detailed Description

Definition in file dfu_bank_internal.h.