Try upgrading the firmware? 1v96 is quite old now.
Tried just now with 2v01 and:
var controls = require("ble_hid_controls");
NRF.setServices(undefined, { hid : controls.report });
setWatch(function() {
// Play/stop music
controls.playpause();
}, BTN, {repeat:true});
and it works great playing/pausing videos on an iPad mini.
I paste the code, connect to Puck, upload it, disconnect, then attempt to connect from my iPhone.
This is exactly what I did, but do get the pairing message on mine.
It might be worth powering the Puck up with a long-press of the button, as that will clear any pairing info out of it - just in case that was some kind of problem.
Also, I should add that if I'm on the Bluetooth settings screen on the iPad then I do see it when doing NRF.findDevices(print) (reporting "manufacturer": 76,, which is 0x004c - apple's ID.
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.
Try upgrading the firmware? 1v96 is quite old now.
Tried just now with 2v01 and:
and it works great playing/pausing videos on an iPad mini.
This is exactly what I did, but do get the pairing message on mine.
It might be worth powering the Puck up with a long-press of the button, as that will clear any pairing info out of it - just in case that was some kind of problem.
Also, I should add that if I'm on the Bluetooth settings screen on the iPad then I do see it when doing
NRF.findDevices(print)
(reporting"manufacturer": 76,
, which is 0x004c - apple's ID.