Commit Graph

2395 Commits

Author SHA1 Message Date
skarg cf738fea8f Optimize printing usage for command line demo. 2014-08-15 15:09:56 +00:00
skarg ae3a9a53d0 Make top level demos not silent in order to know which demo emitted an error or warning during build. 2014-08-15 15:09:00 +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 0be5ddce65 Fixed BACnet/IP to handler remote network broadcast that is unicast to the router. 2014-08-02 00:05:00 +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 53ee8f309a Added COV unit test to check linked list of values, and added helper function to create the linked list. 2014-07-31 15:14:58 +00:00
skarg 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! 2014-07-30 16:37:15 +00:00
skarg 8cdd480cc5 Added some enum extensions for the lighting output and life safety object. Thank you, Wolfgang! 2014-07-30 16:34:21 +00:00
tbrennan3 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. 2014-07-27 01:16:04 +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 12e7896701 added BACAPP_MINIMAL to PIC project 2014-06-15 00:26:14 +00:00
skarg d65de8a69a added BACAPP_MINIMAL for defining some minimum appliacation encoding and decoding. 2014-06-15 00:25:13 +00:00
skarg 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". 2014-06-13 21:25:40 +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 8da7c09bee Fixed "make clean" to also clean up gateway files. Thanks, Bryan! 2014-06-10 15:26:49 +00:00
skarg 44b30140b4 fixed Binary Input values by adding internal pullup to pin. 2014-06-04 03:16:34 +00:00
skarg 3f18b83a9d fixed compiler error about property list function. 2014-06-04 03:15:40 +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 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
........
2014-01-31 14:31:59 +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 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.

  bvlc_send_mpdu(&dest, &npdu[4 + 6], npdu_len); // bad
  bvlc_send_mpdu(&dest, &npdu[0], npdu_len+4+6); // good

Also added some debug_prints. To test, start bacserv, use VTS to add
yourself to the BDT, then send a Who-Is to bacserv as a Forwarded-NPDU.
Will be rebroadcast on local subnet but w/o BVLC header.

........
2014-01-17 04:29:20 +00:00
skarg 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.

........
2014-01-16 20:01:18 +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 92559791ba updated linux rs485 functional test to compile and run 2013-12-23 19:36:32 +00:00
skarg 1a94b076e5 added EOL and igrore files for working within mercurial. 2013-12-19 23:17:33 +00:00
skarg ac710ccd27 added missing make file for unit test 2013-12-10 16:09:06 +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 85aed6b123 Fixed compile error exposed by unit test. Thanks, Morten! 2013-12-09 19:30:19 +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 b8267024d7 fixed compile warning with a cast 2013-11-19 04:49:44 +00:00
skarg 8c20db621e updated server demo PICS, but still needs proofed. 2013-11-18 13:33:50 +00:00
skarg 85bd51dca7 added some comments and max values 2013-11-18 02:11:43 +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 cedaa5a944 added Lighing Output object to property lists 2013-11-16 00:14:55 +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 b363f9dedb Added unit test for lighting command encoding and decoding. 2013-11-14 20:21:46 +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