Lines Matching refs:test_cb
67 static btif_test_cb_t test_cb; variable
109 test_cb.conn_id = connected ? conn_id : 0; in btif_test_connect_cback()
222 test_cb.gatt_if = GATT_Register(&app_uuid, &btif_test_callbacks); in btif_gattc_test_command_impl()
223 GATT_StartIf(test_cb.gatt_if); in btif_gattc_test_command_impl()
225 GATT_Deregister(test_cb.gatt_if); in btif_gattc_test_command_impl()
226 test_cb.gatt_if = 0; in btif_gattc_test_command_impl()
243 if ( !GATT_Connect(test_cb.gatt_if, params->bda1->address, TRUE, BT_TRANSPORT_LE) ) in btif_gattc_test_command_impl()
252 LOG_DEBUG(LOG_TAG, "%s: DISCONNECT - conn_id=%d", __FUNCTION__, test_cb.conn_id); in btif_gattc_test_command_impl()
253 GATT_Disconnect(test_cb.conn_id); in btif_gattc_test_command_impl()
274 __FUNCTION__, disc_name[params->u1], test_cb.conn_id, in btif_gattc_test_command_impl()
276 GATTC_Discover(test_cb.conn_id, params->u1, ¶m); in btif_gattc_test_command_impl()