Have you tried just reflashing using the firmware update mode (maybe to a Ruuvitag firmware) and then flashing back to Espruino? I'd have thought that should fix it.
The issue might be that on Espruino devices I the bootloader is smart enough to time out after around 5 seconds if the device is powered with the button held down. If RuuviTag's doesn't do that then the only way of booting into Espruino with the button held down may be trial and error - powering on while pressing BTN1 at exactly the right point.
Have you tried turning bluetooth off and on on your PC? GATT ERROR might be due to the computer itself getting confused.
However, do you confirm I have to use the Nordic UART Service to communicate with the laptop?
Actually you can attach a USB-TTL converter to D4 and D5 on the Ruuvitag, power it on, and communicate with it that way at 9600 baud.
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.
Have you tried just reflashing using the firmware update mode (maybe to a Ruuvitag firmware) and then flashing back to Espruino? I'd have thought that should fix it.
The issue might be that on Espruino devices I the bootloader is smart enough to time out after around 5 seconds if the device is powered with the button held down. If RuuviTag's doesn't do that then the only way of booting into Espruino with the button held down may be trial and error - powering on while pressing BTN1 at exactly the right point.
Have you tried turning bluetooth off and on on your PC?
GATT ERROR
might be due to the computer itself getting confused.Actually you can attach a USB-TTL converter to D4 and D5 on the Ruuvitag, power it on, and communicate with it that way at 9600 baud.