mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-13 14:18:35 -07:00
Fix and cleanup some headers
This commit is contained in:
@@ -20,11 +20,6 @@ typedef enum {
|
||||
BtStatusConnected,
|
||||
} BtStatus;
|
||||
|
||||
typedef struct {
|
||||
uint8_t rssi;
|
||||
uint32_t since;
|
||||
} BtRssi;
|
||||
|
||||
typedef void (*BtStatusChangedCallback)(BtStatus status, void* context);
|
||||
|
||||
/** Change BLE Profile
|
||||
@@ -84,6 +79,12 @@ void bt_keys_storage_set_storage_path(Bt* bt, const char* keys_storage_path);
|
||||
*/
|
||||
void bt_keys_storage_set_default_path(Bt* bt);
|
||||
|
||||
/** Get BLE remote RSSI value
|
||||
*
|
||||
* @param bt Bt instance
|
||||
*
|
||||
* @return true on success
|
||||
*/
|
||||
bool bt_remote_rssi(Bt* bt, uint8_t* rssi);
|
||||
|
||||
/** Open a new RPC connection
|
||||
|
||||
Reference in New Issue
Block a user