What is the recommended way to use an nrf dongle with node.js for BLE 5.

This library (https://github.com/NordicSemiconductor/pc-ble-driver-js) is pretty outdated, and the linked installation instructions are in an archived repository.

I know the OSes have their own BLE support nowdays, but you don't have much control via their APIs as you do with the the nordic libs.

Perhaps there's something available via zephyr that is more equivalent?

  • Hi,

    You are right that pc-ble-driver (including the bindings for other languages) is outdated and will not receive updates. In nRF Connect SDK and Zephyr there is a split between the BT hos and controller implementation, which HCI interface. So you can for instance use the BT controller on the nRF by running one of the HCI Bluetooth samples (depending on transport), and using a controller implementedon the host. This works more or less out of the box with Linux.

    For a general solution, you could consider the Bluetooth shell, and make a script that interface with it, to use it for connectivity. We do not have any examples on that, though.

Related