• 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

ESP32 Access Point with fixed IP

Q&A Forum › Category: ESP32 › ESP32 Access Point with fixed IP
0 Vote Up Vote Down
Ingo Kolkmann asked 1 week ago

Bom dia Sara, bom dia Rui,
I really enjoy your RNT articles! They are very informative, and I have already purchased several of your books and courses. They are all very well done. Keep up the good work!
Today, I would like to ask for a little support/help. It might be interesting for other users as well.
I have an automatic electric gate for my property for a long time. It came with remote controllers that work fine.
But my goal is to be able to open and close the gate from my smartphone.
The additional controller will be an ESP32 with a relay shield.
It should work as an access point with its own separate Wi-Fi network.
I tested both of your projects.
– ESP32 web server with a static address
– ESP32 Access Point
They work perfectly, but I could not figure out how to use the ESP32 Access Point with a static IP.
It should be very similar to the web server project with a static IP address, shouldn’ it?
Could you give me some advice or program code?
I imagine an AP with a static address could be of interest to other users as well.
In this case, a smartphone application could be coded with a fixed IP address to connect.

Question Tags: Fixed IP
1 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 1 week ago

Hi.
The process is very similar, but instead of configuring the station interface (WiFi.config()), you’ll configure the AP interface using WiFi.softAPConfig().
 
I hope this helps.
 
Regards,
Sara

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] Learn LVGL: Build GUIs for ESP32 Projects – Version 1.5 July 7, 2025
  • [eBook Updated] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025

You must be logged in to view this content.

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

Copyright © 2013-2025 · 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.