Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By amshh
#76103 Hello!
First contact with Arduino/ESP.

Used with a ESP8266-01.
Try to set up a Soft-AP and get answer from there. But no success until now.

You can find attached:
Arduino-Programm with two Options to be un-comment:
O1: Attach as client to my WLAN-Router.
O2: Create Soft-AP and offer an own Network.

Then configure and start a server.
Wait for a client request and answer with a simple <h1> Headline.

Behaviour:
O1: See attached monitor protocol.
- Client connection established
- Request is received
- Answer can be read in browser I used to call the URL 192.168.0.97
OK SO FAR

O2: See attached monitor protocol.
- Soft AP established
- Connect with cell phone
- Number of connections becomes 1
- Call the URL 192.168.4.1 from cell phone browser
- NOTHING
NOT OK SO FAR

So ... does someone has a hint?
You do not have the required permissions to view the files attached to this post.
User avatar
By amshh
#76128 OK, added
IPAddress ip(192,168,0,200);
IPAddress gateway(192,168,0,200);
IPAddress subnet(255,255,255,0);

WiFi.softAPConfig(ip,gateway,subnet);

Then I get the expected response when using a windows client.
Does not work with my mobile .... :-(
A.
User avatar
By majidmp97
#76184 how can i have 1 8266 as (192.168.1.255) access point and 8266 for client without rooter
and client have static ip
when access point request from client (192.168.1.1) then client send string (19;12.2;1) to access point