Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
controller_manager.h
Go to the documentation of this file.
1
9
10#ifndef INFUSE_SDK_INCLUDE_INFUSE_BLUETOOTH_CONTROLLER_MANAGE_H_
11#define INFUSE_SDK_INCLUDE_INFUSE_BLUETOOTH_CONTROLLER_MANAGE_H_
12
13#include <stdint.h>
14
15#ifdef __cplusplus
16extern "C" {
17#endif
18
25
33
44int bt_controller_manager_file_write_start(uint32_t *ctx, uint8_t action, size_t image_len);
45
57int bt_controller_manager_file_write_next(uint32_t ctx, uint32_t image_offset,
58 const void *image_chunk, size_t chunk_len);
59
70int bt_controller_manager_file_write_finish(uint32_t ctx, uint32_t *len, uint32_t *crc);
71
75
76#ifdef __cplusplus
77}
78#endif
79
80#endif /* INFUSE_SDK_INCLUDE_INFUSE_BLUETOOTH_CONTROLLER_MANAGE_H_ */
int bt_controller_manager_file_write_start(uint32_t *ctx, uint8_t action, size_t image_len)
Start Bluetooth controller file write.
int bt_controller_manager_file_write_next(uint32_t ctx, uint32_t image_offset, const void *image_chunk, size_t chunk_len)
Write the next chunk of the file to the Bluetooth controller.
int bt_controller_manager_init(void)
Initialise management of Bluetooth controller.
int bt_controller_manager_file_write_finish(uint32_t ctx, uint32_t *len, uint32_t *crc)
Finish the Bluetooth controller file write.