Updating Win32 MSTP datalink layer. Testing.

This commit is contained in:
skarg
2007-07-03 00:44:48 +00:00
parent d6851d7320
commit 3869b55fea
6 changed files with 169 additions and 104 deletions
+1 -5
View File
@@ -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",