Great! Glad you got it working!
Yes, the API has changed a bit in recent versions. setName is now rolled into setAdvertising since you can't set the name without resetting the advertising info.
You should be able to build your own up to date docs by calling scripts/build_doc.py (I think), or you can look in the source files directly. All the documentation is stored in comments that start with /*JSON;
(The Puck.js specific stuff might not work on nRF52, since it's expecting an IR LED and Magnetometer)
© Espruino, powered by microcosm.
Report a problem