Two wifi stations to the ESP as AP can't see each other.

tz1_as_guest

Two wifi stations to the ESP as AP can't see each other.

Postby tz1_as_guest » Tue Jan 13, 2015 9:33 am

I can get two devices to connect, and they are assigned IP addresses, but I can't ARP, PING, UDP, or TCP between them. The ESP8266 is 192.168.4.1, and one is ...100 and another ...102, but 100 and 102 can't talk to each other.

Guest_Test

Re: Two wifi stations to the ESP as AP can't see each other.

Postby Guest_Test » Tue Jan 13, 2015 5:39 pm

Yes,ESP8266 can not be a router. Will it be going to support this function?

tz1
Posts: 4
Joined: Tue Jan 13, 2015 9:22 am

Re: Two wifi stations to the ESP as AP can't see each other.

Postby tz1 » Wed Jan 14, 2015 3:28 am

It might just be as simple as enabling IP_FORWARD - it wouldn't do arp or IGMP, but that might fix TCP and UDP connections.
(Unfortunately, this is off by default in every pre-built firmware I can find, so I have to build a special version to test).

;-)

Re: Two wifi stations to the ESP as AP can't see each other.

Postby ;-) » Wed Jan 14, 2015 3:46 am

ap is in isolate mode. connected clients to esp can not talk together.
192.168.4.101 -> 192.168.4.102 ping not possible
same, if ap connect as client to a router, only the master can answere.

but you can make a IPV6 Trick if you make your fw byself
write fw so, that the ap mode managed the connected clients by id. this must be 2 byte
so you can make a 192.168.4.1::[ID1:ID2] and forward this packet to the connected client.
ID1: connection ID
ID2: connected client

if client send, so sent it over the ap, the ap know if client want connect to client B
and forward the packet inside to the client b without router.

if client will connect internet ip so the ap send this packet to the router with id
the router send response to the ap, the ap will forward this to the requested client

hope this helps.

;-)

tz1
Posts: 4
Joined: Tue Jan 13, 2015 9:22 am

Re: Two wifi stations to the ESP as AP can't see each other.

Postby tz1 » Wed Jan 14, 2015 4:04 am

Something like a proxy, socks or http. I thought of that, but it would be easier at the lower level, especially for UDP.

Jean-Marie visitor

Re: Two wifi stations to the ESP as AP can't see each other.

Postby Jean-Marie visitor » Fri Mar 06, 2015 6:44 am

It is true that two ESP stations within the same LAN can't see each other with the command AT+CWLAP.

However they can communicate and send characters to each other. The received characters appear on the serial line.
The procedure is explained on this forum, unfortunately in French. If the Google translation is too bad and if there is a demand, I could make a summary here.

Jean-Marie visitor

Re: Two wifi stations to the ESP as AP can't see each other.

Postby Jean-Marie visitor » Fri Mar 06, 2015 6:50 am

Sorry, I forgot to give the address of the French forum where the procedure is explained.

guest

Re: Two wifi stations to the ESP as AP can't see each other.

Postby guest » Fri Mar 06, 2015 9:46 am

Jean-Marie visitor wrote:It is true that two ESP stations within the same LAN can't see each other with the command AT+CWLAP.


ESP8266 station <-> router <-> ESP8266 station, this two stations can see each other..

any station <-> ESP8266 softAP <-> any station, this two stations can not see each other.. because ESP8266 softAP can not be a router..

Jean-Marie
Posts: 1
Joined: Fri Mar 06, 2015 6:18 am

Re: Two wifi stations to the ESP as AP can't see each other.

Postby Jean-Marie » Sun Mar 08, 2015 10:27 pm

Hello guest,

What I mean is this: if there are two ESP8266 configured as Sation and AP and you make AT+CWLAP with the first ESP, he will be listed with all the APs but the second one will not be visible in the list.

But I realize I was wrong with the subject.

Jean-Marie.

Who is online

Users browsing this forum: No registered users and 1 guest