This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

connection terminated under android 6 after 10 seconds

Hello,

I have modified the Android-nRF-Blinky Application to use it with the Datathroughput Demo on the nRF52 DK.

The android application runs on a Nexus 9 with android 6.0.1. I can establish a conneciton and i also can recieve notifications, but after about 10 seconds the connection is lost.

with the mastercontrolpanel i have the same behavioron the tablet..

if i run the application on my sony xperia z3 compact with android 5.1.1 it works fine and also with the mastercontrol panel i have no problems.

here is the log from the android studio..

BluetoothGatt: connect() - device: C5:7F:B0:8E:AA:91, auto: false
BluetoothGatt: registerApp()
BluetoothGatt: registerApp() - UUID=3a9c080d-ae20-47ea-b34c-7ea7798204cc
BluetoothGatt: onClientRegistered() - status=0 clientIf=5
BluetoothGatt: onClientConnectionState() - status=0 clientIf=5 device=C5:7F:B0:8E:AA:91
BluetoothGatt: discoverServices() - device: C5:7F:B0:8E:AA:91
BluetoothGatt: onSearchComplete() = Device=C5:7F:B0:8E:AA:91 Status=0
BluetoothGatt: setCharacteristicNotification() - uuid: 00002a05-0000-1000-8000-00805f9b34fb enable: true
BluetoothGatt: setCharacteristicNotification() - uuid: 00001625-1212-efde-1523-785feabcd123 enable: true
BluetoothGatt: cancelOpen() - device: C5:7F:B0:8E:AA:91
BluetoothGatt: onClientConnectionState() - status=59 clientIf=5 device=C5:7F:B0:8E:AA:91
BluetoothGatt: close()
BluetoothGatt: unregisterApp() - mClientIf=5

It seems that the return of status=59 of onClientConnectionState() closes the connection.. I havent found any information what status=59 mean.

Has somebody already tested the mastercontrolpanel on a device with android 6?

And where i get information about the meaning of "status=59" of onClientConnectionState() .. i couldnt find a reference so far.

Parents Reply Children
No Data
Related