- From: Dimitar Marinov via GitHub <sysbot+gh@w3.org>
- Date: Wed, 25 Nov 2020 13:03:01 +0000
- To: public-web-bluetooth-log@w3.org
Hi, I am getting the same error message while trying to get the battery service (0x180F) of a Tacx Heart Rate Belt. nRF Connect shows the service is there and can read it's Battery Level characteristic, but: - in `chrome://bluetooth-internals/` the service is missing, - Also the code example at [web bluetooth samples](https://googlechrome.github.io/samples/web-bluetooth/battery-level-async-await.html) fails with the same error: `No Services matching UUID 0000180f-0000-1000-8000-00805f9b34fb found in Device.` Meanwhile I am able to successfully work with the Device Information Service (0x180A), and Heart Rate Service (0x180D). Here is the log from nRF Connect: ========================================== nRF Connect, 2020-11-25 Tacx HRB 20483 (F1:17:11:FF:45:F2) I 14:53:06.050 [Server] Server started V 14:53:06.058 Heart Rate (0x180D) - Heart Rate Measurement [N] (0x2A37) Client Characteristic Configuration (0x2902) - Body Sensor Location [R] (0x2A38) - Heart Rate Control Point [W] (0x2A39) Device Information (0x180A) - Manufacturer Name String [R] (0x2A29) - Model Number String [R] (0x2A24) Battery Service (0x180F) V 14:53:06.367 Connecting to F1:17:11:FF:45:F2... D 14:53:06.367 gatt = device.connectGatt(autoConnect = false, TRANSPORT_LE, preferred PHY = LE 1M) D 14:53:06.594 [Server callback] Connection state changed with status: 0 and new state: CONNECTED (2) I 14:53:06.594 [Server] Device with address F1:17:11:FF:45:F2 connected D 14:53:06.630 [Broadcast] Action received: android.bluetooth.device.action.ACL_CONNECTED D 14:53:06.649 [Callback] Connection state changed with status: 0 and new state: CONNECTED (2) I 14:53:06.649 Connected to F1:17:11:FF:45:F2 V 14:53:06.672 Discovering services... D 14:53:06.672 gatt.discoverServices() I 14:53:06.835 Connection parameters updated (interval: 7.5ms, latency: 0, timeout: 5000ms) D 14:53:07.139 [Callback] Services discovered with status: 0 I 14:53:07.139 Services discovered V 14:53:07.168 Generic Access (0x1800) - Device Name [R W] (0x2A00) - Appearance [R] (0x2A01) - Peripheral Preferred Connection Parameters [R] (0x2A04) Generic Attribute (0x1801) - Service Changed [I] (0x2A05) Client Characteristic Configuration (0x2902) Heart Rate (0x180D) - Heart Rate Measurement [N] (0x2A37) Client Characteristic Configuration (0x2902) - Body Sensor Location [R] (0x2A38) Battery Service (0x180F) - Battery Level [N R] (0x2A19) Client Characteristic Configuration (0x2902) Device Information (0x180A) - Manufacturer Name String [R] (0x2A29) - Model Number String [R] (0x2A24) - Hardware Revision String [R] (0x2A27) - Firmware Revision String [R] (0x2A26) - Software Revision String [R] (0x2A28) D 14:53:07.168 gatt.setCharacteristicNotification(00002a05-0000-1000-8000-00805f9b34fb, true) D 14:53:07.169 gatt.setCharacteristicNotification(00002a37-0000-1000-8000-00805f9b34fb, true) D 14:53:07.172 gatt.setCharacteristicNotification(00002a19-0000-1000-8000-00805f9b34fb, true) I 14:53:07.213 Connection parameters updated (interval: 35.0ms, latency: 0, timeout: 5000ms) I 14:53:12.783 Connection parameters updated (interval: 980.0ms, latency: 0, timeout: 4000ms) V 14:53:20.830 Reading characteristic 00002a19-0000-1000-8000-00805f9b34fb D 14:53:20.830 gatt.readCharacteristic(00002a19-0000-1000-8000-00805f9b34fb) I 14:53:22.579 Read Response received from 00002a19-0000-1000-8000-00805f9b34fb, value: (0x) 64, "d" A 14:53:22.579 "100%" received ========================================== -- GitHub Notification of comment by dvmarinoff Please view or discuss this issue at https://github.com/WebBluetoothCG/web-bluetooth/issues/513#issuecomment-733693549 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 25 November 2020 13:03:16 UTC