Advertise as a peripheral, return the correct value for ServiceUUIDs

This commit is contained in:
Vibhav Pant
2023-09-09 13:00:51 +05:30
parent d47788392e
commit a97244ad02
@@ -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 {};
}