What you're doing with updateServices looks fine. All I'd say is it's far more efficient to use the same basic UUID and to change the second group of 4 digits as you did in the first example.
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.
Ok, so it looks like your first issue (getting the data in a write notification) is sorted?
You just add an extra element to the object. For example:
What you're doing with updateServices looks fine. All I'd say is it's far more efficient to use the same basic UUID and to change the second group of 4 digits as you did in the first example.
I just tried this code and it works fine: