mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-14 22:56:12 -04:00
Advertise as a peripheral, return the correct value for ServiceUUIDs
This commit is contained in:
@@ -63,8 +63,8 @@ class LEAdvertisement final
|
||||
}
|
||||
|
||||
// Properties
|
||||
std::string Type() override { return "broadcast"; }
|
||||
std::vector<std::string> ServiceUUIDs() override { return {}; }
|
||||
std::string Type() override { return "peripheral"; }
|
||||
std::vector<std::string> ServiceUUIDs() override { return service_uuids_; }
|
||||
std::map<std::string, sdbus::Variant> ManufacturerData() override {
|
||||
return {};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user