I have added a service to my puck using the following code -
NRF.setServices({ "6E400004-B5A3-F393-E0A9-E50E24DCCA9E" : { "6E400005-B5A3-F393-E0A9-E50E24DCCA9E" : { value : analogRead(D29), broadcast : true, readable : true } } });
but I don't see it in the list of services when I use my app to connect to the puck I still only see- 0x1800, 0x1801 & 6e400001-.....
have I added the service wrong? do I need to activate the service every time I connect to the puck or something? Any thoughts would be appreciated.
@user71773 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.
I have added a service to my puck using the following code -
but I don't see it in the list of services when I use my app to connect to the puck I still only see-
0x1800, 0x1801 & 6e400001-.....
have I added the service wrong? do I need to activate the service every time I connect to the puck or something? Any thoughts would be appreciated.