skarg
f5bc326061
Merged duplicate and different BACnet Renitialized Device State enumerations.
2010-02-18 17:25:58 +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
skarg
cba6197fe3
Fixed compiler warnings.
2010-02-15 20:11:13 +00:00
petermcs
8f421b9bf6
Added multistate input to object list.
...
Added RR_Info function pointer to Object Table.
Refactored some of the Object Table iteration code.
2010-02-15 11:46:35 +00:00
skarg
5c439da7f2
Converted ports/at91sam7s to use demo handlers. Added RPM, WhoHas/I-Have.
2010-02-13 16:15:30 +00:00
skarg
6c1b5b7e68
Decoupled the demo handler from the demo object for ReinitializeDevice service.
2010-02-13 13:38:00 +00:00
skarg
bf0a6ab43d
Changed device object functions list to terminate with normal unsigned value so that embedded compilers that convert enums to unsigned will work correctly.
2010-02-11 04:28:33 +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
a7de276acc
Removed old code from Device_Set_System_Status() so status is only set when valid.
2010-02-08 09:56:17 +00:00
petermcs
a076bca5dc
Device_Set_System_Status() now does some range checking (also has local flag to allow internal and external sources have different levels of control.
...
Simplified write property code using new validation helper functions in h_wp.c. Added location, description and model name to the writable properties.
2010-02-03 22:45:07 +00:00
petermcs
f3806bb158
Fixed error class for NO_SPACE_TO_WRITE_PROPERTY when changing device name so it is for class RESOURCES.
...
Changed Database Revision to uint32_t and now increment it when device name or ID is written (will need to look at other objects to see if they have writable ID's or names).
2010-02-01 13:19:32 +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
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
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
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
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
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
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
89432a85c3
Applied standard indentation to files.
2008-01-08 23:13:51 +00:00
skarg
92f16a443f
Added casts to reduce compile warnings.
2007-12-11 22:47:23 +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
fc2d159833
Changed default device object id to 260xxx since 260 is the vendor ID of this BACnet stack.
2007-10-16 01:23:16 +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
b41f8709d8
Updated vendor name and ID to use the one specified in config.h or DEFINED.
2007-08-24 00:33:34 +00:00
skarg
f74d39558f
Added more configuration information to config.h, including the default Vendor Id. This BACnet Stack at SourceForge has been assigned Vendor Id 260 by ASHRAE. We can now release binary utilities and tools with our own Vendor ID!
2007-08-21 17:50:01 +00:00
skarg
1b9a00e238
Added version files.
2007-08-13 16:42:43 +00:00
skarg
f25766c185
Cleaned up device object and server demo for MS/TP properties and compiler warnings.
2007-07-20 00:42:49 +00:00
skarg
a2c12b4d12
Corrected required list to remove max-master and max-info-frames when MSTP is not the datalink layer. Added property encoding for max-master and max-info-frames.
2007-07-19 21:53:35 +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
a8555ef196
Integrating the ReadPropertyMultiple handler - not working yet.
2007-07-17 03:02:25 +00:00
skarg
b952a54966
Adding ReadPropertyMultiple handler (thank you to John Stachler for this contribution!). Untested and not finished integrating with the demos.
2007-07-17 00:21:31 +00:00
skarg
b3f0ef2d74
Added casts to remove warnings on IAR compiler.
2007-06-20 21:21:26 +00:00