Home
last modified time | relevance | path

Searched refs:conn_id (Results 1 – 5 of 5) sorted by relevance

/Zephyr-latest/subsys/bluetooth/audio/
Dtmap.c91 uint8_t conn_id = bt_conn_index(conn); in discover_func() local
107 if (!bt_uuid_cmp(discover_params[conn_id].uuid, BT_UUID_TMAS)) { in discover_func()
110 memcpy(&uuid[conn_id], BT_UUID_GATT_TMAPR, sizeof(uuid[conn_id])); in discover_func()
111 discover_params[conn_id].uuid = &uuid[conn_id].uuid; in discover_func()
112 discover_params[conn_id].start_handle = attr->handle + 1; in discover_func()
113 discover_params[conn_id].type = BT_GATT_DISCOVER_CHARACTERISTIC; in discover_func()
116 err = bt_gatt_discover(conn, &discover_params[conn_id]); in discover_func()
120 } else if (!bt_uuid_cmp(discover_params[conn_id].uuid, BT_UUID_GATT_TMAPR)) { in discover_func()
122 read_params[conn_id].func = tmap_char_read; in discover_func()
123 read_params[conn_id].handle_count = 1u; in discover_func()
[all …]
/Zephyr-latest/include/zephyr/net/
Dconn_mgr_connectivity_impl.h119 #define CONN_MGR_CONN_IMPL_GET_NAME(conn_id) __conn_mgr_conn_##conn_id argument
120 #define CONN_MGR_CONN_IMPL_GET_CTX_TYPE(conn_id) conn_id##_CTX_TYPE argument
139 #define CONN_MGR_CONN_DEFINE(conn_id, conn_api) \ argument
140 const struct conn_mgr_conn_impl CONN_MGR_CONN_IMPL_GET_NAME(conn_id) = { \
147 #define CONN_MGR_CONN_DECLARE_PUBLIC(conn_id) \ argument
148 extern const struct conn_mgr_conn_impl CONN_MGR_CONN_IMPL_GET_NAME(conn_id)
213 #define CONN_MGR_BIND_CONN_INST(dev_id, inst, conn_id) \ argument
215 static CONN_MGR_CONN_IMPL_GET_CTX_TYPE(conn_id) \
220 .impl = &(CONN_MGR_CONN_IMPL_GET_NAME(conn_id)), \
231 #define CONN_MGR_BIND_CONN(dev_id, conn_id) \ argument
[all …]
/Zephyr-latest/tests/bluetooth/tester/src/audio/
Dbtp_bap_unicast.h33 uint8_t conn_id; member
Dbtp_bap_unicast.c513 u_stream->conn_id = bt_conn_index(stream->conn); in stream_configured()
514 u_conn = &connections[u_stream->conn_id]; in stream_configured()
586 u_conn = &connections[u_stream->conn_id]; in stream_released()
Dbtp_cap.c214 u_stream->conn_id = bt_conn_index(conn); in cap_unicast_setup_ase()