about BLE and connectivity problems.
Seems like you have plenty of experience of connection sensors via BLE.
We do have similar problems here with connecting devices over BLE to:
odroid C2
Ubuntu 18.04 with kernel 3.16.85+
Bluez 5.48
(due to other developement features we are bind to this old EOL HW-kernel-combo, unfortunately)
scanning, trustung and pairing works, all the keys are written to the device mac's info-file but
the connection works only works for the first time after initial pairing and there only for about couple of minutes.
reconnect is not possible: connection established but device keeps on DISCONNECTING almost immediately again.
We tried pretty much everithing regarding:
1.) bluetoothctl
2.) gatttool
3.) hcidump
4.) hcitool
5.) hciconfig
6.) settings unter : sys/kernel/debug/bluetooth/hci0
7.) btusb
my ideas/assumtions are:
1.)turns out that especially under sys/kernel/debug/bluetooth/hci0 we do not have any files for
supervision timeout or
slave latency
which was sort of being established only since kerne >> 3.17??
2.) clock timeout/sync issue between BLE -slave and -master?
However I have no glue how to debug this connection any further!
Hello!
I found your comment on https://github.com/IanHarvey/bluepy/issues/117
about BLE and connectivity problems. Seems like you have plenty of experience of connection sensors via BLE.
We do have similar problems here with connecting devices over BLE to:
odroid C2 Ubuntu 18.04 with kernel 3.16.85+ Bluez 5.48
(due to other developement features we are bind to this old EOL HW-kernel-combo, unfortunately)
scanning, trustung and pairing works, all the keys are written to the device mac's info-file but
the connection works only works for the first time after initial pairing and there only for about couple of minutes. reconnect is not possible: connection established but device keeps on DISCONNECTING almost immediately again.
We tried pretty much everithing regarding: 1.) bluetoothctl 2.) gatttool 3.) hcidump 4.) hcitool 5.) hciconfig 6.) settings unter : sys/kernel/debug/bluetooth/hci0 7.) btusb
checked out everything whats under: https://github.com/KonradIT/goprowifihack/blob/master/Bluetooth/Platforms/RaspberryPi.md
my ideas/assumtions are: 1.)turns out that especially under sys/kernel/debug/bluetooth/hci0 we do not have any files for supervision timeout or slave latency
which was sort of being established only since kerne >> 3.17??
2.) clock timeout/sync issue between BLE -slave and -master?
However I have no glue how to debug this connection any further!
we kindly appreciate your input
yours
peter