That's a strange one - do you have any other code in there that could have been causing problems?
NRF.wake() should really be enough to get it advertising again after sleep turned it off
edit: You'll need to be using a recent firmware though - 1v88 could cause you problems
© Espruino, powered by microcosm.
Report a problem