STAAP example
Posted: Sun Nov 13, 2022 7:58 am
I have searched the website with key STAAP and it resulted 0 occurrences. Apologies if I made it wrongly.
With a single ESP32 I could create both AP and STA netif entities.
The AP has its own subnet and assigns IP address to new associated stations.
The STA can obtain the IP address from an external access point.
So far this is the status.
Then I tried to bridge packets from stations associated to AP towards the external access point via the STA.
The test failed.
I'm wondering if ESP32 can support a similar architecture (backhaul traffic gathered by AP through STA). In that case I would like to know if a sample template is available somewhere.
In a simplified solution the AP could not include the DHCP server since it just forwards the DHCP packets to the access point. The STA has to acquire an IP address so to implement a web server. This solution implies the STAAP is steadily connected or disconnected to the access point. In the latter case the AP should implement a default standalone IP subnet assigning its own IP addresses to associated stations (ESP32-STA or 'web client stations')
Thank you.
With a single ESP32 I could create both AP and STA netif entities.
The AP has its own subnet and assigns IP address to new associated stations.
The STA can obtain the IP address from an external access point.
So far this is the status.
Then I tried to bridge packets from stations associated to AP towards the external access point via the STA.
The test failed.
I'm wondering if ESP32 can support a similar architecture (backhaul traffic gathered by AP through STA). In that case I would like to know if a sample template is available somewhere.
In a simplified solution the AP could not include the DHCP server since it just forwards the DHCP packets to the access point. The STA has to acquire an IP address so to implement a web server. This solution implies the STAAP is steadily connected or disconnected to the access point. In the latter case the AP should implement a default standalone IP subnet assigning its own IP addresses to associated stations (ESP32-STA or 'web client stations')
Thank you.