Solved
SPWF01SA NTP client
Posted on January 12, 2017 at 13:21
Hi,
Is there a sample implementation of a NTP client to get the time from a timeserver?
I use the SPWF01SA together with a STM32F401.
BR,
Manfred
#spwf01-ntpHi,
Is there a sample implementation of a NTP client to get the time from a timeserver?
I use the SPWF01SA together with a STM32F401.
BR,
Manfred
#spwf01-ntpHi Manfred,
if SimpleNTP is enough, you can open a simple UDP socket (AT+S.SOCKON) and write (AT+S.SOCKW) a 48 byte requesto to server. Than expect a 48 byte reply, and read (AT+S.SOCKR) it.
http://ceng393.cankaya.edu.tr/uploads/files/file/ntp_project-1.pdf
a simple flow.Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.