I'm trying to set up a GATT service on my ruuvitag. I have successfully installed the firmware following https://www.espruino.com/Ruuvitag and I can talk with the device and upload code 🎉
What I am wondering however, is how I can connect to this service using a node.js application. I've been trying the espurino module but can't figure out how to use it to "scan" for GATT services. Using the bleat module I can find other BLE devices, but not my ruuvitag running espurino.
Any ideas what I might be getting wrong?
NB! I'm new to this whole BLE and GATT stuff, so I might be confused about a few things 😝
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.
Hi there!
I'm trying to set up a GATT service on my ruuvitag. I have successfully installed the firmware following https://www.espruino.com/Ruuvitag and I can talk with the device and upload code 🎉
I've got the following code running:
What I am wondering however, is how I can connect to this service using a
node.js
application. I've been trying theespurino
module but can't figure out how to use it to "scan" for GATT services. Using thebleat
module I can find other BLE devices, but not my ruuvitag running espurino.Any ideas what I might be getting wrong?
NB! I'm new to this whole BLE and GATT stuff, so I might be confused about a few things 😝