NRF.setServices should have the effect of replacing all services with what you supply in the argument - not appending to them, so that sounds like a bug. I've never come across it before.
Do you think you paste up a full example of some code that causes this and the exact steps you took so I can reproduce it at my end?
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.
NRF.setServices
should have the effect of replacing all services with what you supply in the argument - not appending to them, so that sounds like a bug. I've never come across it before.Do you think you paste up a full example of some code that causes this and the exact steps you took so I can reproduce it at my end?
I tried uploading:
to RAM, then doing
save()
and thenload()
a few times, and I couldn't get it to duplicate the services.