Commit Graph

938 Commits

Author SHA1 Message Date
skarg 0a18592bc8 Fixed when pending events are not displayed in the getEventInformation demo. 2015-08-10 15:55:06 +00:00
skarg 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.
2015-07-27 18:56:06 +00:00
skarg 0255d4b665 Updated Wireshark extcap command line parameter interface to mstpcap utility in the mstpcap.txt file. 2015-07-14 20:32:38 +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 c3eddc2f1c Cleaned up compile warnings 2015-06-29 15:16:03 +00:00
skarg 89bbfbb2ab Fixed compile warning in GetEvent demo. 2015-06-28 20:49:48 +00:00
skarg bd7da666d9 Fixed segmentation fault in demo/router. [bugs:#34] Thank you, F. Chaxel! 2015-06-28 12:52:25 +00:00
skarg b0bd3d6e07 added readme to PiFace demo 2015-06-25 18:45:56 +00:00
skarg 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! 2015-06-03 18:43:07 +00:00
skarg 8cae75b5d2 Fixed DCC, ARF, RD, and AWF demo applications to use address_cache if available. 2015-05-29 01:46:54 +00:00
bow2 086840a763 get event information demo 2015-03-23 12:28:46 +00:00
skarg 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. 2015-03-20 19:47:57 +00:00
skarg e98f74424d Fixed address_cache handling of hex DADR addresses for MS/TP or ARCNET devices. Thank you, Marshal! 2015-03-06 21:55:58 +00:00
skarg e5384a416c Made the example Binary Input consistent, and made the Polarity property functional. 2015-02-25 12:28:44 +00:00
petermcs 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.
2015-02-16 10:58:31 +00:00
petermcs 1d9eb5318c silenced warning about unused variable when not using intrinsic reporting 2015-02-16 10:46:52 +00:00
petermcs ce68dc5147 Silenced type conversion warning 2015-02-16 10:45:39 +00:00
skarg 3a3c3c24be Fixed encoding of NPDU in router demo. Thank you F. Chaxel. 2014-12-26 17:01:10 +00:00
skarg 27e7c4752c clean up compiler warning 2014-11-17 04:00:24 +00:00
skarg ef664ab273 Terminate the value list linked lists for the COV example object Analog Inputs. Thanks, Ed! 2014-11-11 16:56:45 +00:00
skarg d53551558a Merged revision(s) 2782 from branches/releases/bacnet-stack-0-8-0:
Added initial names and descriptions to example multi-state value and multi-state input objects.
........
2014-11-11 16:54:35 +00:00
ekh 4415df61f9 Fixups for an issue found during testing COVs 2014-11-10 18:29:22 +00:00
skarg b2097a2acc Added command line option for setting the Device Name in the demo server project. 2014-11-06 16:16:48 +00:00
skarg cab93e9db4 Modified ReadRange demo to be similar to ReadProperty demo. Still needs the print of the data to work correctly, but it mostly works. 2014-10-29 21:26:35 +00:00
skarg 3ad8eaba9c added Integer Value object example 2014-09-10 04:01:53 +00:00
skarg c1ba4b124e Added COV to Analog Input demo object. 2014-08-28 18:46:09 +00:00
skarg 5f08d69cc6 Merged revision(s) 2770 from branches/releases/bacnet-stack-0-8-0:
Changed present-value to be a float, and removed priority array example from Analog Value demo object.
........
2014-08-28 15:13:04 +00:00
skarg cf738fea8f Optimize printing usage for command line demo. 2014-08-15 15:09:56 +00:00
skarg a32b053706 Added --version, --help, --dnet, --mac, and --dadr command line options to WhoIs demo application. 2014-08-15 13:23:47 +00:00
skarg e7d04a2379 Added --version and --help command line options to some demo applications. 2014-08-15 13:21:20 +00:00
skarg ccad9165c5 Refactored address decoding from demo command line function into address library. 2014-08-15 13:17:46 +00:00
skarg 862d6622d7 Added optional MAC, DNET, and DADR command line options for the TimeSync demo application. 2014-08-02 00:03:51 +00:00
skarg 227b89ff7c Changed PiFace demo Binary Inputs to be toggle-on toggle-off, and verified functionality with COV. 2014-06-29 23:03:52 +00:00
skarg 9499d1106e Added demo for Raspberry Pi PiFace board. Yesterday I was given the Swan Award in memory of Bill Swan from the BACnet committee and Siemens. They also gave me a Raspberry Pi and PiFace Digital in liu of the traditional alcohol. 2014-06-29 20:35:05 +00:00
skarg ebb2136ef3 Added BO out-of-service function for PiFace port example. 2014-06-29 19:57:23 +00:00
skarg fa1c457f2f Fixed gateway demo build, and cleaned up prototype warnings. Thanks, Bryan Evenson! 2014-06-10 15:28:10 +00:00
skarg 0116bcbfe7 Added -d option to Epics demo to only display Device properties. 2014-05-14 22:21:29 +00:00
skarg ef91dbb6ea Added Command object to the server demo. Thank you, Nikola Jelic. 2014-03-05 17:02:38 +00:00
skarg 1a6debfbf4 Added help text to mstpcrc demo. 2014-02-26 19:10:23 +00:00
skarg f7724eea6a Fixed Send_TimeSyncUTC().
Fixes bug https://sourceforge.net/p/bacnet/bugs/28/
Added functions in s_ts.c that reference Device object Local_Time, UTC_Offset, and Daylight_Savings_Time properties.
Implements feature request https://sourceforge.net/p/bacnet/bugs/27/
2014-01-19 19:55:20 +00:00
skarg 717aaa9dfa Moved the handler_cov_task() outside of 1-sec task to run every cycle since handler_cov_task() was modified to only to a single state/subscription per call (previously it did all subscriptions per call). This matches the non-gateway demo code. 2014-01-17 04:33:43 +00:00
skarg 563665dfe7 Merged revision(s) 2705 from branches/obvius/bacnet-stack:
Initialize APDU retries from environment $BACNET_APDU_RETRIES just
  as we initialize APDU timeout.

........
2014-01-16 14:13:54 +00:00
skarg c3326b324c Cleaned up some warnings found when compiling with Visual Studio Express 2010. 2014-01-14 20:03:00 +00:00
skarg bfa26b769f New code for alarms and events: new functions get_alarm_summary_encode_apdu, Send_Get_Alarm_Summary_Address, Send_Get_Alarm_Summary, Send_Get_Event_Information_Address, Send_Get_Event_Information, get_event_ack_handler. Thank you Daniel Blazevic! 2014-01-14 19:49:39 +00:00
skarg 9fb6b9107a Fixed various compiler warnings. Thank you, Morten Kvistgaard! 2013-12-09 20:31:47 +00:00
skarg 7f58784576 updated makefiles for unit tests to include prolist.c and lighting.c recently added modules 2013-12-09 20:06:20 +00:00
skarg d03e35ebda refactored the private-transfer printing 2013-12-09 19:19:19 +00:00
skarg 31b8373520 corrected invalid frame handling for mstpcap scan feature 2013-12-02 16:24:24 +00:00
skarg 8c20db621e updated server demo PICS, but still needs proofed. 2013-11-18 13:33:50 +00:00
skarg 94cf94b09d added text printing for property-list property. Added property-list property to analog-input object. 2013-11-16 21:49:06 +00:00