Browse Source

Do not use underscore in SSID / hostname

rfm69
Maxim Prokhorov 6 years ago
parent
commit
bba4073a4f
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      code/espurna/config/defaults.h
  2. +1
    -1
      code/espurna/utils.ino

+ 1
- 1
code/espurna/config/defaults.h View File

@ -399,7 +399,7 @@
// General
// -----------------------------------------------------------------------------
// Default hostname will be ESPURNA_XXXXXX, where XXXXXX is last 3 octets of chipID
// Default hostname will be ESPURNA-XXXXXX, where XXXXXX is last 3 octets of chipID
#ifndef HOSTNAME
#define HOSTNAME ""
#endif


+ 1
- 1
code/espurna/utils.ino View File

@ -11,7 +11,7 @@ Ticker _defer_reset;
String getIdentifier() {
char buffer[20];
snprintf_P(buffer, sizeof(buffer), PSTR("%s_%06X"), APP_NAME, ESP.getChipId());
snprintf_P(buffer, sizeof(buffer), PSTR("%s-%06X"), APP_NAME, ESP.getChipId());
return String(buffer);
}


Loading…
Cancel
Save