please choosego to mobile | Continue to access the PC version
View: 1169|Reply: 19

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 2024-1-22 22:49:24 | Show all floors
I actually wanted to compose a small note to be able to appreciate you for these nice advice you are giving out on this site. My considerable internet lookup has now been rewarded with useful knowledge to share with my neighbours. I ‘d believe that many of us site visitors are definitely endowed to dwell in a good site with  many special people with good tricks. I feel very much fortunate to have discovered the weblog and look forward to many more pleasurable minutes reading here. Thanks a lot once more for everything.        Packers and Movers Visakhapatnam
Published in 2024-1-22 22:49:42 | Show all floors
I actually wanted to compose a small note to be able to appreciate you for these nice advice you are giving out on this site. My considerable internet lookup has now been rewarded with useful knowledge to share with my neighbours. I ‘d believe that many of us site visitors are definitely endowed to dwell in a good site with  many special people with good tricks. I feel very much fortunate to have discovered the weblog and look forward to many more pleasurable minutes reading here. Thanks a lot once more for everything.
Published in 2024-1-22 22:49:59 | Show all floors
Packers and Movers VisakhapatnamPackers and Movers Visakhapatnam

Published in 2024-1-25 19:09:46 | Show all floors
Maybe you have considered regarding which includes a bit more than just your site content? I am talking about, what you think are useful and all. Even so let’s suppose you added some terrific photographs or even videos to provide your site content more! Your posts is fantastic but with images and videos, this website could certainly become one of the best in its industry. Fantastic weblog!        roof cleaning southampton
Published in 2024-1-25 20:24:12 | Show all floors
An impressive share, I merely given this onto a colleague who had been doing a small analysis within this. And that he actually bought me breakfast since I discovered it for him.. smile. So ok, i’ll reword that: Thnx for the treat! But yeah Thnkx for spending time to talk about this, I’m strongly about this and love reading regarding this topic. If you can, as you grow expertise, would you mind updating your website with more details? It is extremely of great help for me. Massive thumb up for this text!        Packers and Movers in Mysore
Published in 2024-1-27 22:12:01 | Show all floors
Nice post. I discover something tougher on diverse blogs everyday. Most commonly it is stimulating to learn content from other writers and use a little something from their website. I’d would rather apply certain using the content in this little blog regardless of whether you do not mind. Natually I’ll offer you a link in your web weblog. Many thanks for sharing.        https://daga1.tv
Published in 2024-1-29 22:06:05 | Show all floors
Thanks for taking the time to line all of this out for people like us. This particular write-up was in fact quite useful if you ask me.        Packers and Movers Patna
Published in 2024-1-30 20:29:00 | Show all floors
This is exactly why it is actually better which you can related exploration well before delivering. It will be possible to publish bigger report using this method.        Packers and Movers Noida to Chennai
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list