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
skarg
a23d75689d
Correcting prototypes and includes.
2010-08-18 00:01:32 +00:00
skarg
3c9c3c2d56
Updated prototypes and include as required and found by compile with extra checking. Thanks to Nigel Jones for his "setting a bad example" article.
2010-08-17 19:43:59 +00:00
skarg
b6f95a6b81
Updated prototypes and include as required and found by compile with extra checking.
2010-08-17 18:02:18 +00:00
skarg
bc0de6b71f
Cleaning up code by adding prototypes or include files where required.
2010-08-17 13:51:56 +00:00
skarg
e268569c5c
Moved some constants from MS/TP source file to common header.
2010-08-06 22:01:48 +00:00
skarg
2814084093
Splinted the core source files.
2010-07-20 02:37:13 +00:00
skarg
6c9ef7211d
Fixed indent script, and indented files.
2010-07-19 23:19:54 +00:00
skarg
a639989a3a
Removed trailing spaces.
2010-06-28 00:51:13 +00:00
skarg
99ec130371
Reverted the 135-2008v MS/TP changes, since they were not done correctly.
2010-06-28 00:45:27 +00:00
skarg
6f9ba36967
Added extra sub-state for MS/TP from Addendum 135-2008v.
2010-06-26 03:55:20 +00:00
skarg
805717179a
Changed convert function to fix a couple of problems and make the code clear.
2010-06-12 23:04:10 +00:00