nrf_dfu_res_t

nRF5 SDK v12.2.0

Response used during DFU operations. More...

#include <nrf_dfu_req_handler.h>

Data Fields

union {
struct {
uint8_t * p_res
uint32_t res_len
}
struct {
uint32_t max_size
uint32_t offset
uint32_t crc
}
};

Detailed Description

Response used during DFU operations.

Field Documentation

uint32_t nrf_dfu_res_t::crc

Current CRC.

uint32_t nrf_dfu_res_t::max_size

Maximum size of the object of a given type.

uint32_t nrf_dfu_res_t::offset

Current offset.

uint8_t* nrf_dfu_res_t::p_res

Pointer to an array holding the serialized version of the response.

uint32_t nrf_dfu_res_t::res_len

Length of the response array.

  • components/libraries/bootloader/dfu/nrf_dfu_req_handler.h