bluetooth: Can't discover all services |
|||||
Issue description
Google Chrome 51.0.2704.0 (Official Build) dev (64-bit)
Platform 8172.1.0 (Official Build) dev-channel link
What steps will reproduce the problem?
(1) Enter shell with [Ctrl]+[Alt]+T
(2) Open bluetooth console by entering "bt_console"
(3) Type "scan on" and wait for your BLE device to show up
(4) Type "scan off" to stop scanning
(5) Type "connect F1:6F:DE:EC:F1:D6" to connect to this device
What is the expected output?
I should be able to get all services
What do you see instead?
I'm missing one.
See logs below.
< HCI Command: LE Set Scan Parameters (0x08|0x000b) plen 7 [hci0] 26.764303
Type: Passive (0x00)
Interval: 60.000 msec (0x0060)
Window: 30.000 msec (0x0030)
Own address type: Public (0x00)
Filter policy: Ignore not in white list (0x01)
> HCI Event: Command Complete (0x0e) plen 4 [hci0] 26.765351
LE Set Scan Parameters (0x08|0x000b) ncmd 1
Status: Success (0x00)
< HCI Command: LE Set Scan Enable (0x08|0x000c) plen 2 [hci0] 26.765386
Scanning: Enabled (0x01)
Filter duplicates: Enabled (0x01)
> HCI Event: Command Complete (0x0e) plen 4 [hci0] 26.766350
LE Set Scan Enable (0x08|0x000c) ncmd 1
Status: Success (0x00)
> HCI Event: LE Meta Event (0x3e) plen 37 [hci0] 27.699380
LE Advertising Report (0x02)
Num reports: 1
Event type: Connectable undirected - ADV_IND (0x00)
Address type: Random (0x01)
Address: F1:6F:DE:EC:F1:D6 (Static)
Data length: 25
Flags: 0x06
LE General Discoverable Mode
BR/EDR Not Supported
128-bit Service UUIDs (complete): 1 entry
a3c87500-8ed3-4bdf-8a39-a01bebede295
Appearance: Tag (0x0200)
RSSI: -27 dBm (0xe5)
< HCI Command: LE Set Scan Enable (0x08|0x000c) plen 2 [hci0] 27.699455
Scanning: Disabled (0x00)
Filter duplicates: Disabled (0x00)
> HCI Event: Command Complete (0x0e) plen 4 [hci0] 27.700356
LE Set Scan Enable (0x08|0x000c) ncmd 1
Status: Success (0x00)
< HCI Command: LE Create Connection (0x08|0x000d) plen 25 [hci0] 27.700420
Scan interval: 60.000 msec (0x0060)
Scan window: 60.000 msec (0x0060)
Filter policy: White list is not used (0x00)
Peer address type: Random (0x01)
Peer address: F1:6F:DE:EC:F1:D6 (Static)
Own address type: Public (0x00)
Min connection interval: 50.00 msec (0x0028)
Max connection interval: 70.00 msec (0x0038)
Connection latency: 0x0000
Supervision timeout: 420 msec (0x002a)
Min connection length: 0.000 msec (0x0000)
Max connection length: 0.000 msec (0x0000)
> HCI Event: Command Status (0x0f) plen 4 [hci0] 27.701352
LE Create Connection (0x08|0x000d) ncmd 1
Status: Success (0x00)
> HCI Event: LE Meta Event (0x3e) plen 19 [hci0] 28.707374
LE Connection Complete (0x01)
Status: Success (0x00)
Handle: 32
Role: Master (0x00)
Peer address type: Random (0x01)
Peer address: F1:6F:DE:EC:F1:D6 (Static)
Connection interval: 67.50 msec (0x0036)
Connection latency: 0.00 msec (0x0000)
Supervision timeout: 420 msec (0x002a)
Master clock accuracy: 0x00
< HCI Command: LE Read Remote Used Features (0x08|0x0016) plen 2 [hci0] 28.707616
Handle: 32
@ Device Connected: F1:6F:DE:EC:F1:D6 (2) flags 0x0000
02 01 06 11 07 95 e2 ed eb 1b a0 39 8a df 4b d3 ...........9..K.
8e 00 75 c8 a3 03 19 00 02 ..u......
> HCI Event: Command Status (0x0f) plen 4 [hci0] 28.708342
LE Read Remote Used Features (0x08|0x0016) ncmd 1
Status: Success (0x00)
> HCI Event: LE Meta Event (0x3e) plen 12 [hci0] 28.845376
LE Read Remote Used Features (0x04)
Status: Success (0x00)
Handle: 32
Features: 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00
LE Encryption
= bluetoothd: saving characteristic to db failed 28.847067
= bluetoothd: Unable to load gatt db from file for F1:6F:DE:EC:F1:D6 28.847135
< ACL Data TX: Handle 32 flags 0x00 dlen 7 [hci0] 28.847246
ATT: Exchange MTU Request (0x02) len 2
Client RX MTU: 517
> HCI Event: Number of Completed Packets (0x13) plen 5 [hci0] 28.912338
Num handles: 1
Handle: 32
Count: 1
> ACL Data RX: Handle 32 flags 0x02 dlen 7 [hci0] 28.979502
ATT: Exchange MTU Response (0x03) len 2
Server RX MTU: 23
< ACL Data TX: Handle 32 flags 0x00 dlen 11 [hci0] 28.979755
ATT: Read By Group Type Request (0x10) len 6
Handle range: 0x0001-0xffff
Attribute group type: Primary Service (0x2800)
> HCI Event: Number of Completed Packets (0x13) plen 5 [hci0] 29.047382
Num handles: 1
Handle: 32
Count: 1
> ACL Data RX: Handle 32 flags 0x02 dlen 18 [hci0] 29.114642
ATT: Read By Group Type Response (0x11) len 13
Attribute data length: 6
Attribute group list: 2 entries
Handle range: 0x0001-0x0007
UUID: Generic Access Profile (0x1800)
Handle range: 0x0008-0x000b
UUID: Generic Attribute Profile (0x1801)
< ACL Data TX: Handle 32 flags 0x00 dlen 11 [hci0] 29.114906
ATT: Read By Group Type Request (0x10) len 6
Handle range: 0x000c-0xffff
Attribute group type: Primary Service (0x2800)
> HCI Event: Number of Completed Packets (0x13) plen 5 [hci0] 29.182389
Num handles: 1
Handle: 32
Count: 1
> ACL Data RX: Handle 32 flags 0x02 dlen 26 [hci0] 29.249598
ATT: Read By Group Type Response (0x11) len 21
Attribute data length: 20
Attribute group list: 1 entry
Handle range: 0x000c-0xffff
UUID: Unknown (a3c87500-8ed3-4bdf-8a39-a01bebede295)
< ACL Data TX: Handle 32 flags 0x00 dlen 11 [hci0] 29.249897
ATT: Read By Group Type Request (0x10) len 6
Handle range: 0x0001-0xffff
Attribute group type: Secondary Service (0x2801)
> HCI Event: Number of Completed Packets (0x13) plen 5 [hci0] 29.317379
Num handles: 1
Handle: 32
Count: 1
> ACL Data RX: Handle 32 flags 0x02 dlen 9 [hci0] 29.384480
ATT: Error Response (0x01) len 4
Read By Group Type Request (0x10)
Handle: 0x0001
Error: Attribute Not Found (0x0a)
< ACL Data TX: Handle 32 flags 0x00 dlen 11 [hci0] 29.384822
ATT: Read By Type Request (0x08) len 6
Handle range: 0x000c-0xffff
Attribute type: Include (0x2802)
> HCI Event: Number of Completed Packets (0x13) plen 5 [hci0] 29.452365
Num handles: 1
Handle: 32
Count: 1
> ACL Data RX: Handle 32 flags 0x02 dlen 9 [hci0] 29.519461
ATT: Error Response (0x01) len 4
Read By Type Request (0x08)
Handle: 0x000c
Error: Attribute Not Found (0x0a)
< ACL Data TX: Handle 32 flags 0x00 dlen 11 [hci0] 29.519653
ATT: Read By Type Request (0x08) len 6
Handle range: 0x000c-0xffff
Attribute type: Characteristic (0x2803)
> HCI Event: Number of Completed Packets (0x13) plen 5 [hci0] 29.587337
Num handles: 1
Handle: 32
Count: 1
> ACL Data RX: Handle 32 flags 0x02 dlen 27 [hci0] 29.654606
ATT: Read By Type Response (0x09) len 22
Attribute data length: 21
Attribute data list: 1 entry
Handle: 0x000d
Value: 020e0095e2edeb1ba0398adf4bd38e0175c8a3
< ACL Data TX: Handle 32 flags 0x00 dlen 11 [hci0] 29.655059
ATT: Read By Type Request (0x08) len 6
Handle range: 0x000e-0xffff
Attribute type: Characteristic (0x2803)
> HCI Event: Number of Completed Packets (0x13) plen 5 [hci0] 29.722359
Num handles: 1
Handle: 32
Count: 1
> ACL Data RX: Handle 32 flags 0x02 dlen 27 [hci0] 29.789728
ATT: Read By Type Response (0x09) len 22
Attribute data length: 21
Attribute data list: 1 entry
Handle: 0x000f
Value: 0a100095e2edeb1ba0398adf4bd38e0275c8a3
< ACL Data TX: Handle 32 flags 0x00 dlen 11 [hci0] 29.789905
ATT: Read By Type Request (0x08) len 6
Handle range: 0x0010-0xffff
Attribute type: Characteristic (0x2803)
> HCI Event: Number of Completed Packets (0x13) plen 5 [hci0] 29.857357
Num handles: 1
Handle: 32
Count: 1
> ACL Data RX: Handle 32 flags 0x02 dlen 27 [hci0] 29.924734
ATT: Read By Type Response (0x09) len 22
Attribute data length: 21
Attribute data list: 1 entry
Handle: 0x0011
Value: 0a120095e2edeb1ba0398adf4bd38e0375c8a3
< ACL Data TX: Handle 32 flags 0x00 dlen 11 [hci0] 29.924917
ATT: Read By Type Request (0x08) len 6
Handle range: 0x0012-0xffff
Attribute type: Characteristic (0x2803)
> HCI Event: Number of Completed Packets (0x13) plen 5 [hci0] 29.992353
Num handles: 1
Handle: 32
Count: 1
> ACL Data RX: Handle 32 flags 0x02 dlen 27 [hci0] 30.059713
ATT: Read By Type Response (0x09) len 22
Attribute data length: 21
Attribute data list: 1 entry
Handle: 0x0013
Value: 0a140095e2edeb1ba0398adf4bd38e0475c8a3
< ACL Data TX: Handle 32 flags 0x00 dlen 11 [hci0] 30.059977
ATT: Read By Type Request (0x08) len 6
Handle range: 0x0014-0xffff
Attribute type: Characteristic (0x2803)
> HCI Event: Number of Completed Packets (0x13) plen 5 [hci0] 30.127355
Num handles: 1
Handle: 32
Count: 1
> ACL Data RX: Handle 32 flags 0x02 dlen 27 [hci0] 30.194729
ATT: Read By Type Response (0x09) len 22
Attribute data length: 21
Attribute data list: 1 entry
Handle: 0x0015
Value: 0a160095e2edeb1ba0398adf4bd38e0575c8a3
< ACL Data TX: Handle 32 flags 0x00 dlen 11 [hci0] 30.194967
ATT: Read By Type Request (0x08) len 6
Handle range: 0x0016-0xffff
Attribute type: Characteristic (0x2803)
> HCI Event: Number of Completed Packets (0x13) plen 5 [hci0] 30.262354
Num handles: 1
Handle: 32
Count: 1
> ACL Data RX: Handle 32 flags 0x02 dlen 27 [hci0] 30.329711
ATT: Read By Type Response (0x09) len 22
Attribute data length: 21
Attribute data list: 1 entry
Handle: 0x0017
Value: 0a180095e2edeb1ba0398adf4bd38e0675c8a3
< ACL Data TX: Handle 32 flags 0x00 dlen 11 [hci0] 30.329923
ATT: Read By Type Request (0x08) len 6
Handle range: 0x0018-0xffff
Attribute type: Characteristic (0x2803)
> HCI Event: Number of Completed Packets (0x13) plen 5 [hci0] 30.397354
Num handles: 1
Handle: 32
Count: 1
> ACL Data RX: Handle 32 flags 0x02 dlen 27 [hci0] 30.464728
ATT: Read By Type Response (0x09) len 22
Attribute data length: 21
Attribute data list: 1 entry
Handle: 0x0019
Value: 0a1a0095e2edeb1ba0398adf4bd38e0775c8a3
< ACL Data TX: Handle 32 flags 0x00 dlen 11 [hci0] 30.464925
ATT: Read By Type Request (0x08) len 6
Handle range: 0x001a-0xffff
Attribute type: Characteristic (0x2803)
> HCI Event: Number of Completed Packets (0x13) plen 5 [hci0] 30.532328
Num handles: 1
Handle: 32
Count: 1
> ACL Data RX: Handle 32 flags 0x02 dlen 27 [hci0] 30.599727
ATT: Read By Type Response (0x09) len 22
Attribute data length: 21
Attribute data list: 1 entry
Handle: 0x001b
Value: 0a1c0095e2edeb1ba0398adf4bd38e0875c8a3
< ACL Data TX: Handle 32 flags 0x00 dlen 11 [hci0] 30.599938
ATT: Read By Type Request (0x08) len 6
Handle range: 0x001c-0xffff
Attribute type: Characteristic (0x2803)
> HCI Event: Number of Completed Packets (0x13) plen 5 [hci0] 30.667326
Num handles: 1
Handle: 32
Count: 1
> ACL Data RX: Handle 32 flags 0x02 dlen 27 [hci0] 30.734701
ATT: Read By Type Response (0x09) len 22
Attribute data length: 21
Attribute data list: 1 entry
Handle: 0x001d
Value: 0a1e0095e2edeb1ba0398adf4bd38e0975c8a3
< ACL Data TX: Handle 32 flags 0x00 dlen 11 [hci0] 30.734884
ATT: Read By Type Request (0x08) len 6
Handle range: 0x001e-0xffff
Attribute type: Characteristic (0x2803)
> HCI Event: Number of Completed Packets (0x13) plen 5 [hci0] 30.802351
Num handles: 1
Handle: 32
Count: 1
> ACL Data RX: Handle 32 flags 0x02 dlen 27 [hci0] 30.869727
ATT: Read By Type Response (0x09) len 22
Attribute data length: 21
Attribute data list: 1 entry
Handle: 0x001f
Value: 0a200095e2edeb1ba0398adf4bd38e0a75c8a3
< ACL Data TX: Handle 32 flags 0x00 dlen 11 [hci0] 30.869926
ATT: Read By Type Request (0x08) len 6
Handle range: 0x0020-0xffff
Attribute type: Characteristic (0x2803)
> HCI Event: Number of Completed Packets (0x13) plen 5 [hci0] 30.937331
Num handles: 1
Handle: 32
Count: 1
> ACL Data RX: Handle 32 flags 0x02 dlen 27 [hci0] 31.004714
ATT: Read By Type Response (0x09) len 22
Attribute data length: 21
Attribute data list: 1 entry
Handle: 0x0021
Value: 08220095e2edeb1ba0398adf4bd38e0b75c8a3
< ACL Data TX: Handle 32 flags 0x00 dlen 11 [hci0] 31.005118
ATT: Read By Type Request (0x08) len 6
Handle range: 0x0022-0xffff
Attribute type: Characteristic (0x2803)
> HCI Event: Number of Completed Packets (0x13) plen 5 [hci0] 31.072345
Num handles: 1
Handle: 32
Count: 1
> ACL Data RX: Handle 32 flags 0x02 dlen 27 [hci0] 31.139726
ATT: Read By Type Response (0x09) len 22
Attribute data length: 21
Attribute data list: 1 entry
Handle: 0x0023
Value: 0a240095e2edeb1ba0398adf4bd38e0c75c8a3
< ACL Data TX: Handle 32 flags 0x00 dlen 11 [hci0] 31.139908
ATT: Read By Type Request (0x08) len 6
Handle range: 0x0024-0xffff
Attribute type: Characteristic (0x2803)
> HCI Event: Number of Completed Packets (0x13) plen 5 [hci0] 31.207357
Num handles: 1
Handle: 32
Count: 1
> ACL Data RX: Handle 32 flags 0x02 dlen 9 [hci0] 31.274598
ATT: Error Response (0x01) len 4
Read By Type Request (0x08)
Handle: 0x0024
Error: Attribute Not Found (0x0a)
< ACL Data TX: Handle 32 flags 0x00 dlen 9 [hci0] 31.274873
ATT: Find Information Request (0x04) len 4
Handle range: 0x0025-0xffff
> HCI Event: Number of Completed Packets (0x13) plen 5 [hci0] 31.342348
Num handles: 1
Handle: 32
Count: 1
> ACL Data RX: Handle 32 flags 0x02 dlen 9 [hci0] 31.409598
ATT: Error Response (0x01) len 4
Find Information Request (0x04)
Handle: 0x0025
Error: Attribute Not Found (0x0a)
= bluetoothd: Unable to register GATT characteristic with handle 0x000d 31.410809
= bluetoothd: Exporting characteristics failed 31.411047
< ACL Data TX: Handle 32 flags 0x00 dlen 9 [hci0] 31.411347
ATT: Write Request (0x12) len 4
Handle: 0x000b
Data: 0200
> HCI Event: Number of Completed Packets (0x13) plen 5 [hci0] 31.477346
Num handles: 1
Handle: 32
Count: 1
> ACL Data RX: Handle 32 flags 0x02 dlen 5 [hci0] 31.544596
ATT: Write Response (0x13) len 0
< ACL Data TX: Handle 32 flags 0x00 dlen 9 [hci0] 31.544765
ATT: Read Blob Request (0x0c) len 4
Handle: 0x0003
Offset: 0x0000
> HCI Event: Number of Completed Packets (0x13) plen 5 [hci0] 31.612322
Num handles: 1
Handle: 32
Count: 1
> ACL Data RX: Handle 32 flags 0x02 dlen 17 [hci0] 31.679746
ATT: Read Blob Response (0x0d) len 12
45 53 20 47 2d 53 4c 4f 54 53 2d 58 ES G-SLOTS-X
< ACL Data TX: Handle 32 flags 0x00 dlen 7 [hci0] 31.680052
ATT: Read Request (0x0a) len 2
Handle: 0x0005
> HCI Event: Number of Completed Packets (0x13) plen 5 [hci0] 31.747347
Num handles: 1
Handle: 32
Count: 1
> ACL Data RX: Handle 32 flags 0x02 dlen 7 [hci0] 31.814597
ATT: Read Response (0x0b) len 2
Value: 0002
,
Apr 25 2016
,
Apr 25 2016
,
May 13 2016
Now that Bluez is rolled can we close this?
,
May 27 2016
,
Jun 3 2016
Fixed in Chrome OS Version 53.0.2754.0 canary (64-bit)
,
Jun 20 2016
as per #6 |
|||||
►
Sign in to add a comment |
|||||
Comment 1 by fbeaufort@chromium.org
, Apr 18 2016