History: ip_app_sntp
This page describes all changes made to the ip_app_sntp package, SNTP Client, since its release.
Version
1.21 (2020-05-20, 22:31):
- MISRA-C:2012: violations eliminated (MISRA-C:2004 revoked).
1.20 (2020-03-05, 14:10):
- Buffer overflow fixed in sntp_set_server() (did not cause issues but was required for consistency).
1.19 (2019-11-25, 15:57):
- MISRA-C:2004: violations eliminated.
1.18 (2019-02-13, 16:55):
- MISRA-C:2004: violations eliminated.
1.17 (2019-01-18, 10:00):
- Corrected IP address compare in sntp_check_kod() function.
1.16 (2018-09-10, 07:48):
- Removed unnecessary header file (hcc/src/ip/apps/sntp/sntp.h).
1.15 (2018-09-10, 07:48):
- Incorrect time could be calculated in synchronized state.
- Compiler warnings were eliminated.
1.14r2 (2018-08-29, 18:05):
- Document HTML link added to the documentation folder.
- History and document files renamed to the package name.
1.14 (2018-02-20, 12:07):
- Applied Socket API changes.
1.13 (2017-11-03, 14:00):
- Added design document.
- Corrected handling of Kiss of Death "RATE".
1.12 (2017-10-18, 11:10):
- Added missing 'static' to sntp_step_time definition.
1.11 (2017-10-04, 11:02):
- udp_open() call changed to match new API.
1.10 (2017-09-12, 10:00):
- Corrected some MISRA warnings.
- Removed use of signed type when calculating time offset.
1.9 (2017-09-08, 13:45):
- Corrected use of socket_select() (nfds is set to max listen socket number + 1).
1.8 (2017-06-08, 13:15):
- Corrected overflow during calculation of time_offset in sntp_process_msg().
1.7:
- sntp_check_msg(): corrected read of ntts_sec, ntts_frac to use PSP_RD_BE32. Direct comparison with 0 resulted in an unaligned uint32 read exception on some machines.
1.6:
- Removed Authorization field from NTP packet that is not present in SNTP.
1.5:
- Server index is now cleared during start of module.
- Removed incude #include "../../../config/config_ip_udp.h".
1.4:
- Corrected reference time loopback check.
- Removed use of int64 type.
1.3:
- Added support for standard sockets (tested on LwIP sockets).
- Corrected behavior of message receive when socket interface is used.
1.2:
- It can be configured to use BSD sockets.
- Updated to work with UDP major version 6.
- Updated to work with IP base major version 6.
1.1:
- SNTP after removing NTP-related code. Corrected received message filtering.
1.0:
- Initial release of SNTP.