Commit Graph

51 Commits

Author SHA1 Message Date
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 3e1cb1847f Indented project. 2011-08-17 02:27:11 +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 e095715cec Moved include files for demo objects into demo/object, and updated makefiles to accommodate the move. This allows developers to create and maintain their own objects and the interfaces to them. 2011-03-22 20:53:13 +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 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 818ddefae5 Simplified write property code using new validation helper functions in h_wp.c.
Buffered date portion when writing to start time property so that failure in time portion wouldn't leave partially written date/time.
Flagged missing code in write property for shed levels and placed error response there.
2010-02-04 13:42: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 d45d566c94 Corrected context decoding bug in ReadPropertyMultiple client. Corrected ReadPropertyMultiple handling of objects that aren't supported. Added the context to application tags for the Load Control object. 2009-02-21 19:12:31 +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 a18d338f00 Set the EOL-style to native for most files using svn propset command. Some files also had inconsistent line endings. Seems that subversion doesn't set the eol-style automatically when files are created unless it is configured for autoprops. The autoprops setting is local to the subversion installation and not the project. 2007-06-18 16:22:24 +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 5d15c86541 Cleaned up warnings and comments. 2007-03-10 20:03:14 +00:00
skarg a2dc62a68c Changed where Shed_Levels was initialized. Added comments. 2007-03-05 16:13:19 +00:00
skarg f3f963e66d Added unit testing for load control object state machine. 2007-02-27 22:16:52 +00:00
skarg 9afdc3fffa Adding unit tests to Load Control object to verify state machine. 2007-02-26 22:02:19 +00:00
skarg 2661171f42 Tuning the start time and the other change states check in the state machine. 2007-02-26 20:36:29 +00:00
skarg 63360d8c3b Corrected unit test to compile. 2007-02-23 02:22:05 +00:00
skarg 1386b41f2d Ran the indent and comment script to standardize the source files. 2007-02-23 02:14:50 +00:00
skarg ada921d5f3 Added diagnostic debug to load control object for verification. 2007-02-22 22:25:11 +00:00
skarg f36425de09 Corrected effeciency of state machine in load control object. 2007-02-22 22:09:19 +00:00
skarg d387da80e6 adding unit test for load control state machine. 2007-02-14 17:31:02 +00:00
skarg b03a5416e6 Corrected warnings generated from the Visual C++ 6.0 compiler. Updated the Visual C++ 6.0 ports demo project. Updated the Borland C++ ports demo project. 2007-02-13 20:41:22 +00:00
skarg 714a3b094f removed unused local variables. 2007-02-13 19:49:14 +00:00
skarg dd5d19eb9f Finished the Load Control object integration with the Analog Output object. Added a timer hook for the Load Control object into the server demo application. 2007-02-13 19:37:57 +00:00
skarg de4067e195 Adding more functionality to load control object state machine. 2007-02-09 21:57:37 +00:00
skarg 36dc876231 Adding more functionality to load control object state machine. 2007-02-09 16:48:37 +00:00
skarg bfc82bd07d Changed array element 0 to be more clear in the code. 2007-02-08 21:57:47 +00:00
skarg fee2356d30 adding state machine for load control 2007-02-07 22:00:45 +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 f9f53c1ec6 Corrected two compiler warnings. 2007-02-02 01:30:14 +00:00
skarg fc3074b8fa Adding Load Control object state machine - not finished. 2007-01-23 21:44:29 +00:00
skarg 5aee2513fa Fixed errors in compile. 2007-01-19 21:59:38 +00:00
skarg 0a7102a79f Adding Load Control object state machine. 2007-01-19 21:52:43 +00:00
skarg cd01926295 Clean compile of initial load control object. 2007-01-19 19:46:33 +00:00
skarg 5dc9942e9c Finished coding the read/write property handling for load control object - untested. 2007-01-18 21:28:46 +00:00
skarg 176331270c Added more properties for the Load Control object. Adding write properties. 2007-01-15 21:57:29 +00:00
skarg 41fce1dcfb Adding Lighting Control object demo. - in progress. 2007-01-12 22:06:48 +00:00