LE ControllerMode fails with Google Chrome

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



When setting "ControllerMode = le" in /etc/bluetooth/main.conf file,
starting a dual scan from Google Chrome fails as you can see below.

Run ./chrome --enable-web-bluetooth
Go to https://googlechrome.github.io/samples/web-bluetooth/automatic-reconnect.html
Click "Scan button"
Bluetooth chooser should show nearby Bluetooth devices. Sadly it only
returns the ones in cache.with "ControllerMode = dual"

According to logs below, it looks like the scan stopped immediately.
For info, it works great

// Click Scan Web button
bluetoothd[26766]: src/adapter.c:set_discovery_filter() sender :1.11
bluetoothd[26766]: src/adapter.c:parse_discovery_filter_dict()
filtered discovery params: transport: 7 rssi: 32767 pathloss: 32767
bluetoothd[26766]: src/adapter.c:set_discovery_filter() successfully
pre-set filter
bluetoothd[26766]: src/adapter.c:start_discovery() sender :1.11
bluetoothd[26766]: src/adapter.c:update_discovery_filter()
bluetoothd[26766]: src/adapter.c:discovery_filter_to_mgmt_cp()
bluetoothd[26766]: src/adapter.c:trigger_start_discovery()
bluetoothd[26766]: src/adapter.c:cancel_passive_scanning()
bluetoothd[26766]: src/adapter.c:start_discovery_timeout()
bluetoothd[26766]: src/adapter.c:start_discovery_timeout()
adapter->current_discovery_filter == 1
bluetoothd[26766]: src/adapter.c:start_discovery_timeout() sending
MGMT_OP_START_SERVICE_DISCOVERY 127, 7, 0
bluetoothd[26766]: src/adapter.c:start_discovery_complete() status 0x0b
bluetoothd[26766]: src/adapter.c:trigger_start_discovery()
bluetoothd[26766]: src/adapter.c:cancel_passive_scanning()

// Click "Cancel" button from Chrome Bluetooth chooser
bluetoothd[26766]: src/adapter.c:stop_discovery() sender :1.11
bluetoothd[26766]: src/adapter.c:discovery_destroy() owner :1.11
bluetoothd[26766]: src/adapter.c:trigger_passive_scanning()
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux