Commit Graph

55 Commits

Author SHA1 Message Date
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 ba3242aafd indented using indent.sh script to get uniform looking code for release 2013-03-13 22:17:13 +00:00
skarg 03a0a23ba6 Corrected normal/fault transitions in Analog_Input_Alarm_Ack(). Thanks, yoo_ms@hotmail.com. 2012-10-15 21:28:29 +00:00
skarg 7578b4ef06 Added check in each example object WriteProperty handler to pass test:
9.22.2.1 Writing Non-Array Properties with an Array Index
Thank you Kamalathas!
2012-07-09 19:49:27 +00:00
skarg d43146c7e3 fixed bug: Writing of property NotifyType in AnalogValue - ID: 3541355 2012-07-08 15:27:15 +00:00
skarg 48e2c60ce2 indented to standard from script 2012-05-13 15:07:12 +00:00
skarg a8280dda95 Added CharacterString Value object example and unit tests, and added to demo/server example application.
Added Multi-state Value object example and unit tests, and added to demo/server example application.
Fixed Analog Input object, Analog Output object, Analog Value object, Device object, Multi-state Input object, Multi-state Output object examples to return correct error codes for WriteProperty service (per BACnet 135.1-2009-9.22.2.6).
Fixed top level ReadProperty and WriteProperty handlers in Device object to return correct error codes (per BACnet 135.1-2009-9.22.2.5)
2012-03-22 18:22:42 +00:00
k001a c40b355694 Handling of GetAlarmSummary service. 2011-08-23 21:22:06 +00:00
skarg 8d9b987064 Corrected unit tests for iam, event, ai, and bacdevobjpropref. Removed device from unit test since it needs reworked for unit testing due to object dependencies. Noted that lc object fails test and needs fixed. 2011-08-17 03:47:43 +00:00
skarg 3e1cb1847f Indented project. 2011-08-17 02:27:11 +00:00
k001a c2282c5aad Fixed headers when built without Intrinsic Reporting. 2011-08-11 20:21:18 +00:00
petermcs 75d3927d67 Added in reliability to list of optional properties 2011-08-10 05:50:13 +00:00
k001a c37aa9ea90 After acknowledgment an alarm is sent AckNotification. 2011-07-23 17:18:25 +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 acbfe10349 Acked_Transitions for Analog-Input and Analog-Value objects. 2011-07-19 20:40:25 +00:00
k001a 2364561f19 Event_Priorities in Get_Event_Information is read form associated notification-class object. 2011-07-13 21:14:52 +00:00
k001a 536438d23e Get_Event_Informations returns analog-input and analog-value objects when Event_stane is not equal to NORMAL. 2011-07-13 20:36:21 +00:00
k001a c61c096dc7 Intrinsic reporting for analog-input objects.
Print on output details of WritePropertyMultiple.
2011-07-11 21:29:51 +00:00
k001a 7f291e3041 Cosmetic changes to comments.
Print on output every change of Event_State for analog-value objects.
Added write_property_function for analog-input objects.
Created descriptor for analog-input objects.
Possible to write Present_Value for analog-inputs when Out_Of_Service is true.
2011-07-11 19:48:21 +00:00
skarg deab12a5e1 Changed WhoHas and I-Have to use CharacterString instead of forcing ANSI X34 and C Strings. Affected all demos and ports object name, so I changed the object name function name to make sure it was noticed. 2011-03-24 16:53:02 +00:00
skarg 2a0bf4926a Performed standard indent script indent.sh on project files. 2010-12-15 19:02:40 +00:00
skarg 20ca252a8d Fixed compiler warning messages. 2010-12-12 05:42:42 +00:00
petermcs 61bb34d726 2nd pass at changing the error/reject/abort status reporting to improve BTL test compliance. ReadProperty fully done for core and demo objects. Will tackle other services next. 2010-06-07 15:52:33 +00:00
skarg 710cfccfef Indented using indent script. 2010-05-04 21:06:26 +00:00
petermcs bfd3920698 Removed assumption that object instance and object index are one and the same. Added in missing Analog_Input_Instance_To_Index() function. 2010-03-11 16:57:55 +00:00
skarg d7ec61eb21 Moved constants defining the number of each object back into the source files for the demo objects since the header files are currently common to all. 2010-02-11 23:14:53 +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 bfa8936bf5 Changed a bunch of debug and information printfs so that they have a better chance of working on systems where int is smaller than 32 bits also fixed the signed/unsigned type of some to match the type of the arguments. 2010-01-26 21:30:38 +00:00
petermcs 7c13ab6904 First version of Trend Log which will actually log real data. 2009-12-11 14:54:56 +00:00
skarg edc7c6c577 Added test for array options on RP and RPM to all object properties that are not arrays. 2009-11-05 15:39:46 +00:00
skarg c04e69da8c Fixed EOL, indent. 2009-10-24 17:02: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 db61a1122f Ran indent script. 2009-07-29 18:06:33 +00:00
skarg e70dd3c7ba Added more objects to BDK port, and connected AI to ADC7, and BI0..BI4 to PINB0..PINB4. Fixed up some other objects and object API (header files). 2009-06-18 03:58:54 +00:00
skarg 1477603af6 indented. 2007-11-29 16:39:48 +00:00
skarg 411d6c1b24 Indented. 2007-11-29 15:56:53 +00:00
skarg 3d6158443c Changed API: encode_tagged is now encode_application since we are encoding an application tag. 2007-10-13 12:26:16 +00:00
skarg 30c186d730 Corrected ReadPropertyMultiple handler. Tested using VTS with demo/server running under linux. 2007-07-19 18:27:03 +00:00
skarg 5b07b5b920 Integrated ReadPropertyMultiple with the demo/server application. Compiles, but untested. 2007-07-19 00:21:38 +00:00
skarg 9069c939da Fixing indent oops which removed the contents of all these files. 2007-06-14 05:33:15 +00:00
skarg ea4863ca25 Indented. 2007-06-14 05:14:26 +00:00
skarg fc97f448bf Changed demo constant float instead of cast. 2007-04-17 13:29:21 +00:00
skarg befc997533 Reverted change of sprintf %u to %lu since gcc defines uint32_t as unsigned int rather than long unsigned int like the pic. I will just add a note to the readme or demo projects for the PIC. 2007-03-27 13:44:48 +00:00
skarg b68f1a0f8e Changed sprintf from %u or %d to %lu to fix problem in PIC ports. 2007-03-27 11:20:39 +00:00
skarg 71d59fbb8b Standardized the comments and indentation using the comment.sh and indent.sh scripts. 2007-02-02 02:25:15 +00:00
skarg f7d549dec6 Cleaned up warnings from Visual C++ 6.0 compile by adding casts. 2006-12-12 15:45:01 +00:00
skarg f4f9241298 Added a way for TSM to indicated a transaction that failed to confirm, and added that into the confirmed handling demos. 2006-08-15 21:35:35 +00:00
skarg 648af404d6 indented per coding standard using indent.sh 2006-05-24 19:57:35 +00:00
skarg 201047a12c Added proprietary signed property for testing Ethereal and signed encoding and decoding. 2006-05-21 12:16:43 +00:00
skarg dee63d45bc Changed all the C++ comments to C comments using comment.sh script. 2006-02-19 01:32:09 +00:00