• That's a bit strange about the reconnect, but maybe it just doesn't reconnect if there's no service provided that it 'wants'.

    It's be worth trying without the whitelisting first just in case that is causing you issues.

    Maybe try making the Puck a HID device: http://www.espruino.com/Puck.js+Keyboard­#multimedia-keys

    So literally just adding the lines:

    var controls = require("ble_hid_controls");
    NRF.setServices(undefined, { hid : controls.report });

    That'll make it a 'multimedia control' (for play/stop/pause/etc) that the phone will probably want to stay connected to.


Avatar for Gordon @Gordon started