Commit Graph

2514 Commits

Author SHA1 Message Date
skarg 397ef31d41 Added BACnet Error and Abort demos to send messages for Wireshark capture validation. 2016-05-20 20:43:05 +00:00
skarg b47afd500d Added UnconfirmedEventNotification demo application to generate Wireshark captures 2016-05-19 02:18:41 +00:00
skarg 9704d9edb8 added some bash script to emit various BACnet enumerations for Wireshark validation 2016-05-17 03:08:58 +00:00
skarg 40f25d8898 added I-Am demo and script to create vendor ID capture for Wireshark validation. 2016-05-16 17:33:50 +00:00
skarg cc7e9b539d Fixed Get Event Handler to additionally check its own buffer length.
Get event handler checks only if APDU length is less than Max APDU of device that has requested list of events, but it does not check its own Max APDU to see if response is too long to fit in Handler_Transmit_Buffer. Thanks, Daniel Blazevic!
2016-04-20 19:42:41 +00:00
skarg 3362eecdff Added security for BACnet stack, based on the BACnet 2012 standard, clause 24.
Implemented the majority of functionalities presented in the standard, but there are several features that this patch currently lacks:
- Set-Master-Key message has a specific order of key adding and decoding which is not covered
- There is no general secure-apdu-handler function
- Checks for the type of keys used for signing/encryption of specific messages is not implemented
- The status of encrypted flag during the calculation of the signature is ambiguous
There is a Linux implementation using the OpenSSL library, with function prototypes broad enough to allow for different implementations.
Thank you, Nikola Jelić!
2016-04-20 17:00:51 +00:00
skarg 2616efda30 Added indent.bat file for single files on Windows and moved former indent.bat to indent-all.bat file. Added unix2dos and svn prop-set to the indent.bat file. 2016-04-20 16:34:28 +00:00
skarg 2a89f5bc42 Added missing header file. Thanks, Daniel Blazevic! 2016-04-18 14:57:01 +00:00
skarg 684f951115 Fixed compile error - missing semicolon. Thanks, Daniel Blazevic! 2016-04-18 14:56:39 +00:00
skarg 70fe498015 fixing gateway demo for MS/TP 2016-04-14 02:01:57 +00:00
skarg d3d97245ca fixed positive integer object required property list. 2016-04-14 02:01:09 +00:00
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 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
skarg 6903953890 Fixed mstpcap for legacy Linux command line port selection. 2016-03-04 16:23:49 +00:00
skarg 0f2399fd21 BTL found the issue with proplist.c: When the number of required array elements are counted, the 3 excluded mandatory properties are subtracted from ”count”, but ”count” is later overwritten, causing the encoded to miss the ”correct by 3” part of the code. - Thank you, Rasmus B. Nielsen! 2016-01-21 17:35:40 +00:00
skarg be74823235 Fixed compile of STM32F10x project with IAR-EWARM 7.40. 2016-01-07 21:36:32 +00:00
skarg 0697065030 Fixed some warnings flagged by IAR C-STAT static analysis tool. 2016-01-07 21:31:38 +00:00
skarg dd0fb9c841 Fixed IAR compile errors using IAR EWARM 7.40 2016-01-07 20:53:45 +00:00
skarg b4a3fc7543 Updated some comments, and removed extra printf from environment. 2015-12-17 22:50:53 +00:00
skarg cce0df1a7c Removed max-master timeout in NO TOKEN state as this was causing issues and didn't have any basis in the standard. Thank you, Michael Hall. 2015-12-15 17:31:20 +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
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 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 b5631570e6 Updated MSVS 2010 project files with added BACnet objects. 2015-11-25 20:25:08 +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 23fb73fefc Added Date Time Wildcard compare functions and unit tests. Thank you, Nikola Jelić! 2015-11-24 20:34:54 +00:00
skarg e76ee2da4d Added server target to demo Makefile for easy make of server demo. 2015-11-24 20:33:15 +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 b5e860dbe4 Fixed the AtomicReadFile unit test for Record Access. 2015-11-04 16:21:14 +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 a294e3c691 Merged revision(s) 2900 from branches/releases/bacnet-stack-0-8-0:
Cleanup of unit test exports.
........
2015-10-18 00:30:43 +00:00
skarg 5a0ed5a9e0 Merged revision(s) 2898 from branches/releases/bacnet-stack-0-8-0:
Cleanup of unit test exports.
........
2015-10-18 00:27:09 +00:00
skarg 3b28372e8b Cleaned up compiler warning. 2015-10-17 03:14:40 +00:00