Home
last modified time | relevance | path

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

/system/bt/btif/src/
Dbtif_gatt_test.c70 static btif_test_cb_t test_cb; variable
112 test_cb.conn_id = connected ? conn_id : 0; in btif_test_connect_cback()
226 test_cb.gatt_if = GATT_Register(&app_uuid, &btif_test_callbacks); in btif_gattc_test_command_impl()
227 GATT_StartIf(test_cb.gatt_if); in btif_gattc_test_command_impl()
229 GATT_Deregister(test_cb.gatt_if); in btif_gattc_test_command_impl()
230 test_cb.gatt_if = 0; in btif_gattc_test_command_impl()
247 if ( !GATT_Connect(test_cb.gatt_if, params->bda1->address, TRUE, BT_TRANSPORT_LE) ) in btif_gattc_test_command_impl()
256 LOG_DEBUG("%s: DISCONNECT - conn_id=%d", __FUNCTION__, test_cb.conn_id); in btif_gattc_test_command_impl()
257 GATT_Disconnect(test_cb.conn_id); in btif_gattc_test_command_impl()
278 __FUNCTION__, disc_name[params->u1], test_cb.conn_id, in btif_gattc_test_command_impl()
[all …]