Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
|
Infuse-IoT GATT helpers. More...
#include <zephyr/bluetooth/conn.h>
#include <zephyr/bluetooth/addr.h>
Go to the source code of this file.
Data Structures | |
struct | bt_gatt_remote_char |
Remote GATT Characteristic information. More... | |
struct | bt_conn_auto_setup_cb |
Parameters for automatically setup connection. More... | |
struct | bt_conn_auto_database_cache |
Database cache to speed up repeat connections. More... | |
struct | bt_conn_auto_discovery |
Characteristics to discover on the connection. More... | |
Macros | |
#define | BT_CONN_AUTO_CACHE(name, num_characteristics) |
Create a cache variable that holds a given number of characteristics. | |
Functions | |
void | bt_conn_le_auto_setup (struct bt_conn *conn, struct bt_conn_auto_discovery *discovery, const struct bt_conn_auto_setup_cb *callbacks, uint8_t preferred_phy) |
Setup a connection with automatic MTU exchange and characteristic discovery. | |
int | bt_conn_disconnect_sync (struct bt_conn *conn) |
Trigger a disconnection and wait for it to complete. | |
int | bt_conn_disconnect_wait (struct bt_conn *conn, k_timeout_t timeout) |
Wait for a connection to disconnect, without initiating it. | |
int8_t | bt_conn_rssi (struct bt_conn *conn) |
Get last measured RSSI on a connection. | |
void | bt_conn_rssi_log (struct bt_conn *conn, uint8_t tdf_loggers) |
Start logging the RSSI of the connection. | |
Infuse-IoT GATT helpers.
SPDX-License-Identifier: FSL-1.1-ALv2