node-ble
node-ble copied to clipboard
Error: interface not found in proxy object: org.bluez.GattService1
So I'm currently trying to get some characteristic values from a device, but unfortunately I can't fix this error. Using bluetoothctl I can easily extract the characteristic values, but with the package things fail.
const { bluetooth, destroy } = createBluetooth()
const adapter = await bluetooth.defaultAdapter()
const device = await adapter.waitDevice(uuid);
if(! await device.isConnected()) {
await device.connect();
}
console.log(await device.isConnected());
await device.gatt();
throw new Error(`interface not found in proxy object: ${name}`);
^
Error: interface not found in proxy object: org.bluez.GattService1
Can you provide your operating system name and version?
I'm using Ubuntu 22.04. as OS.
Thanks for the feedback. I added this ubuntu version on the CI pipeline, but I don't see any issue https://github.com/chrvadala/node-ble/pull/39. Have you tested it on a fresh Ubuntu 2204 installation?
I'll investigate further in the upcoming days and give some additional information.
I have run into this problem on Ubuntu 22.04 too. Was any resolution found for this issue ?