Commit Graph

927 Commits

Author SHA1 Message Date
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
skarg 2f0bf7744a Added property-list property to Lighting Output and Channel objects (untested). Fixed some compiler warnings. 2013-11-15 20:51:38 +00:00
skarg 80a4cca173 adding functionality to lighting output object - unfinished 2013-11-15 14:53:41 +00:00
skarg 5dd7159139 Converted EPICS CRLF to only LF since stdout defaults to text mode and automatically converts LF to appropriate sequence on each platform. 2013-11-14 18:54:14 +00:00
skarg 9f154694f0 Added functions for manipulating the channel object list of members. 2013-11-12 20:56:25 +00:00
skarg 867131b91d Added encoding for channel object list of members for reading. 2013-11-12 16:14:40 +00:00
skarg 4d79c26a8c Updated Lighting Output object. Added Channel object. Not complete and not fully tested. 2013-11-11 22:27:55 +00:00
skarg 5f3ec51291 Now checking standard error define from who-is decoding. 2013-10-31 20:14:37 +00:00
skarg 55599cafaa Added apdu length checking in who-is decode. Now returning standard error define. 2013-10-31 15:50:35 +00:00
skarg 56b65e9694 indented using indent.sh script. 2013-10-29 01:55:49 +00:00
skarg c9daf98061 fixed some whitespace. 2013-10-11 21:54:38 +00:00
skarg 02007f5f3c Modified COV handler to use separate pool of destination addresses, so the pool can be smaller (less unique clients subscribing) and the subscriptions can be larger, using much less memory. 2013-10-11 14:51:35 +00:00