Bugfix/dlmstp api missing in ports os (#1003)

* Added missing API defined in header into ports/win32/dlmstp.c module, added a PDU queue and refactored receive thread, and refactored MS/TP timing parameters.

* Added missing API defined in header into ports/linux/dlmstp.c module, and refactored MS/TP timing parameters.

* Added missing API defined in header into ports/bsd/dlmstp.c module, and refactored MS/TP timing parameters.

* Reduce default MS/TP APDU to 480 to avoid extended frames by default.
This commit is contained in:
Steve Karg
2025-05-27 10:14:15 -05:00
committed by GitHub
parent f5b5db445c
commit 442f408c1a
10 changed files with 2126 additions and 1043 deletions
+1 -1
View File
@@ -129,7 +129,7 @@ bool datetime_local(
bool *dst_active)
{
bool status = false;
struct tm *tblock;
struct tm *tblock = NULL;
#if defined(_MSC_VER)
struct tm newtime = { 0 };
__time64_t long_time = 0;