4c4ff4de7b
Removed error in case of AtomicReadFile stream data since by then it will always be valid data. Thank you Süleyman Efendi!
skarg
2016-04-05 20:40:30 +00:00
fcb8c0b86a
Fixed Invalid Packets count when using "--scan" option with mstpcap utility. Thank you, Tyler Long!
skarg
2016-04-05 18:55:10 +00:00
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] ........
skarg
2016-03-30 20:46:43 +00:00
4f0efc6d75
A couple of bugfixes and Microsoft cleanups by Ed
ekh
2016-03-15 07:49:22 +00:00
6903953890
Fixed mstpcap for legacy Linux command line port selection.
skarg
2016-03-04 16:23:49 +00:00
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!
skarg
2016-01-21 17:35:40 +00:00
be74823235
Fixed compile of STM32F10x project with IAR-EWARM 7.40.
skarg
2016-01-07 21:36:32 +00:00
0697065030
Fixed some warnings flagged by IAR C-STAT static analysis tool.
skarg
2016-01-07 21:31:38 +00:00
dd0fb9c841
Fixed IAR compile errors using IAR EWARM 7.40
skarg
2016-01-07 20:53:45 +00:00
b4a3fc7543
Updated some comments, and removed extra printf from environment.
skarg
2015-12-17 22:50:53 +00:00
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.
skarg
2015-12-15 17:31:20 +00:00
1422f00f96
Added mac, dadr, and dnet options to ReadProperty demo application for reading without using WhoIs for binding.
skarg
2015-12-11 05:24:40 +00:00
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!
skarg
2015-12-09 16:54:18 +00:00
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.
ekh
2015-12-04 20:44:07 +00:00
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!
skarg
2015-12-02 20:20:33 +00:00
aa146827ea
Fixed bad merge of bo.h functions.
skarg
2015-12-01 14:08:26 +00:00
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. ........
skarg
2015-11-25 20:52:48 +00:00
94dbe3d429
Added BACnetTimeValue functions. Added demo Schedule object. Integrated new objects with demo server and unit tests. Thank you, Nikola Jelić!
skarg
2015-11-24 22:22:17 +00:00
23fb73fefc
Added Date Time Wildcard compare functions and unit tests. Thank you, Nikola Jelić!
skarg
2015-11-24 20:34:54 +00:00
e76ee2da4d
Added server target to demo Makefile for easy make of server demo.
skarg
2015-11-24 20:33:15 +00:00
a1188ada41
Added server target to demo Makefile for easy make of server demo.
skarg
2015-11-24 20:32:28 +00:00
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ć!
skarg
2015-11-24 19:18:47 +00:00
9368d8eab5
Added check for dcc_communication_enabled in WPM example. Thank you, Daniel Blazevic!
skarg
2015-11-24 18:51:22 +00:00
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!
skarg
2015-11-10 21:08:05 +00:00
814bb171cd
Fix Analog Value demo object compile error.
skarg
2015-11-10 20:56:41 +00:00
e242b30a47
Added example octet-string value object. Thank you, Nikola Jelić!
skarg
2015-11-04 17:35:03 +00:00
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.
skarg
2015-11-04 16:53:21 +00:00
b5e860dbe4
Fixed the AtomicReadFile unit test for Record Access.
skarg
2015-11-04 16:21:14 +00:00
bc897c7507
Un-refactored property-list module to lower resource requirements on small devices.
skarg
2015-10-18 03:40:10 +00:00
4db370cc3a
Un-refactored property-list module to lower resource requirements on small devices.
skarg
2015-10-18 03:39:28 +00:00
a294e3c691
Merged revision(s) 2900 from branches/releases/bacnet-stack-0-8-0: Cleanup of unit test exports. ........
skarg
2015-10-18 00:30:43 +00:00
5a0ed5a9e0
Merged revision(s) 2898 from branches/releases/bacnet-stack-0-8-0: Cleanup of unit test exports. ........
skarg
2015-10-18 00:27:09 +00:00
3b28372e8b
Cleaned up compiler warning.
skarg
2015-10-17 03:14:40 +00:00
49c52d5407
Removed the Who-Is wildcard since it is not permitted per BACnet standard. Thank you Michael and Carl!
skarg
2015-10-16 19:29:03 +00:00
73190ed0c4
Reverting the device.c change that accidentally removed OBJECT_LIST from array error in r2870. Fix for [bugs:#37]. Thank you, klata!
skarg
2015-10-15 18:08:12 +00:00
8a83e12b5d
Updated AT91SAM7S project to build with current stack and IAR EWARM 6.30 compiler.
skarg
2015-10-14 20:14:01 +00:00
b20ca46f89
Updated Max BACnet Services Supported and Max BACnet Object Types through Protocol_Revision 17.
skarg
2015-10-14 19:16:51 +00:00
da0476d881
Added Self/TT to statistics (was just Self for Tokens to Self) to track Tardy Tokens. Tardy Tokens (TT) are Token Frames that are send out of order, from a MAC to was not the previous Token Frame MAC destination.
skarg
2015-10-14 19:15:21 +00:00
2c6c7630bf
Fixed datatype for WriteStatus property in the Channel Object to be enumerated. Thanks to David Fisher for noticing while at BACnet Plugfest!
skarg
2015-10-08 16:02:40 +00:00
1026462724
Refactored the Property_List property and added Protocol_Revision 14 define restriction for Property_List and Channel and Lighting Output objects.
skarg
2015-10-07 20:26:30 +00:00
db9ddf6ce8
Fixed the example channel object for reading the member list. Thanks, David Fisher, for helping me find these bugs at PlugFest!
skarg
2015-10-07 18:56:55 +00:00
2b13503a4d
updated Windows SVN configuration.
skarg
2015-09-28 16:05:26 +00:00
38a723bafb
Committing minor changes (comments only) as an exercise in contributing..
ekh
2015-09-26 19:45:56 +00:00
ec581ace70
cleaned up warnings from BACnet Ethernet 8802.3 compile on Linux
skarg
2015-09-24 21:51:29 +00:00
ca0092d4ee
Fixed the scan command line option to mstpcap demo utility.
skarg
2015-09-24 21:43:24 +00:00
504b7c3713
Added BVLC to dynamic datalink module. Thanks, Kim Taylor!
skarg
2015-09-17 17:12:23 +00:00
8f1741751d
Added the legacy command line options for COM and baud rate to mstpcap demo utility.
skarg
2015-09-14 18:17:53 +00:00
e69a1349a0
Added STM32F10x peripheral driver library to permit compiling of demo port. Tested with IAR-EWARM 6.
skarg
2015-09-09 15:15:28 +00:00
07bf4eba3b
Deprecated Ringbuf_Alloc, and replaced with Ringbuf_Data_Peek() and Ringbuf_Data_Put() functions. Ringbuf_Alloc() was not interrupt or thread safe.
skarg
2015-09-09 14:54:02 +00:00
a36ac1ec45
Modified conflicting line endings in ../xplained/bacnet.c which were confusing some tools.
ekh
2015-09-08 22:52:56 +00:00
458d563aaf
Improved AtomicReadFile and AtomicWriteFile error detection. Eliminated redundancy in the octetstring_init function.
skarg
2015-09-01 22:24:34 +00:00
0a18592bc8
Fixed when pending events are not displayed in the getEventInformation demo.
skarg
2015-08-10 15:55:06 +00:00
9d595fd00d
Fixed Wireshark extcap command line parameter interface to mstpcap utility on Windows (Thank you Roland!). Tested with Wireshark 1.99.7 on Windows. 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. Start or stop the capture directly from the interface.
skarg
2015-07-27 18:56:06 +00:00
0255d4b665
Updated Wireshark extcap command line parameter interface to mstpcap utility in the mstpcap.txt file.
skarg
2015-07-14 20:32:38 +00:00
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.
skarg
2015-07-14 20:31:32 +00:00
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!
skarg
2015-07-07 15:02:04 +00:00
c3eddc2f1c
Cleaned up compile warnings
skarg
2015-06-29 15:16:03 +00:00
fad91ca9ce
Merged revision(s) 2826 from branches/releases/bacnet-stack-0-8-0: Expose some datetime internal functions in the API. ........
skarg
2015-06-28 13:14:48 +00:00
bd7da666d9
Fixed segmentation fault in demo/router. [bugs:#34] Thank you, F. Chaxel!
skarg
2015-06-28 12:52:25 +00:00
b0bd3d6e07
added readme to PiFace demo
skarg
2015-06-25 18:45:56 +00:00
3751c1bd23
Updated mime-type for some files.
skarg
2015-06-15 15:38:31 +00:00
1d4a51bc5a
Removed the "-lgcc" from the SYSTEM_LIB parameter in the BSD section of ./demo/Makefile. Nate verified that with this change and BACNET_PORT=bsd, it builds correctly on FreeBSD, OpenBSD, and OS X 10.10 using the default compiler (clang). This tweak shouldn't affect builds on other platforms. Thanks, Nate!
skarg
2015-06-03 18:43:07 +00:00
8cae75b5d2
Fixed DCC, ARF, RD, and AWF demo applications to use address_cache if available.
skarg
2015-05-29 01:46:54 +00:00
9631b65fc5
Fixed I-Am-Router-To-Network handling in cases of a malformed packet. The packet seen in the field was a I-Am-Router-To-Network but there was an extra "Data" byte of 0x55 at the end. Thank you, Ettore.
skarg
2015-03-20 19:47:57 +00:00
e98f74424d
Fixed address_cache handling of hex DADR addresses for MS/TP or ARCNET devices. Thank you, Marshal!
skarg
2015-03-06 21:55:58 +00:00
e5384a416c
Made the example Binary Input consistent, and made the Polarity property functional.
skarg
2015-02-25 12:28:44 +00:00
6cb014ee64
Changed the Linux BACnet/IP init to use NetMask.
skarg
2015-02-24 21:55:31 +00:00
98207470f4
Adds network address translation (NAT) handling to BVLC when the device is BBMD.
skarg
2015-02-24 21:54:19 +00:00
efdb70b7f9
Added simple local interface to manage entries in the broadcast distribution table. Using this interface, the BDT can be supplied by local means, e.g. device's local user interface as stated in Annex J.4.4. Thank you, Sami Pietikäinen, for the contribution!
skarg
2015-02-24 20:01:18 +00:00
0b5e336b0c
Simplified code for PROP_LOG_DEVICE_OBJECT_PROPERTY Write Property service by using existing bacapp_decode_device_obj_property_ref() routine instead of long winded code which didn't handle optional fields correctly anyway. Added test in case non zero sub 1 second interval is set as this would otherwise result in 0 being stored as we truncate to 1 second resolution.
petermcs
2015-02-16 10:58:31 +00:00
d7b40e0d8b
Added explicit values for denoting optional device id not present Modified bacapp_decode_device_obj_property_ref() and bacapp_decode_device_obj_ref() to use above values.
petermcs
2015-02-16 10:49:50 +00:00
1d9eb5318c
silenced warning about unused variable when not using intrinsic reporting
petermcs
2015-02-16 10:46:52 +00:00
ce68dc5147
Silenced type conversion warning
petermcs
2015-02-16 10:45:39 +00:00
1814ae1d89
Fixed MSTP data expecting reply compare, as this port uses raw buffer. Thank you Will.
skarg
2015-02-03 22:39:08 +00:00
3865a13993
Fixed the at91sam7s makefile to include new files and functions to build with latest library.
skarg
2015-01-30 20:58:16 +00:00
dd271af2ed
Fix volatile variable access in at91sam7s port example.
skarg
2015-01-30 20:54:48 +00:00
3a3c3c24be
Fixed encoding of NPDU in router demo. Thank you F. Chaxel.
skarg
2014-12-26 17:01:10 +00:00
27e7c4752c
clean up compiler warning
skarg
2014-11-17 04:00:24 +00:00
781da0b53b
Fixed MSTP dropped packets on Linux by fixing usage of ptheads condition variable. Turns out that condition variables cannot be used on their own. They need to be paired with a shared state such as a flag variable protected by a mutex.
skarg
2014-11-15 22:03:17 +00:00