View: 11369|Reply: 56

Problem with bluetooth. Reading attributes from A&D tonometr.

[Copy link]

1

threads

2

posts

13

credits

Novice

Rank: 1

credits
13
Published in 2023-11-7 14:29:15 | Show all floors |Read mode
This post was finally edited by CepKo at 2023-11-7 14:37

Hello.
I am trying to get data from the A&D tonometer on my orangepi 4. The devices are pairing successfully, but reading attributes is not available, services are also unavailable. This behavior is observed on various orangepi distributions (armbian, ubuntu, debian) with different kernel versions (from 4.4.179 to 6.1.50), as well as with different versions of bluez (tried 5.43, 5.53, 5.64, 5.69). At the same time, everything works successfully on a computer with the x86_64 architecture and on a Raspberry Pi4.
I also tried Orange pi Zero2 with different OS and kernel versions.


Orange Pi 4lts:
Linux orangepi4-lts 5.18.5-rk3399
BlueZ 5.64


bluetoothctl
Agent registered
[bluetooth]# version
Version 5.64
[bluetooth]# scan on
Discovery started
[CHG] Controller E0:518:21:76:EB Discovering: yes
[NEW] Device 3C:A3:08:0F:3C:4B 3C-A3-08-0F-3C-4B
[bluetooth]# connect 3C:A3:08:0F:3C:4B
[bluetooth]# trust 3C:A3:08:0F:3C:4B
[CHG] Device 3C:A3:08:0F:3C:4B Trusted: yes
Changing 3C:A3:08:0F:3C:4B trust succeeded
[CHG] Device 3C:A3:08:0F:3C:4B Connected: yes
Connection successful
[3C-A3-08-0F-3C-4B]# pair 3C:A3:08:0F:3C:4B
[CHG] Device 3C:A3:08:0F:3C:4B UUIDs: 00001800-0000-1000-8000-00805f9b34fb
[CHG] Device 3C:A3:08:0F:3C:4B UUIDs: 00001801-0000-1000-8000-00805f9b34fb
[CHG] Device 3C:A3:08:0F:3C:4B UUIDs: 0000180a-0000-1000-8000-00805f9b34fb
[CHG] Device 3C:A3:08:0F:3C:4B UUIDs: 0000180f-0000-1000-8000-00805f9b34fb
[CHG] Device 3C:A3:08:0F:3C:4B UUIDs: 00001810-0000-1000-8000-00805f9b34fb
[CHG] Device 3C:A3:08:0F:3C:4B UUIDs: 233bf000-5a34-1b6d-975c-000d5690abe4
[CHG] Device 3C:A3:08:0F:3C:4B ServicesResolved: yes
[CHG] Device 3C:A3:08:0F:3C:4B Paired: yes
[CHG] Device 3C:A3:08:0F:3C:4B Name: A&D_UA-651BLE_0F3C4B
[CHG] Device 3C:A3:08:0F:3C:4B Alias: A&D_UA-651BLE_0F3C4B
[A&D_UA-651BLE_0F3C4B]# menu gatt
[A&D_UA-651BLE_0F3C4B]# list-attributes
Primary Service (Handle 0x0009)
        /org/bluez/hci0/dev_3C_A3_08_0F_3C_4B/service000c
        00001801-0000-1000-8000-00805f9b34fb
        Generic Attribute Profile
Characteristic (Handle 0x6154)
        /org/bluez/hci0/dev_3C_A3_08_0F_3C_4B/service000c/char000d
        00002a05-0000-1000-8000-00805f9b34fb
        Service Changed
Descriptor (Handle 0x0015)
        /org/bluez/hci0/dev_3C_A3_08_0F_3C_4B/service000c/char000d/desc000f
        00002902-0000-1000-8000-00805f9b34fb
        Client Characteristic Configuration
Primary Service (Handle 0x6920)
        /org/bluez/hci0/dev_3C_A3_08_0F_3C_4B/service0010
        00001810-0000-1000-8000-00805f9b34fb
        Blood Pressure
