Most recent activity

In my case my Puck is notifying a .js app of a change of a float32 value.
I tried using print() but this converts a float32 into a ascii byte-string. This is sort of OK but rather messy for the app to have to convert back to a Float, not to mention potential loss of precision.

Is there a way to send the float in its natural 4-byte form so that converting back to float32 can be easily done by the app?

I want to make a beacon that uses as little power (last as long) as possible.
Since puck has a button I thought I might get it to wake up on that and go into lowest power mode after a set period of advertising.

Looking at the links at the end of "Getting started". I was hoping to find some stuff about puck platform-specifics that would help me code up the above. As it is the links that looked useful are broken.