Lines Matching refs:gatt

76 static bluetooth::gatt::ServerInternals* g_internal = nullptr;
83 namespace gatt { namespace
115 const btgatt_interface_t* gatt; member
179 prev_char_properties & bluetooth::gatt::kPropertyNotify; in ServiceAddedCallback()
181 bluetooth::gatt::Characteristic& ctrl = in ServiceAddedCallback()
203 g_internal->gatt->client->register_client(client_id, false); in ServiceAddedCallback()
214 bluetooth::gatt::Characteristic& ch = in RequestReadCallback()
249 g_internal->gatt->server->send_response(conn_id, trans_id, 0, response); in RequestReadCallback()
265 bluetooth::gatt::Characteristic& ch = in RequestWriteCallback()
305 g_internal->gatt->server->send_response(conn_id, trans_id, 0, response); in RequestWriteCallback()
317 g_internal->gatt->server->send_response(conn_id, trans_id, 0, response); in RequestExecWriteCallback()
357 g_internal->gatt->advertiser->SetData(0 /* std_inst */, false, in RegisterClientCallback()
361 g_internal->gatt->advertiser->Enable( in RegisterClientCallback()
477 namespace gatt { namespace
483 gatt = reinterpret_cast<const btgatt_interface_t*>( in Initialize()
485 if (!gatt) { in Initialize()
490 bt_status_t btstat = gatt->init(&gatt_callbacks); in Initialize()
516 : gatt(nullptr), in ServerInternals()
526 gatt->server->delete_service(server_if, service_handle); in ~ServerInternals()
527 gatt->server->unregister_server(server_if); in ~ServerInternals()
528 gatt->client->unregister_client(client_if); in ~ServerInternals()
551 internal_->gatt->server->register_server(service_id, false); in Initialize()
585 internal_->gatt->advertiser->SetData(0, false, /* beacon, not scan response */ in SetAdvertisement()
611 internal_->gatt->advertiser->SetData(0, true, /* scan response */ in SetScanResponse()
664 bt_status_t btstat = internal_->gatt->server->add_service( in Start()
677 bt_status_t btstat = internal_->gatt->server->stop_service( in Stop()
689 internal_->gatt->scanner->Scan(true); in ScanEnable()
694 internal_->gatt->scanner->Scan(false); in ScanDisable()
715 internal_->gatt->server->send_indication(internal_->server_if, attribute_id, in SetCharacteristicValue()