-
-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
40fc177
commit 916eb03
Showing
2 changed files
with
3 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -70,6 +70,8 @@ namespace WIFI_Utils { | |
startAP = true; | ||
} else { | ||
uint8_t wifiCounter = 0; | ||
String hostName = "APRS_iGATE " + Config.callsign; | ||
WiFi.setHostname(hostName.c_str()); | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
richonguzman
Author
Owner
|
||
WiFi.mode(WIFI_STA); | ||
WiFi.disconnect(); | ||
delay(500); | ||
|
Hostname can not contains spaces and underscores. It maybe works, but it is not by RFC definition
only A-Z, 0-9 and - are allowed characters
https://www.rfc-editor.org/rfc/rfc952