Commit Graph

970 Commits

Author SHA1 Message Date
skarg 4c4ff4de7b Removed error in case of AtomicReadFile stream data since by then it will always be valid data. Thank you Süleyman Efendi! 2016-04-05 20:40:30 +00:00
skarg fcb8c0b86a Fixed Invalid Packets count when using "--scan" option with mstpcap utility. Thank you, Tyler Long! 2016-04-05 18:55:10 +00:00
skarg 85143200af Merged revision(s) 2969 from branches/releases/bacnet-stack-0-8-0:
Fix Send_TimeSyncUTC() to calculate the right length for datalink_send_pdu(). Added Send_TimeSyncUTC_Remote(). [bugs:#44]
........
2016-03-30 20:46:43 +00:00
skarg b5bdc71c8c Added missing file to schedule makefile. 2016-03-30 20:45:58 +00:00
ekh 4f0efc6d75 A couple of bugfixes and Microsoft cleanups by Ed 2016-03-15 07:49:22 +00:00
skarg 6903953890 Fixed mstpcap for legacy Linux command line port selection. 2016-03-04 16:23:49 +00:00
skarg 0697065030 Fixed some warnings flagged by IAR C-STAT static analysis tool. 2016-01-07 21:31:38 +00:00
skarg b4a3fc7543 Updated some comments, and removed extra printf from environment. 2015-12-17 22:50:53 +00:00
skarg 1422f00f96 Added mac, dadr, and dnet options to ReadProperty demo application for reading without using WhoIs for binding. 2015-12-11 05:24:40 +00:00
skarg 97966c9310 When putting together a confirmed COV Notification, the flag "data_expecting_reply" in npdu_data was not set to true for confirmedCOVnotifications. So in the dlmstp.c state machine, it would send the confirmedCOVNotification, but not wait for a reply. Instead it would send the Token right away. Thank you, Ettore Colicchio! 2015-12-09 16:54:18 +00:00
skarg aa146827ea Fixed bad merge of bo.h functions. 2015-12-01 14:08:26 +00:00
skarg f970cc3937 Added demo Schedule object. Thank you, Nikola Jelić! 2015-12-01 14:07:54 +00:00
skarg da52bb46cc Merged revision(s) 2927 from branches/releases/bacnet-stack-0-8-0:
Added some function prototypes for some BACnet objects for Create/Delete/Cleanup.  
........
2015-11-25 20:52:48 +00:00
skarg 94dbe3d429 Added BACnetTimeValue functions. Added demo Schedule object. Integrated new objects with demo server and unit tests. Thank you, Nikola Jelić! 2015-11-24 22:22:17 +00:00
skarg a1188ada41 Added server target to demo Makefile for easy make of server demo. 2015-11-24 20:32:28 +00:00
skarg ac90381279 Added makefile for building unit tests for OctetString Value object example.
Added Positive Integer Value and makefile for building unit tests.
Added OctetString Value and Positive Integer Value to unit test make file.
Thank you, Nikola Jelić!
2015-11-24 19:18:47 +00:00
skarg 9368d8eab5 Added check for dcc_communication_enabled in WPM example. Thank you, Daniel Blazevic! 2015-11-24 18:51:22 +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 814bb171cd Fix Analog Value demo object compile error. 2015-11-10 20:56:41 +00:00
skarg e242b30a47 Added example octet-string value object. Thank you, Nikola Jelić! 2015-11-04 17:35:03 +00:00
skarg 8a48241e14 Fixed the unit tests after integration of property-list property and device-object-property-reference properties. Thank you for noticing it was broken, Nikola Jelić, and for sending in fixes. 2015-11-04 16:53:21 +00:00
skarg bc897c7507 Un-refactored property-list module to lower resource requirements on small devices. 2015-10-18 03:40:10 +00:00
skarg 4db370cc3a Un-refactored property-list module to lower resource requirements on small devices. 2015-10-18 03:39:28 +00:00
skarg 49c52d5407 Removed the Who-Is wildcard since it is not permitted per BACnet standard. Thank you Michael and Carl! 2015-10-16 19:29:03 +00:00
skarg 73190ed0c4 Reverting the device.c change that accidentally removed OBJECT_LIST from array error in r2870. Fix for [bugs:#37]. Thank you, klata! 2015-10-15 18:08:12 +00:00
skarg da0476d881 Added Self/TT to statistics (was just Self for Tokens to Self) to track Tardy Tokens. Tardy Tokens (TT) are Token Frames that are send out of order, from a MAC to was not the previous Token Frame MAC destination. 2015-10-14 19:15:21 +00:00
skarg 2c6c7630bf Fixed datatype for WriteStatus property in the Channel Object to be enumerated. Thanks to David Fisher for noticing while at BACnet Plugfest! 2015-10-08 16:02:40 +00:00
skarg 1026462724 Refactored the Property_List property and added Protocol_Revision 14 define restriction for Property_List and Channel and Lighting Output objects. 2015-10-07 20:26:30 +00:00
skarg db9ddf6ce8 Fixed the example channel object for reading the member list. Thanks, David Fisher, for helping me find these bugs at PlugFest! 2015-10-07 18:56:55 +00:00
skarg ca0092d4ee Fixed the scan command line option to mstpcap demo utility. 2015-09-24 21:43:24 +00:00
skarg 8f1741751d Added the legacy command line options for COM and baud rate to mstpcap demo utility. 2015-09-14 18:17:53 +00:00
skarg 458d563aaf Improved AtomicReadFile and AtomicWriteFile error detection. Eliminated redundancy in the octetstring_init function. 2015-09-01 22:24:34 +00:00
skarg 0a18592bc8 Fixed when pending events are not displayed in the getEventInformation demo. 2015-08-10 15:55:06 +00:00
skarg 9d595fd00d Fixed Wireshark extcap command line parameter interface to mstpcap utility on Windows (Thank you Roland!).
Tested with Wireshark 1.99.7 on Windows.
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.
Start or stop the capture directly from the interface.
2015-07-27 18:56:06 +00:00
skarg 0255d4b665 Updated Wireshark extcap command line parameter interface to mstpcap utility in the mstpcap.txt file. 2015-07-14 20:32:38 +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 c3eddc2f1c Cleaned up compile warnings 2015-06-29 15:16:03 +00:00
skarg 89bbfbb2ab Fixed compile warning in GetEvent demo. 2015-06-28 20:49:48 +00:00
skarg bd7da666d9 Fixed segmentation fault in demo/router. [bugs:#34] Thank you, F. Chaxel! 2015-06-28 12:52:25 +00:00
skarg b0bd3d6e07 added readme to PiFace demo 2015-06-25 18:45:56 +00:00
skarg 1d4a51bc5a Removed the "-lgcc" from the SYSTEM_LIB parameter in the BSD section of ./demo/Makefile. Nate verified that with this change and BACNET_PORT=bsd, it builds correctly on FreeBSD, OpenBSD, and OS X 10.10 using the default compiler (clang). This tweak shouldn't affect builds on other platforms. Thanks, Nate! 2015-06-03 18:43:07 +00:00
skarg 8cae75b5d2 Fixed DCC, ARF, RD, and AWF demo applications to use address_cache if available. 2015-05-29 01:46:54 +00:00
bow2 086840a763 get event information demo 2015-03-23 12:28:46 +00:00
skarg 9631b65fc5 Fixed I-Am-Router-To-Network handling in cases of a malformed packet. The packet seen in the field was a I-Am-Router-To-Network but there was an extra "Data" byte of 0x55 at the end. Thank you, Ettore. 2015-03-20 19:47:57 +00:00
skarg e98f74424d Fixed address_cache handling of hex DADR addresses for MS/TP or ARCNET devices. Thank you, Marshal! 2015-03-06 21:55:58 +00:00
skarg e5384a416c Made the example Binary Input consistent, and made the Polarity property functional. 2015-02-25 12:28:44 +00:00
petermcs 0b5e336b0c Simplified code for PROP_LOG_DEVICE_OBJECT_PROPERTY Write Property service by using existing bacapp_decode_device_obj_property_ref() routine instead of long winded code which didn't handle optional fields correctly anyway.
Added test in case non zero sub 1 second interval is set as this would otherwise result in 0 being stored as we truncate to 1 second resolution.
2015-02-16 10:58:31 +00:00
petermcs 1d9eb5318c silenced warning about unused variable when not using intrinsic reporting 2015-02-16 10:46:52 +00:00
petermcs ce68dc5147 Silenced type conversion warning 2015-02-16 10:45:39 +00:00
skarg 3a3c3c24be Fixed encoding of NPDU in router demo. Thank you F. Chaxel. 2014-12-26 17:01:10 +00:00