Characteristic (Handle 0xf994)
        /org/bluez/hci0/dev_3C_A3_08_0F_3C_4B/service0010/char0011
        00002a35-0000-1000-8000-00805f9b34fb
        Blood Pressure Measurement
Descriptor (Handle 0x0015)
        /org/bluez/hci0/dev_3C_A3_08_0F_3C_4B/service0010/char0011/desc0013
        00002902-0000-1000-8000-00805f9b34fb
        Client Characteristic Configuration
Characteristic (Handle 0x1618)
        /org/bluez/hci0/dev_3C_A3_08_0F_3C_4B/service0010/char0014
        00002a49-0000-1000-8000-00805f9b34fb
        Blood Pressure Feature
Characteristic (Handle 0x1618)
        /org/bluez/hci0/dev_3C_A3_08_0F_3C_4B/service0010/char0016
        00002a08-0000-1000-8000-00805f9b34fb
        Date Time
Primary Service (Handle 0x6920)
        /org/bluez/hci0/dev_3C_A3_08_0F_3C_4B/service0018
        0000180a-0000-1000-8000-00805f9b34fb
        Device Information
Characteristic (Handle 0x3b34)
        /org/bluez/hci0/dev_3C_A3_08_0F_3C_4B/service0018/char0019
        00002a29-0000-1000-8000-00805f9b34fb
        Manufacturer Name String
Characteristic (Handle 0x3b34)
        /org/bluez/hci0/dev_3C_A3_08_0F_3C_4B/service0018/char001b
        00002a24-0000-1000-8000-00805f9b34fb
        Model Number String
Characteristic (Handle 0x3b34)
        /org/bluez/hci0/dev_3C_A3_08_0F_3C_4B/service0018/char001d
        00002a25-0000-1000-8000-00805f9b34fb
        Serial Number String
Characteristic (Handle 0x3b34)
        /org/bluez/hci0/dev_3C_A3_08_0F_3C_4B/service0018/char001f
        00002a27-0000-1000-8000-00805f9b34fb
        Hardware Revision String
Characteristic (Handle 0x3b34)
        /org/bluez/hci0/dev_3C_A3_08_0F_3C_4B/service0018/char0021
        00002a26-0000-1000-8000-00805f9b34fb
        Firmware Revision String
Characteristic (Handle 0x3b34)
        /org/bluez/hci0/dev_3C_A3_08_0F_3C_4B/service0018/char0023
        00002a28-0000-1000-8000-00805f9b34fb
        Software Revision String
Characteristic (Handle 0x3b34)
        /org/bluez/hci0/dev_3C_A3_08_0F_3C_4B/service0018/char0025
        00002a23-0000-1000-8000-00805f9b34fb
        System ID
Characteristic (Handle 0x3b34)
        /org/bluez/hci0/dev_3C_A3_08_0F_3C_4B/service0018/char0027
        00002a2a-0000-1000-8000-00805f9b34fb
        IEEE 11073-20601 Regulatory Cert. Data List
Primary Service (Handle 0x6920)
        /org/bluez/hci0/dev_3C_A3_08_0F_3C_4B/service002c
        233bf000-5a34-1b6d-975c-000d5690abe4
        Vendor specific
Characteristic (Handle 0xdd34)
        /org/bluez/hci0/dev_3C_A3_08_0F_3C_4B/service002c/char002d
        233bf001-5a34-1b6d-975c-000d5690abe4
        Vendor specific
[A&D_UA-651BLE_0F3C4B]# select-attribute 00002a08-0000-1000-8000-00805f9b34fb
[A&D_UA-651BLE_0F3C4B:/service0018/char001d]# read
Attempting to read /org/bluez/hci0/dev_3C_A3_08_0F_3C_4B/service0010/char0016
[CHG] Device 3C:A3:08:0F:3C:4B Connected: no
Failed to read: org.bluez.Error.Failed


Any Linux x86_64, any version of BlueZ and kernel, same actions:
Linux 5.15.0-72-generic #79~20.04.1-Ubuntu SMP Thu Apr 20 22:12:07 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

