I'm making a watch so I needed an accurate time source. I've found the SNTP module which seems to do just that. However, it always times out and I'm not sure how to proceed to figure out why it doesn't work.
The SNTP module is based on @hapi/sntp so I tried running that module on my laptop against the same NTP service and it works fine. Both the laptop and the MCU are on the same network.
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.
Hi.
I'm making a watch so I needed an accurate time source. I've found the SNTP module which seems to do just that. However, it always times out and I'm not sure how to proceed to figure out why it doesn't work.
The SNTP module is based on @hapi/sntp so I tried running that module on my laptop against the same NTP service and it works fine. Both the laptop and the MCU are on the same network.
Any tips on how to proceed to debug this?
TIA,
Per.