From 23e46d2de44a3d49063e852a38b020e7407a78bc Mon Sep 17 00:00:00 2001 From: Paul Nettle Date: Sun, 3 Sep 2017 08:15:12 -0500 Subject: 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. --- src/Mgmt.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/Mgmt.h') diff --git a/src/Mgmt.h b/src/Mgmt.h index dfd5b95..23315a5 100644 --- a/src/Mgmt.h +++ b/src/Mgmt.h @@ -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); -- cgit v1.2.3