![]() |
nRF5 SDK
v15.2.0
|
Choose documentation: | nRF5 SDK | S112 SoftDevice API | S132 SoftDevice API | S140 SoftDevice API | S212 SoftDevice API |
Shared part of Device Firmware Update (DFU) transport layers using serial interface (UART, USB CDC ACM). More...
Modules | |
DFU Serial UART transport | |
Configuration for Device Firmware Update (DFU) transport layer using UART. | |
DFU Serial USB CDC ACM transport | |
Configuration for Device Firmware Update (DFU) transport layer using USB CDC ACM. | |
Data Structures | |
struct | nrf_dfu_serial_t |
DFU serial transport layer state. More... | |
Macros | |
#define | NRF_SERIAL_MAX_RESPONSE_SIZE (sizeof(nrf_dfu_response_t)) |
Typedefs | |
typedef ret_code_t(* | nrf_serial_rsp_func_t )(uint8_t const *p_data, uint32_t length) |
typedef void(* | nrf_serial_rx_buf_free_func_t )(void *p_buf) |
Functions | |
void | nrf_dfu_serial_on_packet_received (nrf_dfu_serial_t *p_transport, uint8_t const *p_data, uint32_t length) |
Shared part of Device Firmware Update (DFU) transport layers using serial interface (UART, USB CDC ACM).
typedef ret_code_t(* nrf_serial_rsp_func_t)(uint8_t const *p_data, uint32_t length) |
Prototype for function for sending response over serial DFU transport.
typedef void(* nrf_serial_rx_buf_free_func_t)(void *p_buf) |
Prototype for function for freeing RX buffer.
Function is called when input data is processed.