Hey gang-
I’m new to the ESP8266 module… and have some questions, I’m hoping can clear up some things for me.
Goal:
Connect -directly- to ESP module using (cell phone, tablet,…whatever). I do not want to connect to local wi-fi using ssid/pass, then navigate to some dynamically provided IP for the ESP. I want to connect -directly- to it…
*** I believe this means I need to configure it as a an access point? (correct?)
Reading this:
https://www.hackster.io/rayburne/esp826 … 6&offset=2
*** This seems to be VERY close to what I want.
Once connected directly to the ESP… I want to serve up a hosted webpage…
*** Again… this seems to also be included in the tutorial link above.
Here is what I can NOT grasp yet. I want this webpage to have some links/buttons on it… that when clicked (form submitted,…whatever) that is posts (get?) back to itself and parses out a query param (ie: ?command=1 …etc)
This parsed query param… will then be sent to a connected Arduino via serial.
At this point… we can forget the connected Arduino portion.
Questions:
What needs to be done in the tutorial above to have some links on the page (I’m not asking for the HTML portion) :)… that went clicked posts this data/query/url data back to the ESP to be parsed out?
I guess I am little confused on many of the terms being throw around…
AP (Access Point) vs Server vs Client.
A client would reach out/connect to some IP to get some data returned… correct?
So what is the difference between an AP configuration and SERVER configuration? (outside of the directly being able to connect to an AP state without local wi-fi/network connection)…
I’m not clear if some sort of ‘web server’ stuff needs to be added/configured so the page can post back to itself and grab some info from the query string?
Another question, what is meant when the term “softAP” is used?
thanks!
-xl