skarg
e4080f41da
Corrected some warnings generated from Borland compile.
2010-02-10 17:43:11 +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
634237cf43
Simplified write property code using new validation helper functions in h_wp.c.
2010-02-04 16:22:12 +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
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
9b19207fd1
Added some argument validation helper functions to simplify write property code in the objects.
2010-02-03 22:37:43 +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
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
0b76dd08c9
Changed debug print to properly identify service as RPM and not RP
2010-01-25 10:36:37 +00:00
petermcs
c8d56cb6d3
Error class for password fail changed from SERVICES to SECURITY to conform to standard.
2010-01-22 15:32:00 +00:00
petermcs
ea5c45b911
Updated time code changes to compile with Visual Studio Express 2008.
2010-01-22 15:07:21 +00:00
petermcs
a724293088
Modified to check password in the same fashion as h_dcc. This saves on having a static BACnet string which frees up 1.5KB.
2010-01-21 21:56:33 +00:00
petermcs
45c631b133
Fixed up error return so that we report not having a particular instance of an object differently to not supporting that object type at all.
2010-01-21 21:51:20 +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
ba795a3d2e
Moved key.c and keylist.c into library for better management. Thanks Piotr!
2010-01-13 18:06:42 +00:00
skarg
d5e0ac54d5
Changed MS/TP capture to capture beyond 65535 packets when sending to a named pipe.
2010-01-12 20:05:50 +00:00
skarg
e42abbf74b
Corrected RPM and RP in ports projects to handle MAX APDU Accepted.
2010-01-11 04:39:22 +00:00
skarg
468bad5d1b
Enhanced example to show multiple properties in UCOV handler.
2010-01-11 04:35:25 +00:00
skarg
9aa653c83e
Change RP and RPM demos to send an Abort if the APDU length is longer than max-APDU-length-accepted. Thank you, Carlos!
2010-01-08 22:37:24 +00:00
skarg
07a0a88606
Added demo send for SubscribeCOV - untested, but compiles clean.
2010-01-06 11:41:48 +00:00
skarg
e36e38cbe6
Added BIP_DEBUG configuration.
2009-12-31 15:35:37 +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
7ba1625924
Corrected compiler warning.
2009-11-10 03:14:05 +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
788b6905d7
Corrected GetEventInfo to return correctly formed chunks and not invoke assert.
2009-11-02 20:12:26 +00:00
skarg
55d96cdfad
made the RPM encoder static since it uses a static local buffer, and was a problem if RPM tries to encode a group object using this RPM encoder.
2009-11-02 12:16:03 +00:00
skarg
d6c4b11854
Corrected spacing on WhoIs demo output.
2009-10-28 21:07:53 +00:00
skarg
104aa6a4ef
Corrected compiler warnings.
2009-10-24 17:53:25 +00:00
skarg
c04e69da8c
Fixed EOL, indent.
2009-10-24 17:02:59 +00:00
skarg
857d0c185d
Added named pipe to linux port of mstpcap.
2009-10-24 16:24:33 +00:00
skarg
2917c9abf0
Converted C++ comments to C comments
2009-10-24 15:49:00 +00:00
skarg
d8b6557641
Added UnconfirmedPrivateTransfer client send function.
2009-10-20 21:48:38 +00:00
skarg
af30d31a6c
Added UnconfirmedPrivateTransfer encoding and demo handler.
2009-10-20 17:26:06 +00:00
petermcs
694abdeb4e
Second phase of address cache refactoring:
...
1. Added time to live functionality
2. Added option of partial cache init on reset to reduce traffic for controllers that can preserve RAM over power cycle/reset.
3. Can now put new entries in the cache even if it is full - entry nearest to expiry is dropped to make room.
2009-10-16 19:27:35 +00:00
skarg
e10e1f2614
Fixed compile for Linux.
2009-10-16 14:11:58 +00:00
skarg
a7c598306b
Changed the object type print to be as defined in EPICS.
...
Changed property names to show "proprietary #" when in proprietary range.
2009-10-15 04:06:19 +00:00
skarg
deba2aab3e
Added a Named Pipe to MS/TP Capture utility so that Wireshark can capture MS/TP packets in realtime using the named pipe as the interface name. Thank you Lori!
2009-10-14 21:15:10 +00:00
skarg
8130a50817
Enhanced a debug print statement.
2009-10-12 18:25:38 +00:00
skarg
f82a844952
Changed the GetEventInfo handler somewhat to make it easier on data storage.
2009-10-12 05:27:08 +00:00
skarg
a790c053d2
Added GetEventInformation service, handler, unit test.
2009-10-12 04:44:25 +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