Searched refs:gmap_role (Results 1 – 2 of 2) sorted by relevance
30 static uint8_t gmap_role; variable36 LOG_DBG("role 0x%02X", gmap_role); in read_gmap_role()38 return bt_gatt_attr_read(conn, attr, buf, len, offset, &gmap_role, sizeof(gmap_role)); in read_gmap_role()369 gmap_role = role; in bt_gmap_register()379 if (gmap_role == 0) { /* not registered if this is 0 */ in bt_gmap_set_role()397 if (gmap_role == role) { in bt_gmap_set_role()
41 static enum bt_gmap_role gmap_role; variable49 if (gmap_role == 0) { in gmap_ad_data_add()55 ad_gmap[2] = (uint8_t)gmap_role; in gmap_ad_data_add()130 gmap_role = (IS_ENABLED(CONFIG_BT_GMAP_UGG_SUPPORTED) ? BT_GMAP_ROLE_UGG : 0U) | in cmd_gmap_init()137 err = bt_gmap_register(gmap_role, features); in cmd_gmap_init()188 gmap_role = role; in cmd_gmap_set_role()