Updating Win32 MSTP datalink layer. Testing.
This commit is contained in:
@@ -109,6 +109,7 @@ int main(int argc, char *argv[])
|
||||
bip_set_port(strtol(argv[3], NULL, 0));
|
||||
#endif
|
||||
#if defined(BACDL_MSTP)
|
||||
RS485_Set_Baud_Rate(38400);
|
||||
dlmstp_set_max_info_frames(1);
|
||||
dlmstp_set_max_master(127);
|
||||
if (argc > 2) {
|
||||
@@ -117,11 +118,6 @@ int main(int argc, char *argv[])
|
||||
if (argc > 3) {
|
||||
dlmstp_set_mac_address(strtol(argv[3], NULL, 0));
|
||||
}
|
||||
#if 0
|
||||
RS485_Set_Baud_Rate(38400);
|
||||
dlmstp_set_max_info_frames(DEFAULT_MAX_INFO_FRAMES);
|
||||
dlmstp_set_max_master(DEFAULT_MAX_MASTER);
|
||||
#endif
|
||||
#endif
|
||||
printf("BACnet Server Demo\n"
|
||||
"BACnet Device ID: %u\r\n",
|
||||
|
||||
Reference in New Issue
Block a user