HTTP request in APSTA can only request from AP nodes.

MikeWazowski
Posts: 10
Joined: Mon Apr 08, 2019 11:55 am

HTTP request in APSTA can only request from AP nodes.

Postby MikeWazowski » Fri May 10, 2019 2:38 pm

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.

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

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

Postby WiFive » Sat May 11, 2019 2:13 am

Are you sure they have different subnets? Like 192.168.4.x and 192.168.5.x?

MikeWazowski
Posts: 10
Joined: Mon Apr 08, 2019 11:55 am

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

Postby MikeWazowski » Mon May 13, 2019 9:07 am

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.

Who is online

Users browsing this forum: No registered users and 131 guests