Commit Graph

2542 Commits

Author SHA1 Message Date
ekh a390c4b8bd Restoring test.mak 2016-09-15 22:11:28 +00:00
skarg 7cc9b2be1d Added EOL and SVN prop fixup batch file. 2016-09-08 15:57:31 +00:00
skarg 10aa414351 Fixed line endings and SVN props with fixup.sh script 2016-09-08 15:56:11 +00:00
skarg 27a3c1ff0f Fixed compile errors 2016-09-08 15:51:11 +00:00
skarg 456c0ed42c Sync some handler fixes and demo object fixes and updates and some comment fixes from branch bacnet-stack-0-8-0. 2016-09-08 15:29:32 +00:00
skarg 415475ba1f Backout revision 3029 which waited for a byte before checking if FSM is back to idle, but that misses timeouts. 2016-09-08 13:54:38 +00:00
skarg 964085d458 Merged revision(s) 3031 from branches/releases/bacnet-stack-0-8-0:
Added checks for OPTIONAL context tagged decoding to be sure it is not a closing tag.
Added makefile for unit test in bacdevobjpropref.c module, and improved unit test.
https://sourceforge.net/p/bacnet/bugs/49/
........
2016-09-07 21:06:17 +00:00
skarg fef2943df5 Added a check for a new byte when moving back to IDLE for MS/TP capture utility. 2016-08-12 22:13:40 +00:00
skarg 278af89fa2 Added enhancement to address cache: Top Protected Entry: entries from 0 to Top_Protected_Entry are not removed by address_remove_oldest()function. When I-am attack occurs only entries between Top_Protected_Entry and MAX_ADDRESS_CACHE can be removed. 2016-08-12 21:57:57 +00:00
skarg bec5836bbd Changed Device_Objects_Property_List() function to pass the object instance so that objects of the same type can have different optional or proprietary properties. 2016-08-12 21:54:02 +00:00
skarg a8ad8f4d5c Changed error code from SERVICE/NO_SPACE_FOR_OBJECT to ABORT/SEGMENTATION_NOT_SUPPORTED to be consistent with the BACnet standard. Thank you, lo pe! [bugs:#41] 2016-08-12 20:45:08 +00:00
skarg 03de7f191e Added TimeSynchronization server example. 2016-07-26 21:27:34 +00:00
skarg aaf9227a0d Merged revision(s) 3018 & 3021 from branches/releases/bacnet-stack-0-8-0:
Updated STM32 DLMSTP module to compile. Some LINT cleanup.
2016-07-19 22:33:17 +00:00
skarg b6d968a024 Merged revision(s) 3019 from branches/releases/bacnet-stack-0-8-0:
Removed quick exit from SubscribeCOV demo application when notification is first received.
........
2016-07-19 22:21:47 +00:00
skarg 1302c1be7b Nikola Jelić implemented the Access Objects for BACnet (Access Door, Access Point, Access Credential, Access Rights, Access User, Access Zone, and Credential Data Input). 2016-07-17 19:23:19 +00:00
skarg a97bc78ade Added netstat hint to FAQ. 2016-07-08 16:18:34 +00:00
skarg fecbbcb0f2 Fixed some comments. 2016-07-07 00:12:47 +00:00
skarg 42ec095392 Modified makefiles to be able to build mstpcrc independently. 2016-07-07 00:12:27 +00:00
skarg 4154a43e00 Modified MSTPCRC demo to be able to parse a text file MS/TP capture with a "-f" option. 2016-07-07 00:11:54 +00:00
skarg c98356c763 Reduce waiting time for router demo. [bugs:#47]. 2016-07-02 19:55:52 +00:00
skarg 7462d448a5 Added some fixes to router demo 2016-07-01 14:28:14 +00:00
skarg 3465c43a6a Changed typedef structure to use const keyword to reduce RAM overhead. 2016-06-29 20:27:39 +00:00
skarg 80a720b431 [Bug #46] Fixed potential buffer overflow in BVLC BACnet/IP forwarded NPDU encoding. 2016-06-29 20:20:27 +00:00
skarg f8bcd58cea Fixed some warnings detected by CSTAT.
Consolidated some unit tests and added a single test prototype to header file.
2016-06-08 21:55:12 +00:00
skarg 57bb0d6d70 Added better invalid packet detection in MS/TP capture utility. [bugs:#42] mstpcap buffer-length/content is wrong. 2016-06-03 22:39:01 +00:00
skarg 3fd93c77d5 Updated the PIC18F6720 port, and added PIC18F97J60 port. Both compile and build but were untested on actual hardware. 2016-05-30 14:55:50 +00:00
skarg 7721c3d9ff Cleaned up some compile warnings by changing PIC compile use large memory model to match the PIC libraries. 2016-05-26 14:58:31 +00:00
skarg 64a58dff97 Added shell scripts to send messages for Wireshark capture validation. 2016-05-20 22:03:02 +00:00
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