Fix and cleanup some headers

This commit is contained in:
Willy-JL
2024-08-07 02:17:40 +02:00
parent 6c1ec67346
commit fe390ccd02
4 changed files with 17 additions and 8 deletions

View File

@@ -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