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
skarg
80185c6a63
Changed lines marked with "dangerous cast" to use memcpy.
2010-11-06 01:27:11 +00:00
bacpack
d50eb7fef7
In bvlc.c, IP address and port number are always in the network byte order (including FD_Table[] and BBMD_Table[]).
...
The only left hton and ntoh functions are in debug_printf() and test functions.
2010-11-05 19:30:20 +00:00
bacpack
a639864cc8
In bip.c getter and setter functions of IP address and Port number expect and return values in the network byte order. All ntoh and hton were eliminated from bip.c.
...
All other modules changed to be consistent.
arm7 port left unchanged.
2010-11-04 13:30:26 +00:00
skarg
437112cc52
Reverted the BIG_ENDIAN additions as they are not needed since bacint is converting integers in an endian neutral manner.
2010-10-31 19:13:10 +00:00
bacpack
73415f4a5d
Modified to store and use IP addresses and the IP port number in the network byte order.
2010-10-29 17:29:01 +00:00
bacpack
79b86d3a8c
Corrected for ENDIANNESS.
2010-10-27 19:15:10 +00:00
bacpack
76260a994d
Fix receive BVLL Forwarded-NPDU message: the received source address is in network data format and it has to be stored in the same format.
...
Note: the encode_ and decode_ functions are broken; they ignore host's endianness.
2010-10-27 14:50:52 +00:00
skarg
feb44efb87
Corrected missing REAL len decoding. Thank you, Julien!
2010-10-25 11:44:08 +00:00
tbrennan3
a5f24fa19f
Tweaked the comments for better Doxygen output.
2010-10-13 19:00:57 +00:00
skarg
f934f8add8
Changed bacapp data len function to just decode the len without regard to the storage ability of the internal data structures.
2010-10-13 02:29:55 +00:00
skarg
86dbaf409b
Added handling for bacapp decode value returning error codes.
2010-10-12 03:02:05 +00:00
skarg
e9249b5b5e
Added test for a decoding problem where the stack is unable to decode something, and retrofitted into WriteProperty for each of the demo objects by returning an Error, Out of Range.
2010-10-12 01:17:50 +00:00
tbrennan3
9efd3465cf
Adding more support for Network Layer Message handling.
2010-10-07 20:56:09 +00:00
skarg
b54218939e
Added extra sub-state for MS/TP from Addendum 135-2008v. Tested with ports/bdk-atxx4-mstp/ code on the BACnet Development Kit. Clean compile on src/mstp.c, ports/at91sam7s and ports/atmega168, but untested. All other changes were not compiled or tested.
2010-10-07 15:52:45 +00:00
tbrennan3
d39d4fded3
More function documentation.
...
Defined a default Hop Count value, and used 15 instead of 255.
2010-09-29 20:29:12 +00:00
tbrennan3
e5f5dce995
Added some javadoc-type function comments.
...
Reduced the default hop count from way-big 255 to 15.
2010-09-28 21:05:38 +00:00
tbrennan3
44b7e02721
Tweaked the debug building and printing a little - I hope this works OK for everyone. Let me know if not.
...
Tamped down a few warnings.
For the demo/server Makefile, made an either/or choice between executable size optimization (normal) or gdb debug info and no optimization.
2010-09-27 20:27:29 +00:00
skarg
9569f2c536
Fixed EOL and performed standard indentation.
2010-09-16 22:00:47 +00:00
skarg
c8f4aac1b7
Cleaning up some code to make it more robust.
2010-09-16 14:49:33 +00:00
skarg
bb0c98a9c1
added MS/TP state skip data to MS/TP capture tool, and removed Lurking.
2010-09-12 16:08:31 +00:00
skarg
9e13bd0ebb
converted COV to use new error, reject, abort method.
2010-09-11 19:24:20 +00:00
skarg
e2314f0f5e
Fixed compiler warning (compiled with IAR)
2010-09-07 16:17:25 +00:00
skarg
50a8a3f2fb
Changed some plumbing for printing values to handle the case of a Present-Value enumerated property from a proprietary object type.
2010-09-02 13:16:27 +00:00
tbrennan3
a29bf3fecc
Cleanup ugliness and fix build in bactext.c
2010-08-30 13:10:13 +00:00
tbrennan3
c9fd7c9c19
Corrected the set of Properties, and their associated text, per the final Addendum j.
2010-08-29 01:53:05 +00:00
skarg
020afda890
Corrected unit test.
2010-08-18 00:19:29 +00:00
skarg
b769dcbe1d
Indented.
2010-08-18 00:11:35 +00:00