Searched refs:first_unuse (Results 1 – 1 of 1) sorted by relevance
140 UINT8 i, first_unuse = 0xff; in bta_gatts_register() local163 if (first_unuse == 0xff && !p_cb->rcb[i].in_use) in bta_gatts_register()165 first_unuse = i; in bta_gatts_register()174 if (first_unuse != 0xff) in bta_gatts_register()176 APPL_TRACE_ERROR1("register application first_unuse rcb_idx = %d", first_unuse); in bta_gatts_register()178 p_cb->rcb[first_unuse].in_use = TRUE; in bta_gatts_register()179 p_cb->rcb[first_unuse].p_cback = p_msg->api_reg.p_cback; in bta_gatts_register()180 memcpy(&p_cb->rcb[first_unuse].app_uuid, &p_msg->api_reg.app_uuid, sizeof(tBT_UUID)); in bta_gatts_register()182 … p_cb->rcb[first_unuse].gatt_if = GATT_Register(&p_msg->api_reg.app_uuid, &bta_gatts_cback); in bta_gatts_register()183 if ( !p_cb->rcb[first_unuse].gatt_if) in bta_gatts_register()[all …]