We are trying to use a BLE device on our system.
In the application side, we have MvvmCross (for now on Android) with the MvvmCross.Plugin.BLE. On the slave side, we use a Dialog BLE chip.
After we connect, we are able to send and receive data for 30 seconds, but then the connection is lost, even if it is not idle.
Possible options we tried to explore:
- Is there a KeepAlive mechanism we should use that we're not aware of?
- Is there some kind of Notify procedure we're not implementing?
- Is there a security issue we should implement?
- A null message we should issue?
Any ideas or sample applications would be greatly appreciated.
Thank you!
Update (June 21st, 2016):
The disconnection happens only after bonding.
If we work in a non bonded connection - it works perfectly for hours.