Commit Graph

219 Commits

Author SHA1 Message Date
skarg 56b65e9694 indented using indent.sh script. 2013-10-29 01:55:49 +00:00
skarg 35a8ef1ba2 Modified MS/TP capture utility to emit the list of available COM ports on Windows when no command line argument is given. 2013-10-07 17:35:44 +00:00
ekh 2d766528af I am about to add Microsoft 'MFC forms' and 'w32 console' compiles in the future. This is a first, non-breaking step in that direction. 2013-08-16 08:16:28 +00:00
skarg ba3242aafd indented using indent.sh script to get uniform looking code for release 2013-03-13 22:17:13 +00:00
skarg c0b54d06bd Moved around some print statements to be more useful. 2012-11-12 23:16:15 +00:00
skarg 969bd471c0 Corrected rs-485 silence time function calls to match recent changes in API. 2012-09-27 19:53:12 +00:00
cneilson cc5d5eb84c fixed build errors 2012-09-21 01:26:02 +00:00
cneilson 3b9c7848e9 fixed build errors 2012-09-21 01:25:10 +00:00
cneilson 02cd9c15ab fixed build errors 2012-09-21 01:24:43 +00:00
cneilson 6606955415 added msv and csv into the build 2012-09-14 17:22:06 +00:00
cneilson 77ad8cf6f4 fix compile errors 2012-09-12 08:39:36 +00:00
netp a7243993ac Updated & additional Visual Studio 2010 Projects 2012-08-08 01:09:20 +00:00
skarg 5111b9fb4e Modified code to clean up some compiler warnings. 2012-05-18 23:34:45 +00:00
skarg 48e2c60ce2 indented to standard from script 2012-05-13 15:07:12 +00:00
petermcs 44055ff37f I had a weird timing glitch when running mstpcap which I think was caused by a truncation error in timer.c so I've made some slight changes to try stop it happening again. 2012-04-30 08:31:41 +00:00
skarg d1f4e78cba fixed svn EOL and MIME settings. 2012-04-06 23:24:43 +00:00
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