Lines Matching refs:gatt
76 static bluetooth::gatt::ServerInternals* g_internal = nullptr;
83 namespace gatt { namespace
115 const btgatt_interface_t* gatt; member
178 prev_char_properties & bluetooth::gatt::kPropertyNotify; in ServiceAddedCallback()
180 bluetooth::gatt::Characteristic& ctrl = in ServiceAddedCallback()
201 bt_status_t btstat = g_internal->gatt->client->register_client(client_id); in ServiceAddedCallback()
212 bluetooth::gatt::Characteristic& ch = in RequestReadCallback()
247 g_internal->gatt->server->send_response(conn_id, trans_id, 0, response); in RequestReadCallback()
263 bluetooth::gatt::Characteristic& ch = in RequestWriteCallback()
303 g_internal->gatt->server->send_response(conn_id, trans_id, 0, response); in RequestWriteCallback()
315 g_internal->gatt->server->send_response(conn_id, trans_id, 0, response); in RequestExecWriteCallback()
355 g_internal->gatt->advertiser->SetData(0 /* std_inst */, false, in RegisterClientCallback()
359 g_internal->gatt->advertiser->Enable( in RegisterClientCallback()
474 namespace gatt { namespace
480 gatt = reinterpret_cast<const btgatt_interface_t*>( in Initialize()
482 if (!gatt) { in Initialize()
487 bt_status_t btstat = gatt->init(&gatt_callbacks); in Initialize()
513 : gatt(nullptr), in ServerInternals()
523 gatt->server->delete_service(server_if, service_handle); in ~ServerInternals()
524 gatt->server->unregister_server(server_if); in ~ServerInternals()
525 gatt->client->unregister_client(client_if); in ~ServerInternals()
547 bt_status_t btstat = internal_->gatt->server->register_server(service_id); in Initialize()
581 internal_->gatt->advertiser->SetData(0, false, /* beacon, not scan response */ in SetAdvertisement()
607 internal_->gatt->advertiser->SetData(0, true, /* scan response */ in SetScanResponse()
660 bt_status_t btstat = internal_->gatt->server->add_service( in Start()
673 bt_status_t btstat = internal_->gatt->server->stop_service( in Stop()
685 internal_->gatt->scanner->Scan(true); in ScanEnable()
690 internal_->gatt->scanner->Scan(false); in ScanDisable()
711 internal_->gatt->server->send_indication(internal_->server_if, attribute_id, in SetCharacteristicValue()