Hey friends,
does anyone out there, have a simple code for the ESP8266 which can run my ESP as a dual mode ?
first mode: connect the ESP to my router
second mode: rund the ESP server
But, it must really really be simple. Only the neccescary commands. I would be really really thankful to you guys.
Or can you recommend me a good site where this is explained ?
Almost every example code for the esp as a server does this. It is not in any way unusual. It would not be described as "dual mode".
Are you sure that you meant to say "wi-fi and server"? That's like saying "a car and red". A red car would not be described as "dual mode".
Did you mean the esp is both a server and a client? Or both a server and an access point?
1 Like
I mean this:
I wanna put my SSID from my home-router into ESP, in order to have an internet connection between router and ESP. And secondly simulationsly: i wann run it as a server. With that, i mean: delcare SSID and Password on the ESP, than connect with other Phone to the ESP, and if connected, type in to the browser: 192.168.4.1 to reach the ESP homepage.
Hope, I have explained it well
Yes, this is most common scenario. Most example code you find will have been written for this scenario.
1 Like
Juraj
June 10, 2023, 5:45am
5
you meant run as WiFi Access Point, not just server?
system
Closed
December 7, 2023, 5:45am
6
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.