Using the link above, it looks like:
NRF.setServices({ '555a0001-0aaa-467a-9538-01f0652c74e8' : { '555a0003-0aaa-467a-9538-01f0652c74e8' : { value : [0], maxLen : 20, readable : true, notify : true, } } }, { advertise : ['555a0001-0aaa-467a-9538-01f0652c74e8'] }); // then every so often call: NRF.updateServices({ '555a0001-0aaa-467a-9538-01f0652c74e8' : { '555a0003-0aaa-467a-9538-01f0652c74e8' : { value : [your_value_here], notify : true, } } });
I guess you might need to add the config characteristic, but it might work 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.
Using the link above, it looks like:
I guess you might need to add the config characteristic, but it might work as-is