Edge AI Add-on API 2.2.0
Loading...
Searching...
No Matches
ble_gatt.h File Reference
#include "../ble_common.h"
#include <stddef.h>

Go to the source code of this file.

Typedefs

typedef void(* ble_data_received_cb_t) (const char *data, size_t len)
 BLE data received callback, this callback will be called when new data is received from the BLE GATT profile.
 

Functions

int ble_gatt_init (ble_data_received_cb_t data_received_cb)
 Initialize BLE GATT profile and start advertising.
 
int ble_gatt_send_raw_data (const uint8_t *data, size_t len)
 Send Neuton inference result over BLE GATT profile.
 
int ble_gatt_start_advertising (void)
 Start BLE advertising.
 
int ble_gatt_get_rssi (int8_t *out_rssi)
 Get RSSI of the current connection.