Smart Remote 3 nRF52 v1.2
Data Fields
nrf_dfu_req_t Struct Reference

Definition of a DFU request sent from the transport layer. More...

Data Fields

nrf_dfu_req_op_t req_type
 
uint32_t obj_type
 
uint32_t object_size
 
uint8_t const * p_req
 
uint32_t req_len
 

Detailed Description

Definition of a DFU request sent from the transport layer.

When the transport layer gets a DFU event, it calls the function nrf_dfu_req_handler_on_req to handle the DFU request.

Field Documentation

uint32_t nrf_dfu_req_t::obj_type

Object type of the object to be created for a request of type NRF_DFU_OBJECT_OP_CREATE.

uint32_t nrf_dfu_req_t::object_size

Size of the object to be created for a request of type NRF_DFU_OBJECT_OP_CREATE. Note that the object size is not the same as the size of the firmware.

uint8_t const* nrf_dfu_req_t::p_req

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

uint32_t nrf_dfu_req_t::req_len

Length of the request array.

nrf_dfu_req_op_t nrf_dfu_req_t::req_type

Request operation type.


Documentation feedback | Developer Zone | Subscribe | Updated