Modified the makefile for demo/server to work with BACnet MS/TP with a USB RS-485 from SerialGear. Still in testing, but it compiles, runs, and receives frames. Might be an issue with timing.
This commit is contained in:
@@ -17,11 +17,17 @@ PRODUCT_EXE = $(PRODUCT).exe
|
||||
# Choose the Data Link Layer to Enable
|
||||
# Note: unless some other drivers are installed, BIP is the only
|
||||
# datalink layer that Win32 supports
|
||||
#DEFINES = -DBACDL_MSTP=1;BIP_DEBUG=1;USE_INADDR=1;PRINT_ENABLED=1;BIG_ENDIAN=0
|
||||
DEFINES = -DBACDL_BIP=1;BIP_DEBUG=1;USE_INADDR=1;PRINT_ENABLED=1;BIG_ENDIAN=0
|
||||
|
||||
SRCS = main.c \
|
||||
..\..\ports\win32\bip-init.c \
|
||||
..\..\ports\win32\dlmstp.c \
|
||||
..\..\ports\win32\rs485.c \
|
||||
..\..\bip.c \
|
||||
..\..\crc.c \
|
||||
..\..\mstp.c \
|
||||
..\..\mstptext.c \
|
||||
..\..\demo\handler\txbuf.c \
|
||||
..\..\demo\handler\noserv.c \
|
||||
..\..\demo\handler\h_whois.c \
|
||||
|
||||
Reference in New Issue
Block a user