Hi,
our company is working on an app that involves an external device and communicate with it using BLE protocol.
This device is for medical purpose, its kind an earphone which retrieves electro information and sends to mobile in order to try to detect an epileptic crisis before it happens. People who buy the device and download the app are completely aware of that, and in first versions of the app, it will only retrieve data, so we can optimize the prediction analysis algorithm, and launch an app update with real time prediction on it.
So this is what we do, once the app is connected to the device, it starts sending data to app all the time and the app stores it and periodically uploads this data to a server, which stores it. The problem we have, is that even we declare the app needs to work in background mode, after a few seconds after it enters in background, stops working cutting all communication with the device.
Reading the docs it doesn't appear we are doing anything wrong, it's just that it seems that's the way it should work, and if we need to do something different, like stay permanently connected and retrieving data from the BLE device, we to do special request to you, or, I don't know maybe applying to MFI program or something similar.
So this is what this is all about, is there a way we can stay permanently connected to the device, even in background mode? DO we have to apply a special apple program?
I'd be very grateful if you could give me some directions about that.
Thank you!