Commit Graph

234 Commits

Author SHA1 Message Date
skarg d612ae6567 Some Win32 changes for clean compile of IPv6. 2016-10-25 13:43:14 +00:00
skarg 88aa9fdb3c BACnet/IPv6 on Win32 port [WIP] 2016-10-03 22:22:34 +00:00
skarg bc61349fe9 Fixed compile errors and warnings for IPv6 on Win32 port. 2016-10-02 21:11:50 +00:00
skarg c9d152bf15 Merged revision(s) 3044 from branches/releases/bacnet-stack-0-8-0:
Added BACnet/IPv6 datalink layer and example BACnet/IPv4 to BACnet/IPv6 router.
BVLC6 layer is working on Linux port without BBMD features yet. Win32 is implemented, untested.
Tested during BACnet North American Plugfest 2016.
........
2016-10-01 20:23:03 +00:00
ekh d09fa006fd Cleanup of MSVC 2015 Community Edition "Properties File" (User Property Manager to explore these). 2016-03-23 18:04:07 +00:00
ekh 6d63f12874 Fixed a few non-relative folder location issues with (only) the Microsoft Visual Studio 2015 port 2016-03-18 07:18:54 +00:00
ekh a8cc153abf Removed compiler transient files from older MSVS 2010 project 2016-03-16 18:06:52 +00:00
ekh 4f0efc6d75 A couple of bugfixes and Microsoft cleanups by Ed 2016-03-15 07:49:22 +00:00
ekh 77553982bd Updated vs2015 solution to compile server demo (Compiles and runs under free Microsoft Visual Studio 2015 Community Edition) (Added server project, added "BACnet Solutions Settings" property sheet, included piv.c schedule.c osv.c to BACnet Object Definitions project, added bactimevalue.c to BACnet Stack Library project, compiles runs "Debug/x64"). Removed empty directories and removed old MSVC 2005 and MSVC 2008 projects as obsolete. 2015-12-04 20:44:07 +00:00
skarg 48d04c323f Removed check for NPDU Priority on MS/TP outgoing matching messages since the stack currently doesn't support passing the NDPU Priority through, and every outgoing message is NORMAL. This was causing Reply-Postponed, which is not a good thing for high priority messages. Thank you, Ettore Colicchio! 2015-12-02 20:20:33 +00:00
skarg b5631570e6 Updated MSVS 2010 project files with added BACnet objects. 2015-11-25 20:25:08 +00:00
skarg ca5a9bff94 Added support for Visual Studio 2015.
Fixed some WIN32 specific compile issues.
Changed MinGW build to use _NO_OLDNAMES so that it compatible with MSVC.
Thank you John LaFontaine for the contribution!
2015-11-10 21:08:05 +00:00
skarg b4ad2c2729 Added Wireshark extcap command line parameter interface to mstpcap utility.
Tested with Wireshark on Windows (mostly working).
To use extcap, run Wireshark and go to the About-dialog.  Find a tab located there named "Folders". Locate the extcap search path. Copy the mstpcap.exe to that folder, which may not exist.
Restart Wireshark, and look for "BACnet MS/TP on COMx" interfaces.
Configure the interface to change baud rate.
Capture directly from the interface.
2015-07-14 20:31:32 +00:00
skarg 3fca74bcfb When MAC address length is zero, assume it is a broadcast. Updated the MS/TP to understand this. 2014-11-02 05:27:14 +00:00
skarg 9fb6b9107a Fixed various compiler warnings. Thank you, Morten Kvistgaard! 2013-12-09 20:31:47 +00:00
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