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
petermcs
10b5854d75
corrected assignment within conditional error in Private Transfer error handling changes
2009-09-06 07:37:52 +00:00
petermcs
8d80d25322
Added sample Confirmed Private Transfer implementation files and demo for same.
2009-09-04 11:25:47 +00:00
skarg
270ee2aec2
Added new method for getting index from text for units.
2009-09-03 15:23:26 +00:00
minack
260438935b
Changes to remove restrictions on context tags being less than or equal to 14.
2009-09-03 01:25:28 +00:00
skarg
8934371821
Added function declarations for functions inside (stricmp) and added object name reverse lookup.
2009-08-25 04:11:29 +00:00
skarg
2417a843d2
updated comment in init.
2009-08-19 20:29:23 +00:00
kingdl802
fae41b3524
Use shifts and masking to place the length in the MSTP header. Add comments for the length and for the CRC16 to make the byte order clear.
2009-08-19 14:17:23 +00:00
minack
a854000370
Clean up comments for bac_str init functions.
2009-08-10 23:02:31 +00:00
minack
a944510441
Fixed up bug with encode_application_double function.
...
Added new bacapp_decode_application_data_safe function and other *_safe functions that aim to prevent buffer overruns if encoded application message is malformed.
Note: bacstr unit tests currently have one failure.
2009-08-10 00:06:56 +00:00
minack
d088e19ed2
Added bitstring_same function to compare two bit strings.
2009-08-09 23:37:46 +00:00
minack
d5b455c742
Move the string type max length definition into the config header so that the user can set them independently of MAX_APDU.
...
Also, added new define MAX_OCTET_STRING_BYTES.
2009-08-06 07:11:31 +00:00
skarg
db61a1122f
Ran indent script.
2009-07-29 18:06:33 +00:00
skarg
f85519c9e1
Corrected unit test for src/event.c.
2009-07-24 20:49:05 +00:00
skarg
5e62b7627a
Corrected splint warning.
2009-07-24 16:16:54 +00:00
skarg
d9fea88227
Removed the unused state of MSTP_RECEIVE_STATE_HEADER_CRC. Hopefully this doesn't break too many implementations!
2009-07-17 15:41:37 +00:00
skarg
a32af783cb
Moved the MS/TP defines into mstpdef.h file.
2009-07-17 15:15:46 +00:00
minack
88f3aab51d
Code cleanup to get rid of some warnings during compilation.
2009-07-08 22:25:54 +00:00