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:
+1
-1
@@ -139,7 +139,7 @@
|
||||
#define MAX_APDU 1476
|
||||
#elif defined(BACDL_MSTP) && !defined(BACNET_SECURITY)
|
||||
/* note: MS/TP extended frames can be up to 1476 bytes */
|
||||
#define MAX_APDU 1476
|
||||
#define MAX_APDU 480
|
||||
#elif defined(BACDL_ETHERNET) && !defined(BACNET_SECURITY)
|
||||
#define MAX_APDU 1476
|
||||
#elif defined(BACDL_ETHERNET) && defined(BACNET_SECURITY)
|
||||
|
||||
Reference in New Issue
Block a user