Home
last modified time | relevance | path

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

/system/bt/test/suite/cases/
Dgatt.c19 TASSERT(gatt_interface != NULL, "Null GATT interface."); in gatt_client_register()
24 …CALL_AND_WAIT(gatt_interface->client->register_client(&gatt_client_uuid), btgattc_register_app_cb); in gatt_client_register()
28 gatt_interface->client->unregister_client(gatt_get_client_interface()); in gatt_client_register()
34 TASSERT(gatt_interface != NULL, "Null GATT interface."); in gatt_client_scan()
37 CALL_AND_WAIT(gatt_interface->client->scan(true), btgattc_scan_result_cb); in gatt_client_scan()
40 gatt_interface->client->scan(false); in gatt_client_scan()
46 TASSERT(gatt_interface != NULL, "Null GATT interface."); in gatt_client_advertise()
51 …CALL_AND_WAIT(gatt_interface->client->register_client(&gatt_client_uuid), btgattc_register_app_cb); in gatt_client_advertise()
55 …CALL_AND_WAIT(gatt_interface->client->listen(gatt_get_client_interface(), true), btgattc_advertise… in gatt_client_advertise()
59 …CALL_AND_WAIT(gatt_interface->client->listen(gatt_get_client_interface(), false), btgattc_advertis… in gatt_client_advertise()
[all …]
/system/bt/test/suite/support/
Dgatt.h23 extern const btgatt_interface_t *gatt_interface;
Dgatt.c24 const btgatt_interface_t *gatt_interface; variable
36 gatt_interface = bt_interface->get_profile_interface(BT_PROFILE_GATT_ID); in gatt_init()
37 return gatt_interface->init(callbacks_get_gatt_struct()) == BT_STATUS_SUCCESS; in gatt_init()