Ok after un-pairing and re-pairing I get the same issue with the error: "Try connecting your device again". But now with the code from your comment #41.
Edit:
Something is causing an error on the puckjs because I have it blinking a light to show that its running and this stops as soon as I try to pair.
var kb = require("ble_hid_keyboard");
var on = false;
function onInit() {
NRF.setServices(undefined, { hid : kb.report });
setWatch(btnPressed, BTN, {edge:"rising",repeat:true,debounce:50});
flashLED();
}
function btnPressed() {
kb.tap(kb.KEY['c'], 0);
}
var flashLED = function() {
on = !on;
LED1.write(on);
var interval;
if(on) {
interval = 5;
} else {
interval = 5000;
}
setTimeout(flashLED, interval);
};
It doesn't seem to be code specific either because I tried pairing with no code running.
And again rolling back to 1v91 and there are no pairing issues.
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.
Ok after un-pairing and re-pairing I get the same issue with the error: "Try connecting your device again". But now with the code from your comment #41.
Edit:
Something is causing an error on the puckjs because I have it blinking a light to show that its running and this stops as soon as I try to pair.
It doesn't seem to be code specific either because I tried pairing with no code running.
And again rolling back to 1v91 and there are no pairing issues.