Commit Graph

  • ef664ab273 Terminate the value list linked lists for the COV example object Analog Inputs. Thanks, Ed! skarg 2014-11-11 16:56:45 +00:00
  • 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. ........ skarg 2014-11-11 16:54:35 +00:00
  • 5e476c3ffc Improved test in BDK port. skarg 2014-11-11 16:50:17 +00:00
  • 4415df61f9 Fixups for an issue found during testing COVs ekh 2014-11-10 18:29:22 +00:00
  • b2097a2acc Added command line option for setting the Device Name in the demo server project. skarg 2014-11-06 16:16:48 +00:00
  • 66f52e438f added some more debug to RS485 on Linux skarg 2014-11-02 05:29:42 +00:00
  • 3fca74bcfb When MAC address length is zero, assume it is a broadcast. Updated the MS/TP to understand this. skarg 2014-11-02 05:27:14 +00:00
  • cab93e9db4 Modified ReadRange demo to be similar to ReadProperty demo. Still needs the print of the data to work correctly, but it mostly works. skarg 2014-10-29 21:26:35 +00:00
  • 3ad8eaba9c added Integer Value object example skarg 2014-09-10 04:01:53 +00:00
  • 133b166d0c added alternate info on pin remap for STM32 MS/TP port skarg 2014-09-01 00:08:42 +00:00
  • c1ba4b124e Added COV to Analog Input demo object. skarg 2014-08-28 18:46:09 +00:00
  • 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. ........ skarg 2014-08-28 15:13:04 +00:00
  • cf738fea8f Optimize printing usage for command line demo. skarg 2014-08-15 15:09:56 +00:00
  • ae3a9a53d0 Make top level demos not silent in order to know which demo emitted an error or warning during build. skarg 2014-08-15 15:09:00 +00:00
  • a32b053706 Added --version, --help, --dnet, --mac, and --dadr command line options to WhoIs demo application. skarg 2014-08-15 13:23:47 +00:00
  • e7d04a2379 Added --version and --help command line options to some demo applications. skarg 2014-08-15 13:21:20 +00:00
  • ccad9165c5 Refactored address decoding from demo command line function into address library. skarg 2014-08-15 13:17:46 +00:00
  • 0be5ddce65 Fixed BACnet/IP to handler remote network broadcast that is unicast to the router. skarg 2014-08-02 00:05:00 +00:00
  • 862d6622d7 Added optional MAC, DNET, and DADR command line options for the TimeSync demo application. skarg 2014-08-02 00:03:51 +00:00
  • 53ee8f309a Added COV unit test to check linked list of values, and added helper function to create the linked list. skarg 2014-07-31 15:14:58 +00:00
  • 3264623953 Extended COV so that it is possible to encode and decode CovNotifications that consist of more than one BACNET_APPLICATION_DATA_VALUE. Thank you, Wolfgang! skarg 2014-07-30 16:37:15 +00:00
  • 8cdd480cc5 Added some enum extensions for the lighting output and life safety object. Thank you, Wolfgang! skarg 2014-07-30 16:34:21 +00:00
  • db224e7f0b Revised BACnetObjectTypes to match Clause 21 (and the expectations of the newly revised VTS); changed format, eg, from "Analog Input" to "analog-input" for all. tbrennan3 2014-07-27 01:16:04 +00:00
  • 227b89ff7c Changed PiFace demo Binary Inputs to be toggle-on toggle-off, and verified functionality with COV. skarg 2014-06-29 23:03:52 +00:00
  • 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. skarg 2014-06-29 20:35:05 +00:00
  • ebb2136ef3 Added BO out-of-service function for PiFace port example. skarg 2014-06-29 19:57:23 +00:00
  • 12e7896701 added BACAPP_MINIMAL to PIC project skarg 2014-06-15 00:26:14 +00:00
  • d65de8a69a added BACAPP_MINIMAL for defining some minimum appliacation encoding and decoding. skarg 2014-06-15 00:25:13 +00:00
  • 63288d062c Added parser for command line parsing of a BACnet BitString. This is nice if you want to write Event Enable, for example. Expects the ASCII bits as "1011001" or "1,0,1,1,0,0,1" or "1 0 1 1 0 0 1". skarg 2014-06-13 21:25:40 +00:00
  • fa1c457f2f Fixed gateway demo build, and cleaned up prototype warnings. Thanks, Bryan Evenson! skarg 2014-06-10 15:28:10 +00:00
  • 8da7c09bee Fixed "make clean" to also clean up gateway files. Thanks, Bryan! skarg 2014-06-10 15:26:49 +00:00
  • 44b30140b4 fixed Binary Input values by adding internal pullup to pin. skarg 2014-06-04 03:16:34 +00:00
  • 3f18b83a9d fixed compiler error about property list function. skarg 2014-06-04 03:15:40 +00:00
  • 0116bcbfe7 Added -d option to Epics demo to only display Device properties. skarg 2014-05-14 22:21:29 +00:00
  • ef91dbb6ea Added Command object to the server demo. Thank you, Nikola Jelic. skarg 2014-03-05 17:02:38 +00:00
  • 1a6debfbf4 Added help text to mstpcrc demo. skarg 2014-02-26 19:10:23 +00:00
  • 9553660732 Merged revision(s) 2731 from branches/releases/bacnet-stack-0-8-0: fixed BDK MAC to Device ID initialization ........ Merged revision(s) 2732 from branches/releases/bacnet-stack-0-8-0: made function local ........ skarg 2014-01-31 14:31:59 +00:00
  • 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/ skarg 2014-01-19 19:55:20 +00:00
  • 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. skarg 2014-01-17 04:33:43 +00:00
  • 3835dc8998 Merged revision(s) 2707 from branches/obvius/bacnet-stack: Fix: As a BBMD, when forwarding NPDU to the local subnet (as an IP broacast) we omit BVLC header, resulting in corrupt packet. skarg 2014-01-17 04:29:20 +00:00
  • 1738701f81 Merged revision(s) 2706 from branches/obvius/bacnet-stack: Fix: BVLC-Delete-Foreign-Device always returns NAK. uninitialized 'port' var. Use sin.sin_port instead. skarg 2014-01-16 20:01:18 +00:00
  • 563665dfe7 Merged revision(s) 2705 from branches/obvius/bacnet-stack: Initialize APDU retries from environment $BACNET_APDU_RETRIES just as we initialize APDU timeout. skarg 2014-01-16 14:13:54 +00:00
  • c3326b324c Cleaned up some warnings found when compiling with Visual Studio Express 2010. skarg 2014-01-14 20:03:00 +00:00
  • 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! skarg 2014-01-14 19:49:39 +00:00
  • 92559791ba updated linux rs485 functional test to compile and run skarg 2013-12-23 19:36:32 +00:00
  • 1a94b076e5 added EOL and igrore files for working within mercurial. skarg 2013-12-19 23:17:33 +00:00
  • ac710ccd27 added missing make file for unit test skarg 2013-12-10 16:09:06 +00:00
  • 9fb6b9107a Fixed various compiler warnings. Thank you, Morten Kvistgaard! skarg 2013-12-09 20:31:47 +00:00
  • 7f58784576 updated makefiles for unit tests to include prolist.c and lighting.c recently added modules skarg 2013-12-09 20:06:20 +00:00
  • 85aed6b123 Fixed compile error exposed by unit test. Thanks, Morten! skarg 2013-12-09 19:30:19 +00:00
  • d03e35ebda refactored the private-transfer printing skarg 2013-12-09 19:19:19 +00:00
  • 31b8373520 corrected invalid frame handling for mstpcap scan feature skarg 2013-12-02 16:24:24 +00:00
  • b8267024d7 fixed compile warning with a cast skarg 2013-11-19 04:49:44 +00:00
  • 8c20db621e updated server demo PICS, but still needs proofed. skarg 2013-11-18 13:33:50 +00:00
  • 85bd51dca7 added some comments and max values skarg 2013-11-18 02:11:43 +00:00
  • 94cf94b09d added text printing for property-list property. Added property-list property to analog-input object. skarg 2013-11-16 21:49:06 +00:00
  • cedaa5a944 added Lighing Output object to property lists skarg 2013-11-16 00:14:55 +00:00
  • 2f0bf7744a Added property-list property to Lighting Output and Channel objects (untested). Fixed some compiler warnings. skarg 2013-11-15 20:51:38 +00:00
  • 80a4cca173 adding functionality to lighting output object - unfinished skarg 2013-11-15 14:53:41 +00:00
  • b363f9dedb Added unit test for lighting command encoding and decoding. skarg 2013-11-14 20:21:46 +00:00
  • 5dd7159139 Converted EPICS CRLF to only LF since stdout defaults to text mode and automatically converts LF to appropriate sequence on each platform. skarg 2013-11-14 18:54:14 +00:00
  • 9f154694f0 Added functions for manipulating the channel object list of members. skarg 2013-11-12 20:56:25 +00:00
  • 867131b91d Added encoding for channel object list of members for reading. skarg 2013-11-12 16:14:40 +00:00
  • 4d79c26a8c Updated Lighting Output object. Added Channel object. Not complete and not fully tested. skarg 2013-11-11 22:27:55 +00:00
  • 5f3ec51291 Now checking standard error define from who-is decoding. skarg 2013-10-31 20:14:37 +00:00
  • b3b3b8eca6 While trying to compile mstpsnap, Joe got a compile time failure. Adding fifo.c to the mstpsnap.mak file seems to have resolved GCC's complaint, and mstpsnap seems to be functioning. Thanks, Joe! skarg 2013-10-31 16:24:05 +00:00
  • 55599cafaa Added apdu length checking in who-is decode. Now returning standard error define. skarg 2013-10-31 15:50:35 +00:00
  • 1b9d85e7e7 Added some optional channel properties to the proplist module. skarg 2013-10-30 22:17:05 +00:00
  • 9c83f74c45 modified indent bat file to work correctly. skarg 2013-10-29 15:08:01 +00:00
  • 9b5c46966a ran comment.sh script on files to clean up cpp comments. skarg 2013-10-29 01:59:22 +00:00
  • c5ffb69f59 fixed up EOL on files and mime types. skarg 2013-10-29 01:56:50 +00:00
  • 56b65e9694 indented using indent.sh script. skarg 2013-10-29 01:55:49 +00:00
  • e3da7d7fed modified indent bat file to work correctly. skarg 2013-10-28 22:24:54 +00:00
  • 51da546e28 added some extended application tags, including one for Lighting Command skarg 2013-10-28 21:18:08 +00:00
  • a43ef066b7 Removed unused device.h includes in src files. Thanks, Miguel! skarg 2013-10-28 20:55:58 +00:00
  • 1210ca620e Fixed timeout function call. Thanks, Daniel! skarg 2013-10-22 19:24:06 +00:00
  • ec1ffa8598 Added TSM timeout callback function. skarg 2013-10-16 17:41:10 +00:00
  • c9daf98061 fixed some whitespace. skarg 2013-10-11 21:54:38 +00:00
  • 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. skarg 2013-10-11 14:51:35 +00:00
  • 670af1c84d Added a check in COV Subscribe handling to also ensure that an existing subscription matches the SRC address. Without the check, funny things happen when there are subscribers with different addresses for the same object and process ID (there are lost subscriptions). Thank you, Nikola Jelic! skarg 2013-10-11 14:08:23 +00:00
  • 7361bb4650 1. Added new file s_wpm.c (Send_Write_Property_Multiple_Request_Data) 2. Changed file wpm.h (new struct added BACNET_WRITE_ACCESS_DATA, declaration for wpm_encode_apdu added) 3. Changed file wpm.c (definition added for wpm_encode_apdu) 4. client.h file updated with declaration for Send_Write_Property_Multiple_Request_Data skarg 2013-10-09 21:49:15 +00:00
  • 0600454320 Renamed and fixed proprietary min-max range defines for units, program-error, restart-reason, reliability, event, life-safety-mode, life-safety-operation, life-safety-state, silenced-state, maintenance, object-type, and vt-class. Updated unit tests and other files affected. The max range must be declared inside of enum so that compilers will allocate adequate sized datatype for enum which is used to store decoded values. skarg 2013-10-09 15:42:26 +00:00
  • eaeea83e3d Renamed and fixed proprietary min-max range defines for reject and abort codes. skarg 2013-10-09 15:08:29 +00:00
  • f6cf0acc12 Fixed time-sync recipient list encoding. skarg 2013-10-09 14:51:44 +00:00
  • c0843c8134 added channel object to proplist. Added unit test to proplist. skarg 2013-10-08 15:57:41 +00:00
  • 35a8ef1ba2 Modified MS/TP capture utility to emit the list of available COM ports on Windows when no command line argument is given. skarg 2013-10-07 17:35:44 +00:00
  • db1236d870 cleaned up compiler warnings in bacfile.c example skarg 2013-10-04 19:18:24 +00:00
  • 827cd8aa66 updated makefile for gateway example. Fixed compiler warnings in gateway main.c file. skarg 2013-10-02 22:25:20 +00:00
  • 0bdfeb2ecf Converted the router demo license to Expat license, consistent with all the other demo licenses (permissive license) after requesting permission from the authors. "As to the license, you can change it to whatever you think is better, we certainly have no objections whatsoever. Wish you all the best in your mission. Andriy" skarg 2013-10-01 14:38:08 +00:00
  • 62ff9fb1de Added error message to read-property demo print. skarg 2013-09-27 22:15:40 +00:00
  • d50668fb71 updated BO and AO object example header files skarg 2013-09-27 00:12:25 +00:00
  • 6ff62a6cd7 Updated mstpcap documentation. skarg 2013-09-23 19:28:45 +00:00
  • fcf26c9198 Added mstpsnap to makefile. skarg 2013-09-23 19:08:52 +00:00
  • ef7f419a25 Cleaned up some compiler warnings. skarg 2013-09-23 18:48:50 +00:00
  • 6a22a2b89c Fixed mstpcap ctrl-c on Linux. Fixed mstpcap makefile on linux, while excluding cygwin. skarg 2013-09-16 18:23:18 +00:00
  • 4b21f62f38 Modified Ctrl-C exit handling of mstpcap to make exit cleaner on Win7. skarg 2013-09-16 16:55:54 +00:00
  • 73a8d08269 Corrected property application type encoding [bugs:#26] in multi-state output object. Thank you, Miroslav! skarg 2013-09-15 23:27:29 +00:00
  • 252ffd934c Enhanced mstpcap utility to show Device ID in statistics if any I-Am Requests were encountered in the MS/TP data stream. skarg 2013-09-06 21:32:27 +00:00
  • e05af7f624 Cleaned up warnings from File Record enhancements. skarg 2013-08-29 18:32:31 +00:00
  • efe8587f9f Fixed [bugs:#24] comparison is always false. Thank you, Anonymous! skarg 2013-08-29 18:14:07 +00:00