Is there a sample implementation of a NTP client to get the time from a timeserver?
I use the SPWF01SA together with a STM32F401.
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. Here a simple flow.
SimpleNTP is accurate enough.
Thanks for your quick answer.
Von: "gallucci.gerardo" <email@example.com>
Antworten an: <firstname.lastname@example.org>
Datum: Donnerstag, 12. Januar 2017 um 19:58
An: "dietrich.manfred.001" <email@example.com>
Betreff: Re: - Re: SPWF01SA NTP client
Re: SPWF01SA NTP client
reply from gallucci.gerardo in Interface and Connectivity ICs - View the full discussionHi Manfred, if SimpleNTP is enough, you can open a simple UDP socket (ATS.SOCKON) and write (ATS.SOCKW) a 48 byte requesto to server. Than expect a 48 byte reply, and read (AT+S.SOCKR) it. Here a simple flow.
Reply to this message by replying to this email, or go to the message on STMicroelectronics Community
Start a new discussion in Interface and Connectivity ICs by email or at STMicroelectronics Community
Following Re: SPWF01SA NTP client in these streams: Inbox
This email was sent by STMicroelectronics Community because you are a registered user.
You may unsubscribe instantly from STMicroelectronics Community, or adjust email frequency in your email preferences
Retrieving data ...