Page 1 of 1

HTTP request in APSTA can only request from AP nodes.

Posted: Fri May 10, 2019 2:38 pm
by MikeWazowski
Hi,

Similar question has been asked before:
https://www.esp32.com/viewtopic.php?t=6241

But there was no solution provided.

The issue is that in APSTA mode, HTTP request can only be sent to devices connected to the AP of my device, but I would like to be able to send requests from the perspective of STA, i.e. send request to the AP that my device is connected to.

Any ideas how to achieve such behaviour?

Thanks in advance.

Re: HTTP request in APSTA can only request from AP nodes.

Posted: Sat May 11, 2019 2:13 am
by WiFive
Are you sure they have different subnets? Like 192.168.4.x and 192.168.5.x?

Re: HTTP request in APSTA can only request from AP nodes.

Posted: Mon May 13, 2019 9:07 am
by MikeWazowski
Manually assigning IP configuration worked for me.

One of the devices IP and gateway were 192.168.4.X and another 192.168.5.X and they could send HTTP requests.