I am using BLE112 based solution and connect to it from either Win or iOS app.
Now when apps are being closed and thus, connection is broken, I expect sensor code to receive the connection_disconnected() event, but this does not happened.
Supervision interval is set to 1 s. Is there some other timeout that should be configured?
It should happen, what SDK version are you using? Is it a BGScript based application, and if so can you share it?
Yes, this is a BGScript application, based on your "standard" SPP over BLE Example.
Unfortunately cannot share full source code, the right belongs to my customer. I was hoping there is something we do not configure properly ...
No, there's no configuration required, the event should just come when the connection is dropped from either side or if the devices go out of reach of each other.
Ok, thanks, good to know, will search further ...