Commit Graph

864 Commits

Author SHA1 Message Date
skarg bd5ec637a6 Changes to clean up compile warnings 2017-02-14 15:21:39 +00:00
skarg d4469212d0 Updated Atmega8 project to compile under IAR EWARM 6.40.3 2017-01-28 18:43:57 +00:00
skarg 79af8b60df Merged revision(s) 3102 from branches/releases/bacnet-stack-0-8-0:
Changed info prints to go to stdout rather than stderr to clean up Wireshark extcap usage.
........
2017-01-04 18:55:24 +00:00
skarg 18c7020659 Fixed [bug#40] - problems if pdu_len exceeds the size of a single pbuf block. Thank you, Jörg Hofmann!
Added statistics to track packets sent, received, and errors.
Added proper reply when BVLC functions are requested and not supported.
Fixed Forwarded NPDU.
2017-01-02 23:03:10 +00:00
skarg 349c01920f Added MS/TP slave node to BDK DLMSTP module. 2017-01-02 15:47:29 +00:00
skarg d41114b7ca Removed extra RS485 init from main in STM32 port example. Thank you, Sean Monroe! 2016-12-21 18:19:51 +00:00
skarg 63a85eca0d Removed extra LED init from main in STM32 port example. Thank you, Sean Monroe! 2016-12-21 18:11:39 +00:00
skarg 66bf55a302 Adjusted device object local variables in PIC demo to build successfully within given stack frame. 2016-12-14 05:03:30 +00:00
skarg 9699801f32 Added Wireshark 2.x extcap live capture for mstpcap on Linux. 2016-10-30 00:12:09 +00:00
skarg d612ae6567 Some Win32 changes for clean compile of IPv6. 2016-10-25 13:43:14 +00:00
skarg c7147f3805 Fixed ports for Atmega8, Atmega168, and Xmega to compile. 2016-10-25 13:42:13 +00:00
skarg b2938bb68a Changed Device_Object_List_Identifier() to use uint32_t for array_index since that is the size decoded in a ReadProperty request, and unsigned is not always 32-bit. 2016-10-25 13:10:28 +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
skarg 10aa414351 Fixed line endings and SVN props with fixup.sh script 2016-09-08 15:56:11 +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 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 7462d448a5 Added some fixes to router demo 2016-07-01 14:28:14 +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 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
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 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
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 3b28372e8b Cleaned up compiler warning. 2015-10-17 03:14:40 +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 8a83e12b5d Updated AT91SAM7S project to build with current stack and IAR EWARM 6.30 compiler. 2015-10-14 20:14:01 +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 ec581ace70 cleaned up warnings from BACnet Ethernet 8802.3 compile on Linux 2015-09-24 21:51:29 +00:00
skarg e69a1349a0 Added STM32F10x peripheral driver library to permit compiling of demo port. Tested with IAR-EWARM 6. 2015-09-09 15:15:28 +00:00
skarg 6df2c0dc80 Added IAR-EWARM 6 project file for AT91SAMS port.
Updated IAR-EWAVR 6 project files for AVR projects.
2015-09-09 14:55:50 +00:00
skarg 07bf4eba3b Deprecated Ringbuf_Alloc, and replaced with Ringbuf_Data_Peek() and Ringbuf_Data_Put() functions. Ringbuf_Alloc() was not interrupt or thread safe. 2015-09-09 14:54:02 +00:00
ekh a36ac1ec45 Modified conflicting line endings in ../xplained/bacnet.c which were confusing some tools. 2015-09-08 22:52:56 +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 edcf8404d7 Added Arduino Uno port for W5100 Ethernet shield. Note: requires an Arduino library that is included with the Arduino board, but not included here. Thank you, Miguel Fernandes! 2015-07-07 15:02:04 +00:00
skarg e14e8ffc14 Added STM32 design challenge RS-485 daughter board schematic and BOM. 2015-06-15 14:43:49 +00:00
skarg d052578777 Added readme.txt to Atmel XPLAINED port. 2015-05-26 19:55:44 +00:00
skarg 4b525b0615 Added RS-485 shield daughter board for ports/xplained project. 2015-04-16 15:13:23 +00:00
skarg fe8e60dd3d Added example MS/TP port to ATxmega XPLAINED A3BU evaluation board. 2015-04-16 13:23:29 +00:00
skarg 672f499f54 Fixed comment. 2015-03-20 19:50:08 +00:00