diff options
author | Bruno Randolf <br1@einfach.org> | 2019-01-05 18:34:13 +0000 |
---|---|---|
committer | Bruno Randolf <br1@einfach.org> | 2019-01-05 18:36:39 +0000 |
commit | 30436c84b2c35982c41c33a7adfb0307884f5ee9 (patch) | |
tree | 540f790b12ca77bac7099d0885148e11fcb54ab4 /src/Server.cpp | |
parent | Improved handling of connection counts dealing with latent disconnects on sta... (diff) | |
download | gobbledegook-30436c84b2c35982c41c33a7adfb0307884f5ee9.tar.gz gobbledegook-30436c84b2c35982c41c33a7adfb0307884f5ee9.tar.bz2 gobbledegook-30436c84b2c35982c41c33a7adfb0307884f5ee9.zip |
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 <br1@einfach.org>
Diffstat (limited to 'src/Server.cpp')
-rw-r--r-- | src/Server.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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; |