[GH-ISSUE #667] set country #558

Open
opened 2026-02-28 01:25:51 +03:00 by kerem · 3 comments
Owner

Originally created by @tablatronix on GitHub (Jul 19, 2018).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/667

/**
 * setCountry
 * @since $dev
 * @param String cc country code, must be defined in WiFiSetCountry, US, JP, CN
 */
void WiFiManager::setCountry(String cc){
  _wificountry = cc;
}

country odes that are defined atm as US CN JP
default is US

Originally created by @tablatronix on GitHub (Jul 19, 2018). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/667 ```CPP /** * setCountry * @since $dev * @param String cc country code, must be defined in WiFiSetCountry, US, JP, CN */ void WiFiManager::setCountry(String cc){ _wificountry = cc; } ``` country odes that are defined atm as US CN JP default is US
Author
Owner

@tablatronix commented on GitHub (Jul 19, 2018):

implemeted because I am having issues connecting to my esp32 that identifies as CN by default.
osx for example just says wrong password, instead of connecting.

<!-- gh-comment-id:406310642 --> @tablatronix commented on GitHub (Jul 19, 2018): implemeted because I am having issues connecting to my esp32 that identifies as CN by default. osx for example just says wrong password, instead of connecting.
Author
Owner

@tablatronix commented on GitHub (Jul 19, 2018):

d140ccff84

<!-- gh-comment-id:406310740 --> @tablatronix commented on GitHub (Jul 19, 2018): d140ccff84fc4881095aeddced2b7917e708963f
Author
Owner

@tablatronix commented on GitHub (Sep 13, 2019):

  • implement country for esp8266

Getting odd linker problems with this one, got it working, but still get unused warnings

github.com/tzapu/WiFiManager@5d9a51f671 (commitcomment-35075076)

<!-- gh-comment-id:531224159 --> @tablatronix commented on GitHub (Sep 13, 2019): - [x] implement country for esp8266 Getting odd linker problems with this one, got it working, but still get unused warnings https://github.com/tzapu/WiFiManager/commit/5d9a51f6713e9981850de55d0d37a1f639604f74#commitcomment-35075076
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#558
No description provided.