skarg
f52fc092e5
Added additional BACnet demo object API (header files) for various properties. Updated demo objects to compile cleanly with the updated API.
2013-05-22 17:42:48 +00:00
skarg
ac84fc430f
Split error codes on write property for read-only known properties which gives write-access-denied, and unknown properties.
2013-01-14 16:27:50 +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
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
3e1cb1847f
Indented project.
2011-08-17 02:27:11 +00:00
skarg
8da85f6c79
Moved COV object handling into Device object.
...
Fixed COV for multiple subscriptions to same object.
2011-05-25 20:18:56 +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
2f5d6fbaa1
Updated unit tests for objects and services, and corrected some portability problems. Thanks, Sergei! Didn't fix mstp or load control unit test results.
2010-12-27 00:04:38 +00:00
skarg
e9249b5b5e
Added test for a decoding problem where the stack is unable to decode something, and retrofitted into WriteProperty for each of the demo objects by returning an Error, Out of Range.
2010-10-12 01:17:50 +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
ea250f422d
Added some dynamic-ism to some properties of the demo Binary Input object.
2010-06-03 19:12:25 +00:00
skarg
710cfccfef
Indented using indent script.
2010-05-04 21:06:26 +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
634237cf43
Simplified write property code using new validation helper functions in h_wp.c.
2010-02-04 16:22:12 +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
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
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
6da080105d
Cleaned up Borland compiler warnings.
2009-04-19 20:05:06 +00:00
skarg
cf9d15631a
Indented using indent script. Corrected any C++ comments using the comment script.
2008-03-10 21:00:48 +00:00
skarg
bfc5a52a6f
Adding SubscribeCOV to demo/server for testing.
2008-01-14 21:27:22 +00:00
skarg
89432a85c3
Applied standard indentation to files.
2008-01-08 23:13:51 +00:00
skarg
af6490c6cd
Corrected compile error.
2008-01-01 22:12:18 +00:00
skarg
9ab6d4165f
Adding COV support.
2007-12-28 19:53:34 +00:00
skarg
32457a68c0
Indented.
2007-12-07 20:15:56 +00:00
skarg
23905f3436
Added WriteProperty support to Binary Inputs, as well as adding out-of-service. Prepping for COV.
2007-12-05 22:55:45 +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
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
9cdc90c25d
Corrected compile errors found during unit test.
2006-05-21 12:15:19 +00:00
skarg
7e18086c73
Added Binary Output objects to the demos.
2006-03-23 15:43:15 +00:00
skarg
476bb7b1cc
Created demo Binary Input Object.
2006-03-22 19:40:15 +00:00