diff options
Diffstat (limited to 'src/Server.h')
-rw-r--r-- | src/Server.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Server.h b/src/Server.h index d6154dc..8a5031e 100644 --- a/src/Server.h +++ b/src/Server.h @@ -84,6 +84,9 @@ struct Server // Returns the requested setting the connectable state (true = enabled, false = disabled) bool getEnableConnectable() const { return enableConnectable; } + // Returns the requested setting the discoverable state (true = enabled, false = disabled) + bool getEnableDiscoverable() const { return enableDiscoverable; } + // Returns the requested setting the LE advertising state (true = enabled, false = disabled) bool getEnableAdvertising() const { return enableAdvertising; } @@ -201,6 +204,9 @@ private: // Connectable requested state bool enableConnectable; + // Discoverable requested state + bool enableDiscoverable; + // LE advertising requested state bool enableAdvertising; |