Skip to content

Commit 2e32022

Browse files
pfeerickme-no-dev
authored andcommitted
ESP8266 => ESP32 tidyup, set correct default port (#2948)
Tidied up references to the ESP8266, and set the correct default port for the ESP32.
1 parent 74ffdac commit 2e32022

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Diff for: tools/espota.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -236,15 +236,15 @@ def serve(remoteAddr, localAddr, remotePort, localPort, password, filename, comm
236236
def parser(unparsed_args):
237237
parser = optparse.OptionParser(
238238
usage = "%prog [options]",
239-
description = "Transmit image over the air to the esp8266 module with OTA support."
239+
description = "Transmit image over the air to the esp32 module with OTA support."
240240
)
241241

242242
# destination ip and port
243243
group = optparse.OptionGroup(parser, "Destination")
244244
group.add_option("-i", "--ip",
245245
dest = "esp_ip",
246246
action = "store",
247-
help = "ESP8266 IP Address.",
247+
help = "ESP32 IP Address.",
248248
default = False
249249
)
250250
group.add_option("-I", "--host_ip",
@@ -256,8 +256,8 @@ def parser(unparsed_args):
256256
group.add_option("-p", "--port",
257257
dest = "esp_port",
258258
type = "int",
259-
help = "ESP8266 ota Port. Default 8266",
260-
default = 8266
259+
help = "ESP32 ota Port. Default 3232",
260+
default = 3232
261261
)
262262
group.add_option("-P", "--host_port",
263263
dest = "host_port",
@@ -310,7 +310,7 @@ def parser(unparsed_args):
310310
group.add_option("-t", "--timeout",
311311
dest = "timeout",
312312
type = "int",
313-
help = "Timeout to wait for the ESP8266 to accept invitation",
313+
help = "Timeout to wait for the ESP32 to accept invitation",
314314
default = 10
315315
)
316316
parser.add_option_group(group)

0 commit comments

Comments
 (0)