skarg
043b840d82
Removed extra word to fix compiler error.
2011-10-03 13:50:26 +00:00
petermcs
fe7af042b9
Array index is now unsigned so > 0 test will not work. Use explicit check for BACNET_ARRAY_ALL instead.
2011-10-02 20:19:07 +00:00
tbrennan3
7eb2109dc4
Added the ability to ask for the BVLC Function Code in the lower layers; particular need was to recognize bcasts and not respond with Reject-Message-to-Network.
2011-09-30 20:00:48 +00:00
tbrennan3
3c9f0c9298
Had an issue where Original_Broadcast requests were not responded to with Original_Broadcast packets; this is a fix for that.
2011-09-19 15:20:26 +00:00
tbrennan3
24bea2eb82
Handle the case where Device ID is BACNET_MAX_INSTANCE: for RP and RPM, put the real device ID in the response.
2011-09-19 13:06:55 +00:00
tbrennan3
7b3a6b3465
Missed a NAK case; got it now!
2011-09-18 19:49:14 +00:00
tbrennan3
9d9c1eedaf
More compliant DCC Disable or Disable_Initiation: if no time argument is given, take it as indefinite (a large number) rather than 0.
2011-09-18 17:13:04 +00:00
skarg
120c2734ee
Added ascii-hex conversion in the octet-string library to allow ascii-hex to be parsed correctly from demo applications.
2011-09-17 04:21:32 +00:00
tbrennan3
ce7e651156
Provided a feedback path, so we can find out if our foreign device registration has been NAK'd.
2011-09-12 21:21:39 +00:00
tbrennan3
364293b075
Added NAK functionality for BBMD commands when not supported.
...
Also record any BVLL Result returned to us (eg, for foreign device registration).
2011-09-12 20:52:42 +00:00
tbrennan3
46d7daf405
Arranged the BBMD functions so that BBMD_ENABLE shrouds all the code used just by implementations which serve as a BBMD device.
...
Left the few for registering as a foreign device in the common code body (no #ifdef around them), and moved them to one area toward the end of the file. (Seemed like too few to justify having their own source code file.) Allow foreign device registration function without requiring BBMD_ENABLE.
2011-09-12 11:54:42 +00:00
skarg
3e134011a1
Splinted the code, and fixed the errors.
2011-08-24 23:29:53 +00:00
skarg
58691c16d6
Changed the Treply_delay wait to be smaller when the next message in the queue is does not match.
2011-08-24 12:48:33 +00:00
skarg
26b5fdd3d0
Returned Tusage_delay to the MS/TP state machines to fix excessive Reply-Posponed messages when received packet is decoupled from immediate handling. Some BACnet routers do not handle Reply-Postponed correctly and drop the subsequent valid reply.
...
Added Slave Node FSM to linux/win32 MS/TP layer.
Added PDU queue to Linux MS/TP datalink layer.
2011-08-24 12:33:20 +00:00
k001a
c40b355694
Handling of GetAlarmSummary service.
2011-08-23 21:22:06 +00:00
skarg
f19f2c29d9
Converted all the BACnet-array-index variables from int32 to uint32 as they were intended.
2011-08-23 20:11:42 +00:00
tbrennan3
a92160f73d
Revised BBMD registration functions to return something approximating a goodness value. (Still too happy for invalid BBMDs, but it's a start.)
...
Fixed handling of bacapp_decode_context_data() for some of the more unusual (empty, etc) cases I've seen.
2011-08-22 19:45:41 +00:00
skarg
9da1ab453a
Added some encoding functions for WPM. Thank you, Nikola Jelic!
2011-08-19 17:21:39 +00:00
skarg
61f0a0211d
Splinted files and corrected splint errors.
2011-08-17 03:59:31 +00:00
skarg
8d9b987064
Corrected unit tests for iam, event, ai, and bacdevobjpropref. Removed device from unit test since it needs reworked for unit testing due to object dependencies. Noted that lc object fails test and needs fixed.
2011-08-17 03:47:43 +00:00
skarg
3e1cb1847f
Indented project.
2011-08-17 02:27:11 +00:00
k001a
7ccbb406b4
WritePropertyMultiple: if an attempt is made to write to a commandable property without specifying the priority then the writing is at the lowest priority (number 16).
2011-08-15 09:35:14 +00:00
k001a
c61c096dc7
Intrinsic reporting for analog-input objects.
...
Print on output details of WritePropertyMultiple.
2011-07-11 21:29:51 +00:00
skarg
ff393a665a
Fixing DOS/Unix/MAC EOL and line endings using fixup.sh script.
2011-07-09 17:25:42 +00:00
skarg
51c6134e15
Converted comments to C style using convert.sh script.
2011-07-09 17:23:41 +00:00
skarg
97e70a55b7
Changed Hop Count NPDU encoding to encode the actual hop count, not one less.
2011-07-07 20:53:27 +00:00
skarg
ad27b84949
Changed Hop Count default to 255. BTL NPDU tests expect Hop Count to start at 255. Added ability of Hop Count default to be overridden in Makefile or project file if you need to make it smaller in your implementation.
2011-07-07 16:43:43 +00:00
k001a
ccf1335979
Added Notification Class object. I will use it to intrinsic reporting.
...
Notification Class objects can be disabled when define INTRINSIC_REPORTING (bacdef.h) will be removed.
2011-06-17 16:23:47 +00:00
k001a
52c745cd06
Removed encode_tagged_enumerated function, because it was identical like encode_application_enumerated (I didn't see this before).
2011-06-14 21:25:32 +00:00
k001a
a16a8f041b
- Added handling to WritePropertyMultiple.
...
- Added encode_tagged_enumerated function.
2011-06-08 21:51:15 +00:00
skarg
e83b4e2bb8
Updated Reliability text to include the latest enumerations (fixed).
2011-04-07 19:45:51 +00:00
skarg
bd2eda9a74
Updated Reliability text to include the latest enumerations.
2011-04-07 17:03:54 +00:00
skarg
deab12a5e1
Changed WhoHas and I-Have to use CharacterString instead of forcing ANSI X34 and C Strings. Affected all demos and ports object name, so I changed the object name function name to make sure it was noticed.
2011-03-24 16:53:02 +00:00
skarg
5f21d866f6
Changed MS/TP where the timing resolution is not met and the No Token time slot is missed. It will generate a token after the Max-Master time slot is passed, or it will see an event while waiting patiently and return to Idle.
2011-02-17 16:39:09 +00:00
skarg
694d56ba1f
Fixed APDU handler again after discussion on BACNet-L showed the errors of my ways regarding the DeviceCommunicationControl limiting processing of APDUs.
2011-01-28 03:04:09 +00:00
skarg
3f22c7e5ff
Increased the default values for Tusage_timeout and Treply_timeout for testing on Linux.
2011-01-18 19:45:52 +00:00
skarg
624de45fc8
Cleaned up compiler warnings when compiled with Win32 MS/TP datalink.
2011-01-14 15:23:03 +00:00
skarg
9492b49c15
Added test to wrap head and tail of ringbuffer to silence naysayers.
2011-01-08 13:16:03 +00:00
skarg
2f5d6fbaa1
Updated unit tests for objects and services, and corrected some portability problems. Thanks, Sergei! Didn't fix mstp or load control unit test results.
2010-12-27 00:04:38 +00:00
skarg
c13c5f9c7b
Corrected non-portable constructs. Thank you, Sergei!
2010-12-24 02:50:15 +00:00
skarg
4fa4a79b6c
Changed testBitstring to use the bitstring library compare function.
2010-12-24 02:39:21 +00:00
skarg
db686a4984
Corrected ReadPropertyAck unit test found on Big Endian architecture. Thank you,Sergei!
2010-12-23 15:11:23 +00:00
skarg
1c560c27b9
Refactored the DCC code in APDU for clarity. Added DCC check in demo server to prevend COV when DCC is not enabled.
2010-12-22 03:09:42 +00:00
skarg
350736f6bb
Corrected DeviceCommunicationControl (DCC) for DISABLE_INITIATION state, which now allows I-Am in response to Who-Is. Did not add keep out for other initiated services like COV (to do).
2010-12-18 17:30:58 +00:00
skarg
2a0bf4926a
Performed standard indent script indent.sh on project files.
2010-12-15 19:02:40 +00:00
skarg
706e0221b6
Changed the client functions to be defined only when BBMD_CLIENT_ENABLED=1, which cleaned up the warnings.
2010-12-15 18:51:03 +00:00
skarg
20ca252a8d
Fixed compiler warning messages.
2010-12-12 05:42:42 +00:00
skarg
e850469da8
Added character string helper to test for printable. Added to WP checks.
2010-12-02 19:33:22 +00:00
skarg
8041006068
Corrected splint warning.
2010-11-28 21:04:53 +00:00
petermcs
b87f53c4b4
Only add in src field if it has a non zero address length
2010-11-17 23:11:32 +00:00