Commit Graph

2631 Commits

Author SHA1 Message Date
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
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