|
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 .....&.
|
|