9 years, 4 months ago.

Is there matching App code for testing Link Loss Service?

Possibly an Android or iPhone App?

Maybe I misunderstand and this Service is on the mbed side only?

Question relating to:

/ BLE_LinkLoss Featured
Demo for the LinkLoss Service. BLE, Bluetooth Low Energy

1 Answer

9 years, 4 months ago.

hello Paul,

I've been messing around with my modified version of link loss service to test it with my TxPowerService code and I've tested my code using an app called LightBlue (available on iOS ).

hope this helps

Thank you for pointer to iOS App LightBlue. It does report Disconnected when device out of range or powered down, but that appears to be normal disconnect. What is difference between the Disconnect Callback and the Link Loss Callback?

posted by Paul Russell 14 Dec 2014

the link loss callback doesn't receive any context but the onDisconnection receives the following arguments (Gap::Handle_t handle, Gap::DisconnectionReason_t reason). also the link lost service characteristic value can be changed by an iphone or an android to set a certain alert level and depending on that alert level when the connection is lost you can act accordingly.

see link loss service details here : https://developer.bluetooth.org/gatt/services/Pages/ServiceViewer.aspx?u=org.bluetooth.service.link_loss.xml

posted by Karim Azzouz 14 Dec 2014