I'm pretty new at using an ESP32, so please bare with me.
I have an ESP32 and I've been playing around with soft AP mode and connecting to my phone to it. I'd like to be able to connect to AP from my phone while simultaneously maintaining the cellular connection. I'm fairly sure this is somehow doable, as I've seen other "smart" products with similar behavior, but I don't know how it's implemented.
Right now using the soft ap example from the esp-idf repo, if I connect to the soft AP, all traffic is routed to the esp32. Is there a way that I can only accept traffic for 192.168.4.0/24?
Routing in soft AP mode using esp-idf
Re: Routing in soft AP mode using esp-idf
Hi,
The smart routing has to be done on your phone because the phone assumes that the AP that you are connected to has access internet, so all outbound traffic is routed there.
Can you do the routing on the phone? I think so but is going to be a painful process if it ever is doable.
The smart routing has to be done on your phone because the phone assumes that the AP that you are connected to has access internet, so all outbound traffic is routed there.
Can you do the routing on the phone? I think so but is going to be a painful process if it ever is doable.
Who is online
Users browsing this forum: Baidu [Spider] and 329 guests