-->
Page 2 of 2

Re: ESP8266 STA mode connect via LAN to another 8266 in STA

PostPosted: Mon May 09, 2022 12:35 am
by JurajA
I repeat "there is no difference for TCP/IP if the AP is one of the esp or some other device (router, phone hot spot) ".
there is no difference how you use WiFiServer, WiFiClient, UDB, WebServer on esp8266 which is STA versus esp8266 which is AP.

Re: ESP8266 STA mode connect via LAN to another 8266 in STA

PostPosted: Mon May 09, 2022 12:39 am
by JurajA
I repeat "there is no difference for TCP/IP if the AP is one of the esp or some other device (router, phone hot spot) ".
there is no difference how you use WiFiServer, WiFiClient, UDB, WebServer on esp8266 which is STA versus esp8266 which is AP.
STA, SoftAP are network interfaces. You can even add more network interfaces in esp8266 Arduino 3.0: W5500 or enc28j60 Ethernet or PPP cable connection to computer and still use the WiFiClient, WiFiServer, UDP as usual to communicate over the network interfaces even multiple of the m at the same time..