Releases: vpetrigo/sntpc
Releases · vpetrigo/sntpc
v0.3.7
What's Changed
Add:
- #23:
async
support for the sntpc
crate
v0.3.6
What's Changed
Add:
- 327ac30 helper converter functions to convert second fractional SNTP field to fractional seconds value (milliseconds, microseconds, etc.)
v0.3.5
What's Changed
Add:
- timestamp generator for
std
feature
simple_get_time()
function and NtpUdpSocket
trait implementation for std::net::UdpSocket
to reduce boilerplate when std
feature is in use
Update:
v0.3.4
What's Changed
Update:
- 1f78f73: add missed methods for getting stratum and precision fields
v0.3.3
What's Changed
Add:
- #22: Incorporated server precision indicators into NtpResult
Update:
- #21: update seconds fraction field description and update the example
v0.3.2
What's Changed
Fix:
- #19: fix possible overflow in offset calculation
- e140d06: fix delta calculation to prevent overflowing errors in the roundtrip function
v0.3.1
What's Changed
Update:
- move
clap
from dependencies to dev-dependencies
- examples documentation
v0.3.0
What's Changed
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