I was just about to suggest/implement an unholy combination of the espruino-cli and this python implementation, and then I noticed there's an alternate BLE node.js module for linux that is a lot newer than noble and uses the DBus interface so it's also much better ergonomically.
So I implemented a new serial plugin for the espruino tools that uses it. Seems to detect and connect to my Bangle without issue. A PR is up on the github now.
Now I just need to figure out why the cli terminal isn't working properly...
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I was just about to suggest/implement an unholy combination of the espruino-cli and this python implementation, and then I noticed there's an alternate BLE node.js module for linux that is a lot newer than noble and uses the DBus interface so it's also much better ergonomically.
So I implemented a new serial plugin for the espruino tools that uses it. Seems to detect and connect to my Bangle without issue. A PR is up on the github now.
Now I just need to figure out why the cli terminal isn't working properly...