Commit Graph

  • 0b5a514cf7 Adds two new functions to the ring buffer implementation, one to walk the ring by getting a pointer to the next element in the ring, and the other to Pop (remove) a specified element from somewhere in the ring and then move any elements up towards the head to fill the gap left. With these new functions in place, the Linux MS/TP datalink MSTP_Get_Reply() has been updated to walk the ring buffer to try to find the matching reply. If it is found then it is processed in the same way as usual, and then removed from the ring. skarg 2017-06-25 18:06:27 +00:00
  • 7df0b9c5ed Fixed Initialize-Routing-Table demo handling of ACK. skarg 2017-05-30 21:43:48 +00:00
  • 8af8043d49 Fixed MS/TP ANSWER_DATA_REQUEST state in some of the ports to be compliant to the standard by emitting Reply-Postponed rather than nothing when the data request times out. skarg 2017-05-02 20:17:39 +00:00
  • c9742a594c Fixed VMAC for routed address match on compare. Thank you, Arne Nickel! skarg 2017-04-10 14:43:31 +00:00
  • 9b2d696dda Per 135-2016bl-2 and test BTL 9.20.1.8 Reading OPTIONAL Properties, if no optional properties are supported then an empty 'List of Results' shall be returned for the specified property. skarg 2017-03-20 15:15:30 +00:00
  • b51bd6bc5e To process the last object in the object list koby3101 2017-03-02 10:39:10 +00:00
  • 60fdfcd04e NC added/corrected validation and also parse Priority as array koby3101 2017-03-01 11:51:46 +00:00
  • fa445a1251 Fixed warnings detected by splint skarg 2017-02-15 21:50:06 +00:00
  • dba03d47bd Fixed warnings found via splint. skarg 2017-02-14 18:14:58 +00:00
  • e0d302cf31 Fixed warnings found via splint. skarg 2017-02-14 17:59:26 +00:00
  • eec96e8f5d Merge splint warning fixes. skarg 2017-02-14 17:35:54 +00:00
  • bd5ec637a6 Changes to clean up compile warnings skarg 2017-02-14 15:21:39 +00:00
  • daf346e6b2 Add makefile for BACnet/IPv6 unit test. skarg 2017-02-14 14:44:37 +00:00
  • ee973cb906 Typo semicolons removed koby3101 2017-02-06 12:22:14 +00:00
  • d4469212d0 Updated Atmega8 project to compile under IAR EWARM 6.40.3 skarg 2017-01-28 18:43:57 +00:00
  • 8414ed64e5 Added some text into EPICS demo that BTL wants to see in their testing tool. skarg 2017-01-28 18:42:45 +00:00
  • 957bb9fb99 Added COV example to Analog Value object. skarg 2017-01-11 23:51:24 +00:00
  • d48ac6bc26 Fixed COV examples to Notify upon subscribe. skarg 2017-01-11 23:51:02 +00:00
  • 5e5c2d616a Return value from snprintf is type int koby3101 2017-01-09 13:35:45 +00:00
  • 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. ........ skarg 2017-01-04 18:55:24 +00:00
  • 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. skarg 2017-01-02 23:03:10 +00:00
  • 349c01920f Added MS/TP slave node to BDK DLMSTP module. skarg 2017-01-02 15:47:29 +00:00
  • 134c628041 Fixed compilation of unit tests. skarg 2017-01-01 05:42:55 +00:00
  • e317b253f4 Fixed compiler warnings and error. skarg 2017-01-01 05:27:03 +00:00
  • 13c85c5aea Fixed the BITMASK_CHECK macro to actually compare to the mask. skarg 2017-01-01 05:23:51 +00:00
  • 2bb0045028 Added function to BIP to detect when the UDP port number changed. skarg 2017-01-01 05:23:01 +00:00
  • 2f393c13c2 Added cast to fix compiler warning. skarg 2017-01-01 05:22:17 +00:00
  • 53d4ab31d7 Fixed spelling of variable deviceIdentifier. skarg 2017-01-01 05:21:33 +00:00
  • a2cd7c478c Added structure name. skarg 2017-01-01 05:20:39 +00:00
  • f2b754336d Updated ringbuffer library to remove alloc and include data-peek and data-put. skarg 2017-01-01 05:20:13 +00:00
  • 55e77695c8 Changed order of checking in MS/TP LostToken transition to handle case of OS that is really late. skarg 2017-01-01 05:19:28 +00:00
  • 98d919546c Refactored memcopy range check. skarg 2017-01-01 05:18:13 +00:00
  • 5e5dc533af Fixed JavaDoc comments. skarg 2017-01-01 05:17:31 +00:00
  • aad3c42b82 Added wildcard date comparison functions. skarg 2017-01-01 05:15:28 +00:00
  • 66013584fa Added buffer size to COV handler function parameters. skarg 2017-01-01 05:14:33 +00:00
  • 93834e7c45 Added DCC enum text names. skarg 2017-01-01 05:13:55 +00:00
  • f0c727ff29 Added functions to encode/decode unsigned64 values. skarg 2017-01-01 05:12:59 +00:00
  • 8afd5669f7 Added encode/decode for BACnet address. skarg 2017-01-01 05:12:06 +00:00
  • 1f3fd7e933 Added functions for Reliability property Get/Set for demo objects. skarg 2017-01-01 05:10:48 +00:00
  • d416303844 Added function to get the DCC password from demo handler. skarg 2017-01-01 05:08:40 +00:00
  • 7bf98e590a Added buffer size to COV handler function parameters. skarg 2017-01-01 05:07:10 +00:00
  • befbbcd7ba Check return value for valid COV encoding. skarg 2016-12-26 23:14:15 +00:00
  • d41114b7ca Removed extra RS485 init from main in STM32 port example. Thank you, Sean Monroe! skarg 2016-12-21 18:19:51 +00:00
  • 63a85eca0d Removed extra LED init from main in STM32 port example. Thank you, Sean Monroe! skarg 2016-12-21 18:11:39 +00:00
  • 66bf55a302 Adjusted device object local variables in PIC demo to build successfully within given stack frame. skarg 2016-12-14 05:03:30 +00:00
  • 7b2b8feb3a Do not make router by default on Linux since it relies on libconfig and that is not installed by default and the make fails. skarg 2016-11-21 14:55:43 +00:00
  • e21553e674 Added router to Makefile for Linux all build. Added gateway and router-ipv6 to the Makefile all build. skarg 2016-11-17 03:33:13 +00:00
  • 9699801f32 Added Wireshark 2.x extcap live capture for mstpcap on Linux. skarg 2016-10-30 00:12:09 +00:00
  • 03cc5fc09c Merged revision(s) 3061 from branches/releases/bacnet-stack-0-8-0: Fixed typedef so that uses of it are const. ........ skarg 2016-10-25 13:56:57 +00:00
  • d612ae6567 Some Win32 changes for clean compile of IPv6. skarg 2016-10-25 13:43:14 +00:00
  • c7147f3805 Fixed ports for Atmega8, Atmega168, and Xmega to compile. skarg 2016-10-25 13:42:13 +00:00
  • 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. skarg 2016-10-25 13:10:28 +00:00
  • ec2b585e18 Added Protocol-Revision 19 definition. skarg 2016-10-16 14:15:51 +00:00
  • 5e8c891f83 Print IP addresses from WhoIs differently than others. skarg 2016-10-13 21:28:23 +00:00
  • 795254ca0c Updated Protocol_Revision requirements per the 135-2016 BACnet standard. skarg 2016-10-13 21:25:35 +00:00
  • 88aa9fdb3c BACnet/IPv6 on Win32 port [WIP] skarg 2016-10-03 22:22:34 +00:00
  • bc61349fe9 Fixed compile errors and warnings for IPv6 on Win32 port. skarg 2016-10-02 21:11:50 +00:00
  • ea3b5e0479 Added missing header files for IPv6 skarg 2016-10-01 20:41:00 +00:00
  • 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. ........ skarg 2016-10-01 20:23:03 +00:00
  • e9a2bfcbef Merged revision(s) 3046 from branches/releases/bacnet-stack-0-8-0: Inhibited prints to stdout when called from Wireshark as it limits capturing with Wireshark 2.2 ........ skarg 2016-09-29 16:01:06 +00:00
  • 54869fa4ef Added enumerations for Network Port object. skarg 2016-09-29 16:00:18 +00:00
  • 8e573aed89 Changed structure copy to explicit copy. skarg 2016-09-28 21:21:13 +00:00
  • a390c4b8bd Restoring test.mak ekh 2016-09-15 22:11:28 +00:00
  • 7cc9b2be1d Added EOL and SVN prop fixup batch file. skarg 2016-09-08 15:57:31 +00:00
  • 10aa414351 Fixed line endings and SVN props with fixup.sh script skarg 2016-09-08 15:56:11 +00:00
  • 27a3c1ff0f Fixed compile errors skarg 2016-09-08 15:51:11 +00:00
  • 456c0ed42c Sync some handler fixes and demo object fixes and updates and some comment fixes from branch bacnet-stack-0-8-0. skarg 2016-09-08 15:29:32 +00:00
  • 415475ba1f Backout revision 3029 which waited for a byte before checking if FSM is back to idle, but that misses timeouts. skarg 2016-09-08 13:54:38 +00:00
  • 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/ ........ skarg 2016-09-07 21:06:17 +00:00
  • fef2943df5 Added a check for a new byte when moving back to IDLE for MS/TP capture utility. skarg 2016-08-12 22:13:40 +00:00
  • 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. skarg 2016-08-12 21:57:57 +00:00
  • 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. skarg 2016-08-12 21:54:02 +00:00
  • 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] skarg 2016-08-12 20:45:08 +00:00
  • 03de7f191e Added TimeSynchronization server example. skarg 2016-07-26 21:27:34 +00:00
  • aaf9227a0d Merged revision(s) 3018 & 3021 from branches/releases/bacnet-stack-0-8-0: Updated STM32 DLMSTP module to compile. Some LINT cleanup. skarg 2016-07-19 22:33:17 +00:00
  • 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. ........ skarg 2016-07-19 22:21:47 +00:00
  • 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). skarg 2016-07-17 19:23:19 +00:00
  • a97bc78ade Added netstat hint to FAQ. skarg 2016-07-08 16:18:34 +00:00
  • fecbbcb0f2 Fixed some comments. skarg 2016-07-07 00:12:47 +00:00
  • 42ec095392 Modified makefiles to be able to build mstpcrc independently. skarg 2016-07-07 00:12:27 +00:00
  • 4154a43e00 Modified MSTPCRC demo to be able to parse a text file MS/TP capture with a "-f" option. skarg 2016-07-07 00:11:54 +00:00
  • c98356c763 Reduce waiting time for router demo. [bugs:#47]. skarg 2016-07-02 19:55:52 +00:00
  • 7462d448a5 Added some fixes to router demo skarg 2016-07-01 14:28:14 +00:00
  • 3465c43a6a Changed typedef structure to use const keyword to reduce RAM overhead. skarg 2016-06-29 20:27:39 +00:00
  • 80a720b431 [Bug #46] Fixed potential buffer overflow in BVLC BACnet/IP forwarded NPDU encoding. skarg 2016-06-29 20:20:27 +00:00
  • f8bcd58cea Fixed some warnings detected by CSTAT. Consolidated some unit tests and added a single test prototype to header file. skarg 2016-06-08 21:55:12 +00:00
  • 57bb0d6d70 Added better invalid packet detection in MS/TP capture utility. [bugs:#42] mstpcap buffer-length/content is wrong. skarg 2016-06-03 22:39:01 +00:00
  • 3fd93c77d5 Updated the PIC18F6720 port, and added PIC18F97J60 port. Both compile and build but were untested on actual hardware. skarg 2016-05-30 14:55:50 +00:00
  • 7721c3d9ff Cleaned up some compile warnings by changing PIC compile use large memory model to match the PIC libraries. skarg 2016-05-26 14:58:31 +00:00
  • 64a58dff97 Added shell scripts to send messages for Wireshark capture validation. skarg 2016-05-20 22:03:02 +00:00
  • 397ef31d41 Added BACnet Error and Abort demos to send messages for Wireshark capture validation. skarg 2016-05-20 20:43:05 +00:00
  • b47afd500d Added UnconfirmedEventNotification demo application to generate Wireshark captures skarg 2016-05-19 02:18:41 +00:00
  • 9704d9edb8 added some bash script to emit various BACnet enumerations for Wireshark validation skarg 2016-05-17 03:08:58 +00:00
  • 40f25d8898 added I-Am demo and script to create vendor ID capture for Wireshark validation. skarg 2016-05-16 17:33:50 +00:00
  • 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! skarg 2016-04-20 19:42:41 +00:00
  • 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ć! skarg 2016-04-20 17:00:51 +00:00
  • 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. skarg 2016-04-20 16:34:28 +00:00
  • 2a89f5bc42 Added missing header file. Thanks, Daniel Blazevic! skarg 2016-04-18 14:57:01 +00:00
  • 684f951115 Fixed compile error - missing semicolon. Thanks, Daniel Blazevic! skarg 2016-04-18 14:56:39 +00:00
  • 70fe498015 fixing gateway demo for MS/TP skarg 2016-04-14 02:01:57 +00:00