From 63ca977553f476d81a5645817d8ad1c43b18669b Mon Sep 17 00:00:00 2001 From: skarg Date: Tue, 21 Oct 2008 22:44:39 +0000 Subject: [PATCH] Testing with MS/TP. --- bacnet-stack/build.bat | 4 ++++ bacnet-stack/demo/whois/main.c | 1 + 2 files changed, 5 insertions(+) diff --git a/bacnet-stack/build.bat b/bacnet-stack/build.bat index 44342eea..f41f65fe 100644 --- a/bacnet-stack/build.bat +++ b/bacnet-stack/build.bat @@ -2,8 +2,12 @@ echo Build with MinGW mingw.sourceforge.net echo Note: copy mingw32-make.exe to make.exe to build for Win32 make BACNET_PORT=win32 OPTIMIZATION=-Os DEBUGGING= clean all + rem Build for MinGW debug rem make BACNET_PORT=win32 clean all +rem Build for MinGW MS/TP +rem make BACNET_PORT=win32 DEBUGGING= BACDL_DEFINE=-DBACDL_MSTP=1 clean all + rem On Linux, install mingw32 and use this: rem make BACNET_PORT=win32 OPTIMIZATION=-Os DEBUGGING= CC=i586-mingw32msvc-gcc AR=i586-mingw32msvc-ar clean all diff --git a/bacnet-stack/demo/whois/main.c b/bacnet-stack/demo/whois/main.c index 26d2b21b..551949ee 100644 --- a/bacnet-stack/demo/whois/main.c +++ b/bacnet-stack/demo/whois/main.c @@ -192,6 +192,7 @@ static void Init_DataLink( } else { dlmstp_set_mac_address(127); } + apdu_timeout_set(60000); #endif if (!datalink_init(getenv("BACNET_IFACE"))) { exit(1);