Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: BLE_API_Tiny_BLE MPU6050-DMP-Seeed-Tiny-BLE mbed
Go to the source code of this file.
Typedefs | |
| typedef void(* | dfu_callback_t )(uint32_t packet, uint32_t result, uint8_t *p_data) |
| DFU event callback for asynchronous calls. | |
Functions | |
| uint32_t | dfu_init (void) |
| Function for initializing the Device Firmware Update module. | |
| void | dfu_register_callback (dfu_callback_t callback_handler) |
| Function for registering a callback listener for dfu_data_pkt_handle callbacks. | |
| uint32_t | dfu_start_pkt_handle (dfu_update_packet_t *p_packet) |
| Function for setting the DFU image size. | |
| uint32_t | dfu_data_pkt_handle (dfu_update_packet_t *p_packet) |
| Function for handling DFU data packets. | |
| uint32_t | dfu_init_pkt_handle (dfu_update_packet_t *p_packet) |
| Function for handling DFU init packets. | |
| uint32_t | dfu_image_validate (void) |
| Function for validating a transferred image after the transfer has completed. | |
| uint32_t | dfu_image_activate (void) |
| Function for activating the transfered image after validation has successfully completed. | |
| void | dfu_reset (void) |
| Function for reseting the current update procedure and return to initial state. | |
| uint32_t | dfu_bl_image_validate (void) |
| Function for validating that new bootloader has been correctly installed. | |
| uint32_t | dfu_sd_image_validate (void) |
| Function for validating that new SoftDevicehas been correctly installed. | |
| uint32_t | dfu_bl_image_swap (void) |
| Function for swapping existing bootloader with newly received. | |
| uint32_t | dfu_sd_image_swap (void) |
| Function for swapping existing SoftDevice with newly received. | |
| uint32_t | dfu_init_pkt_complete (void) |
| Function for handling DFU init packet complete. | |
Detailed Description
Definition in file dfu.h.
Generated on Tue Jul 12 2022 18:38:31 by
1.7.2