Commit Graph

170 Commits

Author SHA1 Message Date
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 ea5c45b911 Updated time code changes to compile with Visual Studio Express 2008. 2010-01-22 15:07:21 +00:00
skarg d36c29ff08 "timezone" from time.h may be updated when localtime() is called, and therefore, the timezone value should only be used after the call to localtime() which is called in our Update_Current_Time() function. Thanks, Piotr! 2010-01-15 17:15:30 +00:00
skarg dfd37774e4 Updated Local Time and Date to show hundredths of seconds. Fixed Daylight_Savings_Status to get updated. Changed Local Time and Date to be static. Thanks Piotr! 2010-01-14 19:20:32 +00:00
petermcs 7c13ab6904 First version of Trend Log which will actually log real data. 2009-12-11 14:54:56 +00:00
petermcs 989ab7ffe7 Implemented ReadRange By Time for Trend Logs. 2009-12-07 12:15:15 +00:00
petermcs d63618d599 Implemented Trend Log ReadRange for "By Position" and "All" options.
Fixed some issues in the rest of the Trend Log code and the general ReadRange code..
2009-11-29 19:32:47 +00:00
petermcs 35ec69c307 Updates to the Trend Log object:
1. Added more of the required logic to the Trend Log write property handler.
2. Fixed some mistakes in the read property handler
3. TrendLog_Init now sets up data to allow for testing.
4. Enabled write property handling in main.c
2009-11-25 10:23:23 +00:00
petermcs 916067ec59 Added skeleton Trend Log object. Currently allows properties to be read and written but has little of the required logic for trending implemented yet. 2009-11-23 08:27:09 +00:00
skarg 2b519a5570 Cleaned up warnings and errors when compiled with Borland C++ and with GCC. 2009-11-19 16:05:22 +00:00
skarg 9c3f6f0c1c Corrected DeviceGetRRInfo by adding default case. Added Time/Date for demo device object. 2009-11-13 23:00:33 +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 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 d88d85b5cd Corrected Binary output and value in some demos that didn't return the priority array element correctly. 2009-10-07 22:14:31 +00:00
skarg 6b05ae39b8 Corrected the write of the Device object name for the demo object. 2009-10-07 16:35:50 +00:00
petermcs 17e2d7fc8d Started on refactoring of address caching.
1. Added support for building address binding list for device object
2. Changed table traversal code to use pointers instead of array indexes as this produces much more efficient code on many smaller processors where multiplication is expensive
3. fixed issue where binding requests can be overwritten by first I AM that comes along.
4. Converted multiple state variables in cache entries to single flag bitmap.
2009-10-01 08:14:28 +00:00
skarg ab1db5296e Added COV Subscriptions to the RPM lists. 2009-09-11 23:13:20 +00:00
skarg ce2d1a7a0d Changed multi-state input module name to not conflict with Windows Installer msi.h file. 2009-09-10 21:03:15 +00:00
skarg 2ee60ea8b3 Enhanced the object API with optional functions. 2009-08-29 20:26:32 +00:00
skarg 3de2b92216 Changed device object to conform to other objects RP/RPM/WP service API. Added MSI object. 2009-08-24 13:38:53 +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 db61a1122f Ran indent script. 2009-07-29 18:06:33 +00:00
skarg 82a03d948b Corrected present_value priority array offset for binary output examples. 2009-07-20 22:15:08 +00:00
skarg 2a7197f93d Corrected present_value set call parameter order. Thank you, Peter! 2009-07-15 18:44:55 +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 6903310da9 Added set function for AV Present Value (similar to ao.c). 2009-06-05 19:33:31 +00:00
skarg 0c4edb33d9 Fixed up file indent, comments, and eol-type. 2009-05-13 03:46:02 +00:00
skarg b194e2cd70 SourceForge.net bug ID: 2785704. Added case in demo device object to return the Location property. Corrected comment and value of UTC Offset. Thank you piotrek ( bacpack )! 2009-05-03 11:55:50 +00:00
skarg 0d9aafe92d Removed Description property from ReadPropertyMultiple table for Required since it is an optional property. SourceForge.net bug ID: 2782191. Thank you piotrek ( bacpack )! 2009-04-27 15:45:07 +00:00
skarg 2497c19aaa Corrected Analog Output demo object priority parameter consistency. Thank you piotrek ( bacpack )! Sourceforge.net bug ID: 2782204. 2009-04-27 15:42:50 +00:00
skarg 6da080105d Cleaned up Borland compiler warnings. 2009-04-19 20:05:06 +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 d1a1c1c8a6 Indented. 2008-11-24 12:48:09 +00:00
skarg 1dad528da8 Added optional active/inactive text properties to Binary Output object. 2008-10-13 19:00:25 +00:00
skarg 0ffbb64c13 Indented with standard indent rules. 2008-08-23 12:38:26 +00:00
skarg 9c316a65dc Moved APDU Timeout and Retries to apdu module. 2008-08-17 02:12:58 +00:00
skarg fb453ae1aa Corrected bug in ATmega168 demo in the RS-485 driver. Also updated the IAR project for Embedded workbench 5.10. Stats:
IAR Atmel AVR C/C++ Compiler V5.10A/W32 
10191 bytes of CODE memory (+36 range fill) 
  775 bytes of DATA memory (+24 absolute) 

avr-gcc (GCC) 4.2.2 (WinAVR 20071221rc1)
Program:   12052 bytes (73.6% Full)
Data:        481 bytes (47.0% Full)
2008-03-19 20:21:44 +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 a413b92afd Added COV subscription list to Device object. Untested. 2008-01-16 21:35:26 +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 92f16a443f Added casts to reduce compile warnings. 2007-12-11 22:47:23 +00:00
skarg 32457a68c0 Indented. 2007-12-07 20:15:56 +00:00
skarg 64e9b54dbd Adding a DOS port to run on x86 single board computer. 2007-12-06 22:31:14 +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