Well, I'm afraid it's not in there yet. It'd be a good thing to fix though.
To be honest the whole services/advertising API could do with a bit of love. It doesn't make that much sense as-is.
@Gordon started
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.
Well, I'm afraid it's not in there yet. It'd be a good thing to fix though.
To be honest the whole services/advertising API could do with a bit of love. It doesn't make that much sense as-is.