APSTA - works with Broadcom but not Intel Centrino WiFi [title changed]
Posted: Thu Aug 30, 2018 10:01 pm
Read all the docs and previous posts on this. I enabled APSTA mode but could not consistently get a connection like I can in either AP or STA mode despite good signal strength. I wonder if it is something to do with IP addresses and wondered if there is a working example to investigate more so that I can for example ping the ESP32 from a device connected to its AP and also have the ESP32 access the LAN over WiFi or the internet. I see that the AP and STA have the same channel due to single radio.
In AP mode, if the connected Android device also shows 4G cellular signal (either due to enabling the option to stay connected to cellular when WiFi has no internet access or because I moved out of ESP32 range), I cannot ping the ESP32 or transfer TCP packets between Android and ESP32 after reconnecting. If I connect to my home WiFi (with internet access) then 4G will be lost, then reconnect to the ESP32 then I can ping and TCP the ESP32.
Sorry if the above sounds vague, been thinking about it for a week and looking for pointers to investigate further. I want to stick with WiFi instead of Bluetooth for performance, but would like to keep cellular data on the phone and also let the ESP32 access the internet over WiFi intermittently. The use case is in a vehicle so it moves in and out of WiFi regularly, but I want a cell phone to stay connected to it.
In AP mode, if the connected Android device also shows 4G cellular signal (either due to enabling the option to stay connected to cellular when WiFi has no internet access or because I moved out of ESP32 range), I cannot ping the ESP32 or transfer TCP packets between Android and ESP32 after reconnecting. If I connect to my home WiFi (with internet access) then 4G will be lost, then reconnect to the ESP32 then I can ping and TCP the ESP32.
Sorry if the above sounds vague, been thinking about it for a week and looking for pointers to investigate further. I want to stick with WiFi instead of Bluetooth for performance, but would like to keep cellular data on the phone and also let the ESP32 access the internet over WiFi intermittently. The use case is in a vehicle so it moves in and out of WiFi regularly, but I want a cell phone to stay connected to it.