mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 09:05:56 +03:00
[GH-ISSUE #62] Static IP when in Station Mode #44
Labels
No labels
📶 WiFi
🕸️ HTTP
Branch
DEV Help Wanted
Discussion
Documentation
ESP32
Example
Good First Issue
Hotfix
In Progress
Incomplete
Needs Feeback
Priority
QA
Question
Task
Upstream/Dependancy
bug
duplicate
enhancement
invalid
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/WiFiManager#44
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jonathanendersby on GitHub (Jan 16, 2016).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/62
Is there any way to specify a static IP when in station mode?
@tzapu commented on GitHub (Jan 16, 2016):
not currently,
on the road map to sort
@tzapu commented on GitHub (Jan 17, 2016):
thanks for the pull request
now added, together with suggested modifications to variables
please test and reopen if problematic
@josep112 commented on GitHub (Jan 23, 2016):
Hello after update wifimanager to use wifiManager.setSTAStaticIP Config now appears this error:
/Users/joseantoniosanchez/Documents/Arduino/libraries/WiFiManager-master/WiFiManager.cpp: In member function 'void WiFiManager::handleWifiSave()':
/Users/joseantoniosanchez/Documents/Arduino/libraries/WiFiManager-master/WiFiManager.cpp:462:20: error: 'class IPAddress' has no member named 'fromString'
_sta_static_ip.fromString(server->arg("ip"));
^
/Users/joseantoniosanchez/Documents/Arduino/libraries/WiFiManager-master/WiFiManager.cpp:467:20: error: 'class IPAddress' has no member named 'fromString'
_sta_static_gw.fromString(server->arg("gw"));
^
/Users/joseantoniosanchez/Documents/Arduino/libraries/WiFiManager-master/WiFiManager.cpp:472:20: error: 'class IPAddress' has no member named 'fromString'
_sta_static_sn.fromString(server->arg("sn"));
^
exit status 1
Erro compilando.
Pleas help me
Thanks
@tzapu commented on GitHub (Jan 24, 2016):
hi, you need to run the latest github version of the esp8266 core for arduino ide, until they release a new staging at least