BLE: F3 integration (#260)
* BLE: working version * BLE: cleanup * BLE: update device description and DIS. * BLE: explicitly take semaphore and configure CLK48, bt subsystem status, remove LPM. * HAL: add missing api_hal_bt_is_alive symbol * TODO about valuemutex * duplicate f3-1 (f4) ioc from f3 * regenerate project * use target dir for ble glue path * update f4 from f3 Co-authored-by: coreglitch <mail@s3f.ru>
This commit is contained in:
21
firmware/targets/api-hal-include/api-hal-bt.h
Normal file
21
firmware/targets/api-hal-include/api-hal-bt.h
Normal file
@@ -0,0 +1,21 @@
|
||||
#pragma once
|
||||
|
||||
#include <m-string.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Initialize */
|
||||
void api_hal_bt_init();
|
||||
|
||||
/* Get BT/BLE system component state */
|
||||
void api_hal_bt_dump_state(string_t buffer);
|
||||
|
||||
/* Get BT/BLE system component state */
|
||||
bool api_hal_bt_is_alive();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
Reference in New Issue
Block a user