skarg
9e8c2b0927
Added explicit datalink_cleanup to all demo applications.
...
Moved bip_cleanup() to port specific files.
This works better for bacnet-stack DLLs.
2012-02-10 22:12:15 +00:00
petermcs
52ea59f446
Removed MS C specific gettimeofday function from mstpcap.c as there is one in the timer.c in the Win32 port.
...
Changed the conditional compilation in the Win32 timer.cto allow gettimeofday compile with MS C
2012-01-17 07:46:53 +00:00
petermcs
e0cf05f74a
Added in 76800 baud rate as it works on Win 7 with the B&B Electronics USOPTL4 USB adaptor that I have, YMMV.
...
Added gettimeofday() function to allow me build with VS2008 C++ Express Edition
2012-01-14 12:28:44 +00:00
skarg
0fcd5132c2
Updated the example Visual Studio 10 project and solution files to build without errors. Thank you, Scott!
2012-01-09 23:29:11 +00:00
skarg
dd93e8cf1b
Removed the object-table function macros from each demo object header file since it was very difficult to maintain when new functions are added. Added device-client.c file which is a small device object just for simple clients. Updated most Makefiles of client demo applications to utilize device-client.c file.
...
Added two device object table functions for COV support.
Corrected demo COV handler interaction with TSM, COV flags, and multiple subscriptions for the same object.
2011-10-03 18:54:14 +00:00
petermcs
a25a7a238d
Made code conditional to avoid error when building with MSVC++
2011-09-20 19:11:41 +00:00
skarg
ed7ba53b08
Fixed compile errors for Borland compiler.
2011-08-23 21:05:34 +00:00
skarg
3e1cb1847f
Indented project.
2011-08-17 02:27:11 +00:00
skarg
ef80e662b3
Cleaned up compile on Win32 for MS/TP datalink. Still not reliable yet.
2011-07-26 22:11:20 +00:00
skarg
3c9c235d28
Using timeGetTime to get the elapsed milliseconds after a baseline GetSystemTimeAsFileTime to emulate the Unix gettimeofday function at millisecond resolution on Windows.
2011-07-25 22:12:28 +00:00
skarg
059a9e8471
Fixed compile error in module.
2011-07-25 03:27:26 +00:00
skarg
aac4bb5dd4
Changed gettimeofday unix function for win32 to use a higher resolution timer.
2011-07-25 02:47:25 +00:00
skarg
c1d7633a8d
Attempting to get better timestamp resolution on Win32. Added some functional tests for determining accuracy. The existing gettimeofday emulations only give 15ms to 16ms of resolution, so that needs fixed.
2011-07-22 22:36:12 +00:00
skarg
e01d0d4cfd
Fixed strings that exceeded line length recommendations.
2011-04-07 17:22:59 +00:00
petermcs
6a693d1fb8
Added MSTPCAP and EPICS to VS2008 build.
...
Added net.h to timer.c includes.
2011-04-02 10:01:46 +00:00
skarg
e095715cec
Moved include files for demo objects into demo/object, and updated makefiles to accommodate the move. This allows developers to create and maintain their own objects and the interfaces to them.
2011-03-22 20:53:13 +00:00
skarg
00050f70ed
removed C++ comments.
2011-02-25 15:25:13 +00:00
rhoeye
ab62b37814
Add build folders and files (projects and solution) for MS Visual Studio 2005 to ports/win32.
2011-01-27 16:41:11 +00:00
rhoeye
4591c00feb
Added static Object_Table[], moved device_init() from main to Init_Service_Handlers() and added call to Device_Initialize_Object_Functions(). Modeled after revision 1890 of demo/server/main.c.
2011-01-26 20:32:06 +00:00
skarg
624de45fc8
Cleaned up compiler warnings when compiled with Win32 MS/TP datalink.
2011-01-14 15:23:03 +00:00
petermcs
d1db062db8
Updated project files so release build works
2010-12-11 15:30:18 +00:00
petermcs
dbb8997b4d
Added routing support for virtual network to more of the handlers and fixed up a couple of typos from the previous changes.
...
Added ReadRange service handler so that trendlogs can be read.
2010-11-18 21:29:11 +00:00
petermcs
f0fc277650
Added gateway demo project
2010-11-17 23:09:29 +00:00
bacpack
a639864cc8
In bip.c getter and setter functions of IP address and Port number expect and return values in the network byte order. All ntoh and hton were eliminated from bip.c.
...
All other modules changed to be consistent.
arm7 port left unchanged.
2010-11-04 13:30:26 +00:00
skarg
57781b40cb
Changed Tturnaround time in MS/TP modules to be a minimum of 2ms, or use a dummy transmit of 4 bytes while the transceiver is disabled. 1ms delay will always give smaller than 1ms of delay due to silence timer tick.
2010-10-18 20:42:26 +00:00
skarg
b1c9870989
Refactoring some BDK code. Updating Skip Data state for AT91 port.
2010-09-22 01:13:42 +00:00
skarg
6c9ef7211d
Fixed indent script, and indented files.
2010-07-19 23:19:54 +00:00
skarg
0a02accdb1
Removed deprecated property.
2010-06-26 03:54:22 +00:00
bitstest
06f872c92d
Added Microsoft Visual Studio 2010 solution and projects for BACnet Server and BACnet Who-Is demos.
2010-06-14 00:17:13 +00:00
skarg
1bafe2ed98
Added all standard baud rates for Windows serial ports. Updated mstpcap readme file.
2010-05-20 23:31:50 +00:00
petermcs
04e99f3671
Changes to reduce the number of warnings with Visual C++2008 warning level 4 to a minimum.
2010-05-14 14:21:48 +00:00
skarg
710cfccfef
Indented using indent script.
2010-05-04 21:06:26 +00:00
skarg
8cb5a8a230
removed process.h since it gave errors when compiling under gcc (GCC) 3.4.5 (mingw-vista special r3) for BACDL_MSTP.
2010-03-31 21:48:13 +00:00
skarg
baec022ecd
Updated Visual Studio project for latest demo application.
2010-03-10 16:33:57 +00:00
skarg
c4df15b39c
Corrected error message.
2010-03-07 10:22:05 +00:00
petermcs
9b50b1388f
Added in trendlog.c and ms-input.c
2010-03-03 21:31:50 +00:00
petermcs
f8b9b5f793
added process.h to includes to silence compiler warning about _beginthread
2010-02-15 11:48:58 +00:00
skarg
f10629260e
cleaned up compile errors.
2010-02-11 17:16:21 +00:00
petermcs
bfa8936bf5
Changed a bunch of debug and information printfs so that they have a better chance of working on systems where int is smaller than 32 bits also fixed the signed/unsigned type of some to match the type of the arguments.
2010-01-26 21:30:38 +00:00
petermcs
ea5c45b911
Updated time code changes to compile with Visual Studio Express 2008.
2010-01-22 15:07:21 +00:00
skarg
2b519a5570
Cleaned up warnings and errors when compiled with Borland C++ and with GCC.
2009-11-19 16:05:22 +00:00
petermcs
b8251f314f
Implemented ReadRange functionality for the device "Device Address Binding" property and modified the ReadRange test app to use this real property for its target.
...
Implemented a framework for allowing the ReadRange handler determine which properties support ReadRange and which varients of ReadRange they support.
2009-11-10 15:37:11 +00:00
bitstest
03ef870f4b
Checking in Microsoft Visual Studio 2008 build environment for Who-Is.exe and Server.exe
2009-11-02 00:55:52 +00:00
skarg
c04e69da8c
Fixed EOL, indent.
2009-10-24 17:02:59 +00:00
skarg
fdeb2f3f0f
Changed RS485 interface to allow lower/upper case for Win32.
2009-10-20 17:25:17 +00:00
petermcs
0f28f99ade
Added in object handlers to make the demo work more like it did before the property access API was changed. This is handy when testing as multiple copies of the program can then read from each others device. Also added in Visual Studio 2008 Express project files.
2009-10-16 19:12:56 +00:00
skarg
deba2aab3e
Added a Named Pipe to MS/TP Capture utility so that Wireshark can capture MS/TP packets in realtime using the named pipe as the interface name. Thank you Lori!
2009-10-14 21:15:10 +00:00
skarg
d1f167c539
Added unit test to rs485 windows port to allow sending a string of ascii hex out the rs485 port to inject messages onto the wire.
2009-09-18 18:35:30 +00:00
skarg
967b86721f
Updated some old demos for the new RP handling.
2009-08-23 03:36:11 +00:00
skarg
db61a1122f
Ran indent script.
2009-07-29 18:06:33 +00:00