Hi Everyone,
i'm using ble shield with arduino mega and android app , i need to recognize the ble device disconnection ,how do i get that?
please help me as soon as possible thanks in advance...
Hi Everyone,
i'm using ble shield with arduino mega and android app , i need to recognize the ble device disconnection ,how do i get that?
please help me as soon as possible thanks in advance...
On the ble shield you will get a disconnected event from the nRF8001 as you can see in the product specification. On Android you will get a onConnectionStateChange callback, see BluetoothGattCallback.
On the ble shield you will get a disconnected event from the nRF8001 as you can see in the product specification. On Android you will get a onConnectionStateChange callback, see BluetoothGattCallback.