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
skarg
8dc12fcd98
Corrected a minor issue in the bacapp.c file on the PC side when printing strings with garbage characters with the 8th bit set. The code passed a signed char to the isprint() function which gets sign extended to an int and then caused an assert in the Microsoft library code (Visual C++ Express 2008). Thank you, Peter!
2009-06-17 23:22:48 +00:00
skarg
7032168ff5
Ran the fixup, indent, and comment scripts to standardize the source code.
2009-05-24 01:49:21 +00:00
minack
8e670ef3f9
Changes:
...
Added codecs/demo handler/demo client for Alarm Ack service.
Updated relevant global header files client.h and handlers.h
Fixed up incorrect return val for lso handler.
2009-05-23 03:16:28 +00:00
skarg
0c4edb33d9
Fixed up file indent, comments, and eol-type.
2009-05-13 03:46:02 +00:00
skarg
83392d0a4d
Corrected SourceForge.net bug ID: 2783175. Changed the way that Time and Date unspecified values were printed in bacapp. Thank you piotrek ( bacpack )!
2009-05-03 11:34:50 +00:00
skarg
b85c4355d0
Indented according to standard indent rules for this project.
2009-04-18 20:50:04 +00:00
skarg
b3fab21603
Changed C++ comments to C comments.
2009-04-18 20:48:48 +00:00
skarg
6656304d37
Fixed up dos eol and svn eol type.
2009-04-18 20:48:08 +00:00
skarg
ebdf8f9e22
Corrected bug introduced when splinting.
2009-04-18 20:46:59 +00:00
skarg
c17962107c
Corrected warnings found by splint.
2009-04-18 17:54:39 +00:00
skarg
9051a80e30
Corrected warnings found in splint review. Cleaned up previous use of datalink in core files.
2009-04-18 15:29:47 +00:00
skarg
4530915459
Moved send_uevent to demo/handler/s_uevent.c. Cleaned up event.c after splint review.
2009-04-18 15:28:35 +00:00
skarg
51845ed4fd
Corrected warnings generated from splint.
2009-04-18 13:48:15 +00:00