Modified the server to work with MSTP datalink. Still in progress.

This commit is contained in:
skarg
2007-06-30 23:36:54 +00:00
parent 0e3c2e01af
commit 758b32de29
5 changed files with 58 additions and 22 deletions
+8
View File
@@ -107,6 +107,14 @@ int main(int argc, char *argv[])
Network_Interface = argv[2];
if (argc > 3)
bip_set_port(strtol(argv[3], NULL, 0));
#endif
#if defined(BACDL_MSTP)
if (argc > 2) {
Network_Interface = argv[2];
}
if (argc > 3) {
dlmstp_set_mac_address(strtol(argv[1], NULL, 0));
}
#endif
printf("BACnet Server Demo\n"
"BACnet Device ID: %u\r\n",