[bluetooth]# connect 3C:A3:08:0F:3C:4B
Attempting to connect to 3C:A3:08:0F:3C:4B
[CHG] Device 3C:A3:08:0F:3C:4B Connected: yes
Connection successful
[A&D_UA-651BLE_0F3C4B]# menu gatt
[A&D_UA-651BLE_0F3C4B]# select-attribute 00002a08-0000-1000-8000-00805f9b34fb
[A&D_UA-651BLE_0F3C4B:/service0010/char0016]# read
Attempting to read /org/bluez/hci0/dev_3C_A3_08_0F_3C_4B/service0010/char0016
[CHG] Attribute /org/bluez/hci0/dev_3C_A3_08_0F_3C_4B/service0010/char0016 Value:
  e7 07 0a 1b 07 26 11                             .....&.
  e7 07 0a 1b 07 26 11                             .....&.




1

threads

2

posts

13

credits

Novice

Rank: 1

credits
13
 Author| Published in 2023-11-7 14:34:32 | Show all floors
I noticed that at the next unsuccessful attempt, a message appeared on the desktop
Sorry, Ubuntu 22.04 has experienced an internol error

Package
        blueman 2.2.4-1
Problem type
        Crash
Title
        blueman-applet crashed with blueman.bluez.errors.BluezDBusException in get(): org.freedesktop.DBus.Error.InvalidArgs No such interface 'org.bluez.Battery1'

```

Unfortunately, I couldn't save the error as text, so I'm attaching a screenshot


This thread contains more resources

You need to Log in to download or view,No account?    Register

x
Published in 2025-7-1 21:27:48 | Show all floors
This internet site can be a walk-through like the info you wished relating to this and didn’t know who need to. Glimpse here, and you’ll certainly discover it.        Bioma Probiotic
Published in 2025-7-2 19:53:50 | Show all floors
I’m impressed, I must say. Actually rarely must i encounter a blog that’s both educative and entertaining, and let me tell you, you have hit the nail within the head. Your concept is outstanding; the pain is an element that too little consumers are speaking intelligently about. I am delighted that we found this within my search for some thing relating to this.        티비위키
Published in 2025-7-3 20:59:10 | Show all floors
I discovered your website internet site online and check a couple of your early posts. Always keep inside the excellent operate. I just additional your Rss to my MSN News Reader. Seeking forward to reading far more from you finding out down the road!…        new88
Published in 2025-7-3 23:21:48 | Show all floors
picking a good domain name is enssential for ranking good on search engines-        sbobet777 ทางเข้า มือถือ
Published in 2025-7-7 19:19:47 | Show all floors
An fascinating discussion will probably be worth comment. I think that you ought to write much more about this topic, it will not become a taboo subject but usually everyone is too few to communicate on such topics. Yet another. Cheers        789bet
Published in 2025-7-7 21:54:29 | Show all floors
There are a couple of intriguing points at some point on this page but I do not determine if they all center to heart. There’s some validity but I will take hold opinion until I check into it further. Great post , thanks and then we want a lot more! Added onto FeedBurner too        789bet
Published in 2025-7-7 22:29:19 | Show all floors
This will be the correct weblog for anyone who hopes to be familiar with this topic. You already know so much its practically hard to argue on hand (not too I personally would want…HaHa). You definitely put a brand new spin for a topic thats been revealed for some time. Fantastic stuff, just great!        8 day
Published in 2025-7-7 22:35:12 | Show all floors
My spouse and i were really delighted  Emmanuel managed to finish up his investigations because of the precious recommendations he gained from your own web site. It is now and again perplexing to simply find yourself giving freely steps that some other people may have been selling. And we also realize we now have you to give thanks to for that. These explanations you have made, the straightforward web site menu, the relationships you assist to engender – it is mostly wonderful, and it is leading our son in addition to us do think this issue is exciting, which is certainly especially fundamental. Many thanks for the whole lot!        hb88
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list