Bluetooth problem on Ubuntu PC

Hi everyone!

I investigated the issue, and unfortunately I don’t bring good news ^^

For several years, Gladys has been using the « Noble » library, a library that allows using Bluetooth from Node.js

This library was gradually abandoned by the original maintainers (the last commit was 6 years ago) but was taken over by a collective, « abandonware ».

We use the « abandonware » version, which is still maintained, but lightly by a few members.

By looking through the issues of this library, you quickly realize that since a certain version of the Linux kernel, the library no longer works.

There are many posts on the topic, a few examples:

To see them all, go here: GitHub · Where software is built

I see there have been issues with other libraries following changes to the Linux kernel:

What do we do?

The bug seems relatively recent (relative to the activity of the noble project), I think for now we can wait to see if abandonware publishes a fix for recent versions of Linux.

If this library is truly abandoned in the coming months, we’ll have to find an alternative, but I looked quickly and there really isn’t any other library, it’s complicated :sweat_smile:

What are you using it for?

For those who wanted to use Bluetooth in this thread, what did you want to do?

I can point you towards alternative solutions!

Honestly, presence detection via Bluetooth is a method I increasingly advise against.

In the past, the majority of Bluetooth devices were “basic”: they constantly broadcast their MAC address, which made them very easy to detect and track.

But today, modern devices like smartphones or smartwatches include advanced mechanisms to avoid tracking (for privacy reasons) and to optimize battery consumption.

Result: Bluetooth scans on these devices have become largely ineffective.