tbrennan3
fac19dff98
Made bacepics' output more correct for VTS3 EPICS parsing.
...
Put command line argument checking and usage printing into their own functions,
and added an optional argument to show values instead of '?' for properties like Present_Value.
Added screening of properties that should normally be replaced with '?' on output.
Added a few enums to bactext (Node_Type, Polarity).
2010-04-16 20:52:40 +00:00
tbrennan3
c5977b8933
Added some function documentation and a little more support for Structured Views.
2010-04-15 20:45:22 +00:00
tbrennan3
f9d900fdca
Added structure for BACnetDeviceObjectReference, and ability to encode/decode it.
2010-04-08 19:26:27 +00:00
petermcs
30fef973de
Reorganised the declarations and initialisers in apdu_service_supported_to_index() to separate the locals from the parameters.
2010-03-30 12:18:37 +00:00
tbrennan3
f92316649b
Started a Doxygen module for DataLink layer, for the default DataLink templates and for BACnet/IP.
2010-03-24 03:41:39 +00:00
tbrennan3
5a99f0662c
Commented the demo/server in a new module.
...
Embedded its PICS in the server documentation (hopefully a good idea).
Added a PrettyPrintPropertyValue() function to the epics program (hopefully OK format).
Added a function apdu_service_supported_to_index() to the apdu code to translate a SERVICE_SUPPORTED_ enum to its SERVICE_CONFIRMED_ or SERVICE_UNCONFIRMED_ index, and used it when PrettyPrinting services.
2010-03-23 04:55:11 +00:00
skarg
35f0a52d51
Exposed some useful functions in FIFO library. Updated Ringbuffer library to my latest.
2010-03-22 21:36:27 +00:00
skarg
85eaaa14b4
Cleaned up some comments.
2010-02-16 03:32:45 +00:00
skarg
ccb5323721
Fixed Borland compiler warnings and errors.
2010-02-15 20:20:11 +00:00
tbrennan3
422b273a52
Removing because src/dlmstp.c is redundant with the better-positioned ports/win32/dlmstp.c.
2010-02-15 18:52:43 +00:00
petermcs
ecb1f2064f
Folded error class and code into BACNET_READ_RANGE_DATA structure.
2010-02-15 11:41:23 +00:00
tbrennan3
cc20f225b9
The beginning of doxygenation:
...
As a first step, added an @file description for each file.
2010-02-14 05:29:43 +00:00
skarg
f10629260e
cleaned up compile errors.
2010-02-11 17:16:21 +00:00
skarg
63d7a8018d
Changed value of MAX OBJECT type to be consistent with other MAX values, and fixed places that relied on this value (most had a hack in place).
2010-02-11 04:30:20 +00:00
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
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
dc2a432a65
Added alloc to ringbuf module.
2009-12-18 04:20:44 +00:00
skarg
11e1c80e38
Corrected private transfer encoding.
2009-12-15 21:51:57 +00:00
skarg
a4a2b09e50
Performed splint on file and corrected warnings.
2009-12-09 03:39:24 +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
skarg
52294d1dce
Added fixes for Alarms and Events. Thank you Sebastien!
2009-11-29 18:47:05 +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
petermcs
2bb6ecfb3a
Made device id optional when encoding to match spec for trend logs
2009-11-23 08:17:49 +00:00
skarg
1d9fed6bc6
Removed or #if code that was not embedded friendly when building without an OS.
2009-11-19 16:06:18 +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
petermcs
5b746d3016
Corrected: PROP_LOG_DEVICE_OBJECT should be PROP_LOG_DEVICE_OBJECT_PROPERTY to match the spec terminology
2009-11-17 10:42:23 +00:00
petermcs
628f90b0ca
Corrected: Property type 173 was called last-notify-time it should be last-notify-record.
...
Added: Enums for BACnet Log Status
2009-11-16 23:37:43 +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
eb370fa972
Changed RetryCount in TSM to count up, which matches the BACnet spec language, and removes the bug when APDU Retries is 0.
2009-11-10 12:03:34 +00:00
skarg
b95b01772d
Ran SPLINT (secure programming LINT) and fixed warnings.
2009-11-10 03:41:22 +00:00
skarg
2c2fbdeeef
Clarified some comments.
2009-11-03 20:15:49 +00:00
skarg
3626b302c8
corrected to pass unit testing
2009-10-24 18:13:59 +00:00
skarg
c04e69da8c
Fixed EOL, indent.
2009-10-24 17:02:59 +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
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
a790c053d2
Added GetEventInformation service, handler, unit test.
2009-10-12 04:44:25 +00:00
skarg
b7f9f83667
Added reverse lookup for Binary Present Value.
2009-10-11 00:35:46 +00:00
skarg
5b60c94fad
Refactored timestamp for use in Alarm properties in objects.
2009-10-10 21:48:13 +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
cd2c001d66
Corrected BLVC for BDT Ack.
2009-09-29 13:21:19 +00:00
skarg
d0dd6127a2
Changed BDT create to correct host/network order of bytes.
2009-09-28 22:52:28 +00:00
skarg
b9367b7bde
Corrected FDT Ack.
2009-09-28 22:34:11 +00:00
skarg
8d0e5d28f9
Added method to reverse lookup property name index.
2009-09-28 15:40:49 +00:00
petermcs
e8d91faaac
Added encoding and decoding for ReadRange service, associated handlers and test application.
2009-09-25 21:56:49 +00:00
skarg
69fad0502a
Changed MS/TP idle state: when no-token timeout occurs, clear the receive frame flags in case a message was received and timeout occurred, which may cause MS/TP to stop working in optimized dlmstp loops which don't check for new events when either of those flags are set. Thank you, Jason!
2009-09-17 03:38:20 +00:00
skarg
bc01893af4
Added enumerations and text for notification class object support.
2009-09-14 10:58:19 +00:00