• 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 1 year 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 1 year 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 1 year 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] ESP32-CAM Projects (version 1.3) January 7, 2023
  • [eBook Updated] SMART HOME with RPi, ESP32, and ESP8266 (version 1.1) November 20, 2022

You must be logged in to view this content.

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

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

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.