Bluetooth on Linux/Chrome no longer connecting

Posted on
  • Odd one - yesterday I had the IDE in Chrome connecting and uploading to my Bangle.js 2 fine flawlessly.

    Today I can no longer connect - the device shows up in the popup and fails with "No Services matching UUID 6e400001-b5a3-f393-e0a9-e50e24dcca9e found in Device".

    In bluetoothctl I can see this service is available:

    Device C2:30:31:71:72:2D (random)

    Name: Bangle.js 722d
    Alias: Bangle.js 722d
    Paired: yes
    Trusted: yes
    Blocked: no
    Connected: yes
    LegacyPairing: no
    UUID: Generic Access Profile    (00001800-0000-1000-8000-00805f9b34fb)
    UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
    UUID: Nordic UART Service       (6e400001-b5a3-f393-e0a9-e50e24dcca9e)
    

    Connecting works fine from my Android phone. So seems like something has broken on my Linux system. Tried reboot, removing device from bluetoothctl and repairing, etc to no avail. Help!

    Thanks

    Set Slow Write = true
    index.js:92942 BT> Starting device chooser
    index.js:96347 Web Bluetooth is experimental on this platform. See https://github.com/WebBluetoothCG/web-bl­uetooth/blob/main/implementation-status.­md
    index.js:92942 >>> Connecting to Bangle.js 722d
    index.js:92942 BT>  Device Name:       Bangle.js 722d
    index.js:92942 BT>  Device ID:         cOsU4+2c2Y7438HF0xk5xA==
    index.js:92942 >>> Connected to BLE
    index.js:92942 BT> Connected
    index.js:92942 BT> ERROR: NotFoundError: No Services matching UUID 6e400001-b5a3-f393-e0a9-e50e24dcca9e found in Device.
    index.js:92942 BT> Disconnected (gattserverdisconnected)
    
  • for me it helped to stop bluetooth service (something like /etc/init.d/bluetoth stop) and then as root removing /var/lib/bluetooth/[mac address of your bluetooth interface] directory and starting the service again. also sometimes just reloading IDE web page with shift+reload button helps

  • @fanoush fixed! Deleting the directory under /var/lib/bluetooth and restarting the service seemed to do the job. Thanks so much for the help!

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

Bluetooth on Linux/Chrome no longer connecting

Posted by Avatar for barnybug @barnybug

Actions