[GH-ISSUE #707] wm default ap name does not match esp default ap #594

Closed
opened 2026-02-28 01:26:05 +03:00 by kerem · 6 comments
Owner

Originally created by @tablatronix on GitHub (Aug 23, 2018).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/707

I was testing the other day and I noticed that the default ap did not match the generated wm one from chip id. It was a bit odd.

try to reproduce , I have a screenshot somewhere

Originally created by @tablatronix on GitHub (Aug 23, 2018). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/707 I was testing the other day and I noticed that the default ap did not match the generated wm one from chip id. It was a bit odd. try to reproduce , I have a screenshot somewhere
kerem 2026-02-28 01:26:05 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@Kadah commented on GitHub (Aug 24, 2018):

Do you mean this?
https://i.imgur.com/T7yBhBA.png

Testing using OnDemandConfigPortal.ino. Screenshot was of an ESP8266 (ESP-12F) after rebooting, but I got the same but different SSID on an ESP32 Thing.

<!-- gh-comment-id:415652259 --> @Kadah commented on GitHub (Aug 24, 2018): Do you mean this? https://i.imgur.com/T7yBhBA.png Testing using OnDemandConfigPortal.ino. Screenshot was of an ESP8266 (ESP-12F) after rebooting, but I got the same but different SSID on an ESP32 Thing.
Author
Owner

@tablatronix commented on GitHub (Aug 24, 2018):

Yeah the one the chip generates it different that the one wm generates when no ssid is provided

<!-- gh-comment-id:415736543 --> @tablatronix commented on GitHub (Aug 24, 2018): Yeah the one the chip generates it different that the one wm generates when no ssid is provided
Author
Owner

@tablatronix commented on GitHub (Aug 24, 2018):

ok so its not the same

ESP.getChipId() returns the ESP8266 chip ID as a 32-bit integer.

char hostString[16] = {0};
sprintf(hostString, "ESP_%06X", ESP.getChipId()); // not raw chipid
String(ESP.getChipId(),HEX);
hostname:ESP_390995
chipid:3738005
char hostString[16] = {0};
sprintf(hostString, "ESP_%06X", ESP.getChipId()); 

String(ESP.getChipId(),HEX);

print(ESP.getChipId(),HEX);
<!-- gh-comment-id:415842224 --> @tablatronix commented on GitHub (Aug 24, 2018): ok so its not the same `ESP.getChipId() returns the ESP8266 chip ID as a 32-bit integer.` ```C++ char hostString[16] = {0}; sprintf(hostString, "ESP_%06X", ESP.getChipId()); // not raw chipid String(ESP.getChipId(),HEX); hostname:ESP_390995 chipid:3738005 ``` ``` char hostString[16] = {0}; sprintf(hostString, "ESP_%06X", ESP.getChipId()); String(ESP.getChipId(),HEX); print(ESP.getChipId(),HEX); ```
Author
Owner

@tablatronix commented on GitHub (Aug 24, 2018):

Will have to test esp32 and see if this fix covers that as well

<!-- gh-comment-id:415846299 --> @tablatronix commented on GitHub (Aug 24, 2018): Will have to test esp32 and see if this fix covers that as well
Author
Owner

@tablatronix commented on GitHub (Aug 29, 2018):

esp32

  // AP esp_267751
  // ESP32 Chip ID = 507726A4AE30
<!-- gh-comment-id:417083288 --> @tablatronix commented on GitHub (Aug 29, 2018): esp32 ``` // AP esp_267751 // ESP32 Chip ID = 507726A4AE30 ```
Author
Owner

@tablatronix commented on GitHub (May 11, 2020):

  • fix esp chipid
<!-- gh-comment-id:626854341 --> @tablatronix commented on GitHub (May 11, 2020): - [ ] fix esp chipid
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/WiFiManager#594
No description provided.