Hello ,
I have read the Reference for the NRF.setAdvertising , and something is missing for me.
For example
to return battery level at 95%, do:
NRF.setAdvertising({
0x180F : [95]
});
Or you could report the current temperature:
setInterval(function() {
NRF.setAdvertising({
0x1809 : [Math.round(E.getTemperature())]
});
}, 30000);
but how do I get this data ?
also where is the lines I can edit ? which options I can use\edit?
is there a list of thing I can use?
also
when I scan my device I can see that the MAC is
16:17:18:20:ac:a0 random
why is it?
what is the different between
Public,statis,random?
what do I need to use?
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.
Hello ,
I have read the Reference for the NRF.setAdvertising , and something is missing for me.
For example
but how do I get this data ?
also where is the lines I can edit ? which options I can use\edit?
is there a list of thing I can use?
also
when I scan my device I can see that the MAC is
why is it?
what is the different between
Public,statis,random?
what do I need to use?
Thanks,