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
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
32
43int bt_controller_manager_file_write_start(uint32_t *ctx, uint8_t action, size_t image_len);
44
56int bt_controller_manager_file_write_next(uint32_t ctx, uint32_t image_offset,
57 const void *image_chunk, size_t chunk_len);
58
69int bt_controller_manager_file_write_finish(uint32_t ctx, uint32_t *len, uint32_t *crc);
70
75#ifdef __cplusplus
76}
77#endif
78
79#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.