Skip to content

Commit 2ae414f

Browse files
committed
Add comment about AP Gateway
1 parent d99b88d commit 2ae414f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Firmware/RTK_Everywhere/WiFi.ino

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1283,6 +1283,7 @@ void wifiVerifyTables()
12831283
// Constructor
12841284
// Inputs:
12851285
// verbose: Set to true to display additional WiFi debug data
1286+
// For AP on RTK Firmware, we set the Gateway to 192.168.4.1, not 0.0.0.0. Let's do the same here.
12861287
RTK_WIFI::RTK_WIFI(bool verbose)
12871288
: _apChannel{0}, _apCount{0}, _apDnsAddress{IPAddress((uint32_t)0)}, _apFirstDhcpAddress{IPAddress("192.168.4.32")},
12881289
_apGatewayAddress{IPAddress("192.168.4.1")}, _apIpAddress{IPAddress("192.168.4.1")}, _apMacAddress{0, 0, 0, 0, 0, 0},

0 commit comments

Comments
 (0)