From 30436c84b2c35982c41c33a7adfb0307884f5ee9 Mon Sep 17 00:00:00 2001 From: Bruno Randolf Date: Sat, 5 Jan 2019 18:34:13 +0000 Subject: Add setting of discoverable mode This is necessary for the advertisements to be in "LE General Discoverable Mode" which makes them visible (especially to other Linux boxes). Signed-off-by: Bruno Randolf --- src/Server.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Server.cpp') diff --git a/src/Server.cpp b/src/Server.cpp index 87b3279..47a74da 100644 --- a/src/Server.cpp +++ b/src/Server.cpp @@ -243,6 +243,7 @@ Server::Server(const std::string &serviceName, const std::string &advertisingNam enableBREDR = false; enableSecureConnection = false; enableConnectable = true; + enableDiscoverable = true; enableAdvertising = true; enableBondable = false; -- cgit v1.2.3