Commit Graph

408 Commits

Author SHA1 Message Date
skarg fe8e60dd3d Added example MS/TP port to ATxmega XPLAINED A3BU evaluation board. 2015-04-16 13:23:29 +00:00
bow2 086840a763 get event information demo 2015-03-23 12:28:46 +00:00
skarg 98207470f4 Adds network address translation (NAT) handling to BVLC when the device is BBMD.
When the device is behind a NAT enabled IP router, the local subnet is not accessible from the WAN side. This means that the device's local IP address cannot be used by other devices to communicate with it. The router can port forward BACnet packets to one device in the local network, but to do so other devices need to use the global IP for communication. The considerations and limitations for NAT usage are specified in BACnet standard Annex J.7.8. Thank you, Sami Pietikäinen, for the contribution!
2015-02-24 21:54:19 +00:00
skarg 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! 2015-02-24 20:01:18 +00:00
petermcs 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.
2015-02-16 10:49:50 +00:00
skarg ccad9165c5 Refactored address decoding from demo command line function into address library. 2014-08-15 13:17:46 +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 8cdd480cc5 Added some enum extensions for the lighting output and life safety object. Thank you, Wolfgang! 2014-07-30 16:34:21 +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 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 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 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 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 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 4d79c26a8c Updated Lighting Output object. Added Channel object. Not complete and not fully tested. 2013-11-11 22:27:55 +00:00
skarg 56b65e9694 indented using indent.sh script. 2013-10-29 01:55:49 +00:00
skarg 51da546e28 added some extended application tags, including one for Lighting Command 2013-10-28 21:18:08 +00:00
skarg ec1ffa8598 Added TSM timeout callback function. 2013-10-16 17:41:10 +00:00
skarg 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

Thank you for the contribution, Daniel Blazevic!
2013-10-09 21:49:15 +00:00
skarg 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. 2013-10-09 15:42:26 +00:00
skarg eaeea83e3d Renamed and fixed proprietary min-max range defines for reject and abort codes. 2013-10-09 15:08:29 +00:00
skarg c0843c8134 added channel object to proplist. Added unit test to proplist. 2013-10-08 15:57:41 +00:00
skarg 252ffd934c Enhanced mstpcap utility to show Device ID in statistics if any I-Am Requests were encountered in the MS/TP data stream. 2013-09-06 21:32:27 +00:00
skarg f33cfe79fd fixed proprietary min-max error code and class for unit tests. 2013-08-19 16:16:29 +00:00
skarg 8866f38dd9 Added record access to the AtomicReadFile and AtomicWriteFile data, services, and demos. Thank you, Nikola Jelić! 2013-08-19 16:05:08 +00:00
skarg a1da5ecb8a Fixed BACnetLightingOperation enumeration to match 135-2012. Added BACnetLightingInProgress and BACnetLightingTransition enumerations. 2013-08-19 15:44:02 +00:00
skarg bb6995e518 Added some new error codes from BACnet standard. 2013-08-16 23:19:57 +00:00
skarg c1e9558655 Exposed date time internal functions for use by others.
Fixed datetime add minutes function for times at beginning and end of day.
2013-06-11 03:09:56 +00:00
skarg 0b6abd8f2b Placed MAX_BACNET_PROPERTY_ID back inside enum declaration since BACNET_READ_PROPERTY_DATA and other structures include BACNET_PROPERTY_ID, and some compilers will not allocate an adequate sized datatype if MAX_BACNET_PROPERTY_ID is excluded from the BACNET_PROPERTY_ID enum definition. 2013-05-22 17:47:49 +00:00
skarg df54c5236e Added new units from ASHRAE 135-2012 standard. 2013-05-22 14:31:00 +00:00
skarg 15cb616b4a Added UCI support for the BACnet demo server. UCI is a replacement for nvram. The source is GPL and has a lua lib.
http://wiki.openwrt.org/doc/uci
http://nbd.name/gitweb.cgi?p=uci.git;a=summary
Thank you, Patrick <patrick@lunatiki.de>.
2013-04-15 20:22:24 +00:00
skarg 0c177d1abf Incremented version to 0.9.0 for development trunk. 2013-03-14 01:46:56 +00:00
skarg ba3242aafd indented using indent.sh script to get uniform looking code for release 2013-03-13 22:17:13 +00:00
skarg 7084b9f036 Added Javadoc to fifo module and header file. 2013-02-22 16:19:42 +00:00
skarg 1c5d399a38 Added encode/decode for Time_Synchronization_Recipients.
Added Send_TimeSync_Remote() which can use specific destination address.
Added function prototypes for time sync master in the handlers.
2013-02-20 23:54:11 +00:00
skarg 209f9e82a2 Added octetstring_copy_value() function to ease copying octetstring value into a buffer. 2013-02-20 23:51:47 +00:00
skarg 4c4ea6284b Added a datetime_is_valid() function for checking a valid calendar date. 2013-02-20 23:49:03 +00:00
skarg 850b579744 Added enumeration for Restart_Reason. 2013-02-18 15:52:44 +00:00
skarg adb4fe0865 Added get_alarm_summary_ack_decode_apdu_data() and get_alarm_summary_ack_handler(). Thank you, Daniel Blazevic, for the contribution! 2013-01-22 22:54:32 +00:00
skarg cf882642a8 Changed Ringbuf API: Ringbuf_Pop_Front is now Ringbuf_Pop, and now it copies the buffer into parameter and returns boolean. Original method was not safe since it returned a pointer to the element but freed the buffer element. Changed Ringbuf_Get_Front to Ringbuf_Peek with no change in functionality, to make names more consistent.
Updated all the MS/TP datalink layer implementations that use Ringbuf library.
2013-01-08 20:48:34 +00:00
skarg a12e106643 Updated the objects, services, and properties for the 135-2012 version of the BACnet standard. 2012-12-07 22:00:57 +00:00
skarg a11e2cd159 Added objects and services defines for each Protocol_Revision level. 2012-12-07 21:27:59 +00:00
skarg 271f2e0b46 Corrected spelling of functions ending in apdu. [note API change for BACnet clients] Thank you, Nikola Jelić! 2012-11-01 14:13:49 +00:00
skarg eb9bfca4a3 Corrected spelling of functions ending in apdu. [note API change for BACnet clients] Thank you, Nikola Jelić! 2012-11-01 14:09:36 +00:00
skarg fa12f4bcdf Added BVLC Read-Broadcast-Distribution-Table demo (doesn't print table yet). 2012-10-24 22:09:43 +00:00
skarg 9d9440e061 made Protocol_Revision a configurable value, and adjust the object-type bit string and services-supported bit string length varies depending on which value is used. 2012-09-29 19:53:57 +00:00
vasyl-tkhir 2f73bcae44 BACnet router added. 2012-09-27 14:36:11 +00:00