I’m working on a project where we use a Raspberry Pi to read and log live sensor data from various sources. Sensor data is delivered to the PI over USB.
The next step would be interfacing with this sensor data from and iOS and Android mobile application. This needs to happen over WiFi due to high data throughout. BLE is not an option.
The caveat here is that we need the connected mobile devices to retain internet connection over cellular data while at the same time have an open connection to the Pi over websockets/mqtt or similar.
This also needs to happen without fiddling with WiFi settings on the mobile device. In other words, from the mobile side, it needs to be a “consumer grade” experience with no hacks or workarounds.
This may be asked here before, but so far I’ve only found old answers or general directions and no absolute “yes, we’ve done it and this is how” or “no, we tried and this is why it doesn’t work”
So, my questions are:
1) Is this possible? 2) If you have experience with this, how did you set up the WiFi? Adhoc? 3) Did you have to handle network connections in any particular way on the mobile side?