Antidote on Ubuntu 16 & BlueZ 5

117 views
Skip to first unread message

christophe scazzi

unread,
Mar 19, 2017, 5:00:24 PM3/19/17
to Antidote: open-source IEEE 11073 stack
Hello,

I try to capture data from A&D scale UC-321PBT without success. I successfully build Antidote using a patch for BlueZ I've found in a topic here (plugin_bluez.c). 
Scale is paired with my Ubuntu laptop.
I can sniff bluetooth data between scale and laptop using "hcidump". 
I started "healthd" and "test_healthd.py" without visible errors.
Bluetoothd is started with "--compat" flag
But... no luck. No reaction on healthd or test_healthd.py screens :-(

Any clue to help ?

michaels...@googlemail.com

unread,
Mar 21, 2017, 9:43:45 AM3/21/17
to Antidote: open-source IEEE 11073 stack
Hello Christophe,

I am the author of the patch you mentioned. In the same topic where you found the patch, I mentioned (see: https://groups.google.com/d/msg/antidote-lib/scMJ5Bt3rLM/7eaSEjjREQAJ), that HDP is not working with Ubuntu since bluez 4.101 (even with the patch for bluez5):

"I have figured out, that the problem is bluez in Ubuntu - it simply doesn't work for HDP since bluez 4.101. Unfortunately till now I could not figure out why. Even the test-health script from the bluez-stack doesn't work in Ubuntu. After that I have tried Ubuntu 5.10 which uses the recent version of bluez (bluez 5.38). The test-health script from the bluez stack doesn't work here too. So I have tried another distro: manjaro. Surprisingly, the test-health script worked here out-of-the box. Another thing I have tried, is to use the recent bluez compiled from source in Ubuntu 15.10. It doesn't work either. So it seems to be some problem of the generic Bluetooth driver in Ubuntu. So for now, I have ported the bluez-plugin of antidote to the recent version 5 of bluez because this works under Manjaro or Debian. But the port does not work anymore with bluez 4.x. I will add eventually a configure-switch to be able to choose between the different bluez-plugin versions. Is someone interested in the port?"


In short: the problem here is almost certainly the Bluetooth implementation in Ubuntu. So just use Debian or any other distro like Manjaro (Arch based).


Best regards
Michael

christophe scazzi

unread,
Mar 23, 2017, 3:19:48 AM3/23/17
to Antidote: open-source IEEE 11073 stack
Sorry, I made a mistake. In fact, it exists 2 scales with almost same name: UC-321PBT and UC-321PBT-C
The second one (with 'C') is probably compatible with Antidote but the first one (the one I own) only implement basic bluetooth communication (secure RFCOMM). 
Reply all
Reply to author
Forward
0 new messages