Compiled MS/TP for server demo using sockets. Doesn't seem to keep up with token passing. Still investigating.

This commit is contained in:
skarg
2007-07-02 16:47:16 +00:00
parent 5435d46621
commit c1be9b7adf
4 changed files with 82 additions and 39 deletions
+3 -1
View File
@@ -109,11 +109,13 @@ int main(int argc, char *argv[])
bip_set_port(strtol(argv[3], NULL, 0));
#endif
#if defined(BACDL_MSTP)
dlmstp_set_max_info_frames(1);
dlmstp_set_max_master(127);
if (argc > 2) {
Network_Interface = argv[2];
}
if (argc > 3) {
dlmstp_set_mac_address(strtol(argv[1], NULL, 0));
dlmstp_set_mac_address(strtol(argv[3], NULL, 0));
}
#if 0
RS485_Set_Baud_Rate(38400);