Commit Graph

58 Commits

Author SHA1 Message Date
skarg d416303844 Added function to get the DCC password from demo handler. 2017-01-01 05:08:40 +00:00
skarg 03de7f191e Added TimeSynchronization server example. 2016-07-26 21:27:34 +00:00
skarg f8bcd58cea Fixed some warnings detected by CSTAT.
Consolidated some unit tests and added a single test prototype to header file.
2016-06-08 21:55:12 +00:00
bow2 086840a763 get event information demo 2015-03-23 12:28:46 +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 ba3242aafd indented using indent.sh script to get uniform looking code for release 2013-03-13 22:17:13 +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 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 48e2c60ce2 indented to standard from script 2012-05-13 15:07:12 +00:00
skarg dd93e8cf1b Removed the object-table function macros from each demo object header file since it was very difficult to maintain when new functions are added. Added device-client.c file which is a small device object just for simple clients. Updated most Makefiles of client demo applications to utilize device-client.c file.
Added two device object table functions for COV support.
Corrected demo COV handler interaction with TSM, COV flags, and multiple subscriptions for the same object.
2011-10-03 18:54:14 +00:00
skarg bebb97b469 Added Added SubscribeCOV demo application (bacscov) for testing. 2011-09-14 20:40:26 +00:00
k001a c40b355694 Handling of GetAlarmSummary service. 2011-08-23 21:22:06 +00:00
skarg f19f2c29d9 Converted all the BACnet-array-index variables from int32 to uint32 as they were intended. 2011-08-23 20:11:42 +00:00
k001a 8199008092 Acknowledge Alarm for Analog-Input and Analog-Value objects.
Moved initialization of handlers to GetEventInformations to specific init object.
2011-07-21 20:44:57 +00:00
k001a a16a8f041b - Added handling to WritePropertyMultiple.
- Added encode_tagged_enumerated function.
2011-06-08 21:51:15 +00:00
skarg 2a0bf4926a Performed standard indent script indent.sh on project files. 2010-12-15 19:02:40 +00:00
tbrennan3 31f440e070 Implemented separate Who-Is and Who-Has handlers for the routed case, where we loop through all the Devices looking for matches.
Tested and improved the routing code.
Gateway demo now sends I-Am as each Device is added.
Added test for valid Network number when routing, and only send Reject message if this fails (and not if we just can't find a Device match).
Test the hop_count and discard the packet if would reach 0 and a destination Network is called for.
2010-12-02 20:33:43 +00:00
tbrennan3 9efd3465cf Adding more support for Network Layer Message handling. 2010-10-07 20:56:09 +00:00
tbrennan3 9f4b8e5f19 Adding a handler for routed NPDUs (ie, Network Layer Message handling).
The work is not complete yet; this is an interim checkin.
2010-09-29 20:52:51 +00:00
skarg a23d75689d Correcting prototypes and includes. 2010-08-18 00:01:32 +00:00
skarg 3c9c3c2d56 Updated prototypes and include as required and found by compile with extra checking. Thanks to Nigel Jones for his "setting a bad example" article. 2010-08-17 19:43:59 +00:00
skarg 987e28d515 Modified the ReadProperty, ReadPropertyMultiple, and WriteProperty demo applications to check source address and invoke ID on the returning acknowledge to prevent printing responses not intended for this client. 2010-06-15 14:58:27 +00:00
skarg 710cfccfef Indented using indent script. 2010-05-04 21:06:26 +00:00
tbrennan3 c5977b8933 Added some function documentation and a little more support for Structured Views. 2010-04-15 20:45:22 +00:00
tbrennan3 47ff6200f1 Doxygenation of the main Alarm/Event and COV functions.
Also documented the main misc functions for handlers.
2010-03-12 03:30:31 +00:00
tbrennan3 9327994aef Two quick fixes for sending unicast I-Am - corrected name of handler, and added the destination copy. 2010-03-01 15:43:06 +00:00
skarg d98194636c Changed default WhoIs to be Broadcast after seeing problems of unicast I-Am through some BACnet routers. Split out WhoIs into 2 handlers - one for unicast I-Am and one for Broadcast I-Am. Developer can choose which one to use for their default handler. 2010-02-19 14:45:32 +00:00
petermcs 9c9e4b9603 Changed RR handler to call Device_Objects_RR_Info directly.
Removed handler_rr_object_set and associated info. 
Simplified parameter passing to rr info functions by passing ptr to BACnet_Read_Range_Data.
2010-02-18 11:12:38 +00:00
skarg 1f9c13d37b Got rid of the handler-set functions for RP,RPM,WP,RD. Just referencing the device object functions directly. 2010-02-18 03:06:03 +00:00
petermcs ecb1f2064f Folded error class and code into BACNET_READ_RANGE_DATA structure. 2010-02-15 11:41:23 +00:00
skarg 6c1b5b7e68 Decoupled the demo handler from the demo object for ReinitializeDevice service. 2010-02-13 13:38:00 +00:00
skarg f0863c0238 Refactored RP, WP, RPM to reduce coupling with objects for Linux and Win32 ports. 2010-02-10 16:27:31 +00:00
petermcs 9b19207fd1 Added some argument validation helper functions to simplify write property code in the objects. 2010-02-03 22:37:43 +00:00
petermcs 7c13ab6904 First version of Trend Log which will actually log real data. 2009-12-11 14:54:56 +00:00
petermcs b8251f314f Implemented ReadRange functionality for the device "Device Address Binding" property and modified the ReadRange test app to use this real property for its target.
Implemented a framework for allowing the ReadRange handler determine which properties support ReadRange and which varients of ReadRange they support.
2009-11-10 15:37:11 +00:00
skarg c04e69da8c Fixed EOL, indent. 2009-10-24 17:02:59 +00:00
skarg af30d31a6c Added UnconfirmedPrivateTransfer encoding and demo handler. 2009-10-20 17:26:06 +00:00
skarg a790c053d2 Added GetEventInformation service, handler, unit test. 2009-10-12 04:44:25 +00:00
petermcs e8d91faaac Added encoding and decoding for ReadRange service, associated handlers and test application. 2009-09-25 21:56:49 +00:00
petermcs 8d80d25322 Added sample Confirmed Private Transfer implementation files and demo for same. 2009-09-04 11:25:47 +00:00
skarg de35ce7c5e Added optional API for some objects. Added ability to set password for default DCC handler. 2009-09-04 04:21:59 +00:00
skarg a28760bf56 Added init functions to object header files. Finished refactoring the demo read and write property handlers to use function tables. 2009-08-23 03:26:30 +00:00
skarg 3dc3da5735 Changing handlers to register objects so that handlers can remain unchanged. In Progress! 2009-08-22 19:27:18 +00:00
skarg 7032168ff5 Ran the fixup, indent, and comment scripts to standardize the source code. 2009-05-24 01:49:21 +00:00
minack 8e670ef3f9 Changes:
Added codecs/demo handler/demo client for Alarm Ack service.
Updated relevant global header files client.h and handlers.h
Fixed up incorrect return val for lso handler.
2009-05-23 03:16:28 +00:00
skarg b85c4355d0 Indented according to standard indent rules for this project. 2009-04-18 20:50:04 +00:00
minack 89fc2810f3 Added code to handle Life Safety Operation service. 2009-01-23 00:34:55 +00:00
skarg 7921d2f811 added ReadPropertyMultiple client demo application, bacrpm. 2008-11-23 22:25:08 +00:00