I may be misunderstanding, but does the time it takes to get a connection really matter? Surely you connect first, then check and send the accurate time. The time to check and send is the only bit that matters, isn't it?
I don't think it matters (except for maybe power usage). But the problem was that the "check and send the accurate time" takes 90-100 ms usually and occasionally up to 300 ms, i.e. it's not accurate at all.
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 may be misunderstanding, but does the time it takes to get a connection really matter? Surely you connect first, then check and send the accurate time. The time to check and send is the only bit that matters, isn't it?