Searched refs:peer_role (Results 1 – 2 of 2) sorted by relevance
51 uint16_t peer_role; in tmap_char_read() local63 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()
81 void tmap_discovery_complete(enum bt_tmap_role peer_role, struct bt_conn *conn, int err) in tmap_discovery_complete() argument92 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()