Lines Matching refs:gatt
74 static bluetooth::gatt::ServerInternals *g_internal = nullptr;
81 namespace gatt { namespace
115 const btgatt_interface_t *gatt; member
144 g_internal->gatt->server->add_service( in RegisterServerCallback()
166 bluetooth::gatt::Characteristic &ch = g_internal->characteristics[attr_handle]; in RequestReadCallback()
200 g_internal->gatt->server->send_response(conn_id, trans_id, 0, &response); in RequestReadCallback()
216 bluetooth::gatt::Characteristic &ch = in RequestWriteCallback()
256 g_internal->gatt->server->send_response(conn_id, trans_id, 0, &response); in RequestWriteCallback()
268 g_internal->gatt->server->send_response(conn_id, trans_id, 0, &response); in RequestExecWriteCallback()
332 bt_status_t btstat = g_internal->gatt->client->register_client(&client_id); in ServiceStartedCallback()
344 bt_status_t btstat = g_internal->gatt->client->set_adv_data( in RegisterClientCallback()
360 btstat = g_internal->gatt->client->listen(client_if, true); in RegisterClientCallback()
482 namespace gatt { namespace
488 gatt = reinterpret_cast<const btgatt_interface_t *>( in Initialize()
490 if (!gatt) { in Initialize()
495 bt_status_t btstat = gatt->init(&gatt_callbacks); in Initialize()
515 return gatt->server->add_characteristic( in AddCharacteristic()
520 : gatt(nullptr), in ServerInternals()
532 gatt->server->delete_service(server_if, service_handle); in ~ServerInternals()
533 gatt->server->unregister_server(server_if); in ~ServerInternals()
534 gatt->client->unregister_client(client_if); in ~ServerInternals()
558 bt_status_t btstat = internal_->gatt->server->register_server(&uuid); in Initialize()
592 bt_status_t btstat = internal_->gatt->client->set_adv_data( in SetAdvertisement()
626 bt_status_t btstat = internal_->gatt->client->set_adv_data( in SetScanResponse()
701 bt_status_t btstat = internal_->gatt->server->start_service( in Start()
714 bt_status_t btstat = internal_->gatt->server->stop_service( in Stop()
726 bt_status_t btstat = internal_->gatt->client->scan(true); in ScanEnable()
735 bt_status_t btstat = internal_->gatt->client->scan(false); in ScanDisable()
762 internal_->gatt->server->send_indication(internal_->server_if, in SetCharacteristicValue()