Skip to content

Releases: vpetrigo/sntpc

v0.3.0

09 Nov 09:33
v0.3.0
686ddb6
Compare
Choose a tag to compare

What's Changed

  • Add no std support

Add:

  • smoltcp example to provide with overview on how to deal with custom TCP/IP stack in no_std environment
  • functions sntp_send_request and sntp_process_response to allow library to work in an environment where the get_time call is not possible. E.g. smoltcp requires to poll underlying interface explicitly to send TX buffers to/receive data into RX buffers - in that case the get_time returns error, since data is not ready after sending

Update:

  • rename request_with_addr function to get_time

Fix:

  • offset and roundtrip metrics calculation
  • request timestamp packing

Remove:

  • timesync binary and move it as an example, since utils module API is rather experimental