Home
last modified time | relevance | path

Searched refs:peer_role (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/subsys/bluetooth/audio/
Dtmap.c51 uint16_t peer_role; in tmap_char_read() local
63 if (length != sizeof(peer_role)) { in tmap_char_read()
72 peer_role = sys_get_le16(data); in tmap_char_read()
74 if ((peer_role > 0U) && (peer_role <= TMAP_ALL_ROLES)) { in tmap_char_read()
76 cb->discovery_complete((enum bt_tmap_role)peer_role, conn, 0); in tmap_char_read()
/Zephyr-latest/samples/bluetooth/tmap_peripheral/src/
Dmain.c81 void tmap_discovery_complete(enum bt_tmap_role peer_role, struct bt_conn *conn, int err) in tmap_discovery_complete() argument
92 peer_is_cg = (peer_role & BT_TMAP_ROLE_CG) != 0; in tmap_discovery_complete()
93 peer_is_ums = (peer_role & BT_TMAP_ROLE_UMS) != 0; in tmap_discovery_complete()