diff options
author | Paul Nettle <nettle.paul@gmail.com> | 2017-09-03 08:15:12 -0500 |
---|---|---|
committer | Paul Nettle <nettle.paul@gmail.com> | 2017-09-03 08:15:12 -0500 |
commit | 23e46d2de44a3d49063e852a38b020e7407a78bc (patch) | |
tree | 7eca15bc1e93dc47d828dc9cef72f66515d287c5 /src/Mgmt.h | |
parent | Cleaned up the logging a bit, improved server termination status returned fro... (diff) | |
download | gobbledegook-23e46d2de44a3d49063e852a38b020e7407a78bc.tar.gz gobbledegook-23e46d2de44a3d49063e852a38b020e7407a78bc.tar.bz2 gobbledegook-23e46d2de44a3d49063e852a38b020e7407a78bc.zip |
The GGK server names are no longer in Globals.h but are now configured by ggkStart() allowing an application to change them based on configuration rather than compilation. Power-off-disconnect errors hacked out of existence. A few log lines that were set to trace converted to debug log levels to reduce logspam.
Diffstat (limited to 'src/Mgmt.h')
-rw-r--r-- | src/Mgmt.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -50,10 +50,10 @@ struct Mgmt // // The length of the controller's name (not including null terminator) - static const int kMaxNameLength = 248; + static const int kMaxAdvertisingNameLength = 248; // The length of the controller's short name (not including null terminator) - static const int kMaxShortNameLength = 10; + static const int kMaxAdvertisingShortNameLength = 10; // // Types @@ -127,8 +127,8 @@ struct Mgmt // Set the adapter name and short name // // The inputs `name` and `shortName` may be truncated prior to setting them on the adapter. To ensure that `name` and - // `shortName` conform to length specifications prior to calling this method, see the constants `kMaxNameLength` and - // `kMaxShortNameLength`. In addition, the static methods `truncateName()` and `truncateShortName()` may be helpful. + // `shortName` conform to length specifications prior to calling this method, see the constants `kMaxAdvertisingNameLength` and + // `kMaxAdvertisingShortNameLength`. In addition, the static methods `truncateName()` and `truncateShortName()` may be helpful. // // Returns true on success, otherwise false bool setName(std::string name, std::string shortName); |