• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

source of AP IP = 192.168.4.1 in WiFi Manager module

Q&A Forum › Category: ESP32 › source of AP IP = 192.168.4.1 in WiFi Manager module
0 Vote Up Vote Down
Joe Margevicius asked 7 months ago

Where does the assignment of IP=192.168.4.1 as the AP address come from in the WiFi Manager module of Building Web Servers?  (i.e. where is is defined?)

2 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 7 months ago

Hi.
It is the default IP address for the ESP32/ESP8266 when they are in access point mode.
Regards,
Sara

0 Vote Up Vote Down
Joe Margevicius answered 7 months ago

Thanks … just found a reference which explains: “The network established by softAP will have default IP address of 192.168.4.1. This address may be changed using softAPConfig"

So, applying  softAPConfig(local_ip, gateway, subnet)  will assign it in a more obvious way  (e.g. 192.168.1.200, 192.168.4.1, 255.255.0.0  would make the code more easily understood).

..this issue can be closed.

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Firebase Web App with ESP32 and ESP8266 (version 1.2) April 25, 2022
  • [eBook Updated] MicroPython Programming with ESP32 and ESP8266 (version 1.3) February 7, 2022

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2022 · RandomNerdTutorials.com · All Rights Reserved