Commit Graph

268 Commits

Author SHA1 Message Date
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
petermcs 404eaa01d0 Removed spurious #define TEST and fixed up a couple of printfs. 2010-06-10 21:20:47 +00:00
petermcs 7b77fe776a Refactored rpm decoding to return proper reject/abort status for malformed requests.
Note: the test code in rpm.c has been changed to accommodate the changes made to the decoding functions but I have not tested the test code as I have not run the test suite.
2010-06-10 11:31:53 +00:00
petermcs 61bb34d726 2nd pass at changing the error/reject/abort status reporting to improve BTL test compliance. ReadProperty fully done for core and demo objects. Will tackle other services next. 2010-06-07 15:52:33 +00:00
petermcs f32e7bf1c0 Changes to error checking to report invalid requests via proper reject codes and not the blanket abort which was in place (will need to look at other service request decoders as well...) Should address question raised by Jérémy Delhomme. 2010-06-03 11:20:37 +00:00
tbrennan3 5c21bc2192 Added function bacapp_encode_datetime(), needed for new DateTime object's Present_Value. 2010-06-02 17:43:13 +00:00
tbrennan3 15f8e6741d Corrected the Object Names for 37 and 38 (and friendlier text now).
In bacepics, now counts errors and displays error count at the end (if any).
Always prints out the Device Address Binding as a '?' if it is Null.
2010-06-01 21:21:20 +00:00
tbrennan3 5964f49880 Added new ObjectTypes and Properties from Addendum 2008-w. 2010-05-27 18:33:48 +00:00
petermcs 4ef686d2ae fixed polarity of static check in address_cache_timer so that non static entries are aged correctly (bug id 3003518.). 2010-05-18 19:38:28 +00:00
petermcs 04e99f3671 Changes to reduce the number of warnings with Visual C++2008 warning level 4 to a minimum. 2010-05-14 14:21:48 +00:00
skarg 710cfccfef Indented using indent script. 2010-05-04 21:06:26 +00:00
brayra 37d048310c Added ability to set starting invoke id from environment variable BACNET_INVOKE_ID 2010-04-27 15:11:58 +00:00
skarg 9c667949cc Corrected filename (used in demo apps) when compiled with MinGW. 2010-04-23 18:08:56 +00:00
tbrennan3 fac19dff98 Made bacepics' output more correct for VTS3 EPICS parsing.
Put command line argument checking and usage printing into their own functions,
and added an optional argument to show values instead of '?' for properties like Present_Value.
Added screening of properties that should normally be replaced with '?' on output.
Added a few enums to bactext (Node_Type, Polarity).
2010-04-16 20:52:40 +00:00
tbrennan3 c5977b8933 Added some function documentation and a little more support for Structured Views. 2010-04-15 20:45:22 +00:00
tbrennan3 f9d900fdca Added structure for BACnetDeviceObjectReference, and ability to encode/decode it. 2010-04-08 19:26:27 +00:00
petermcs 30fef973de Reorganised the declarations and initialisers in apdu_service_supported_to_index() to separate the locals from the parameters. 2010-03-30 12:18:37 +00:00
tbrennan3 f92316649b Started a Doxygen module for DataLink layer, for the default DataLink templates and for BACnet/IP. 2010-03-24 03:41:39 +00:00
tbrennan3 5a99f0662c Commented the demo/server in a new module.
Embedded its PICS in the server documentation (hopefully a good idea).
Added a PrettyPrintPropertyValue() function to the epics program (hopefully OK format).
Added a function apdu_service_supported_to_index() to the apdu code to translate a SERVICE_SUPPORTED_ enum to its SERVICE_CONFIRMED_ or SERVICE_UNCONFIRMED_ index, and used it when PrettyPrinting services.
2010-03-23 04:55:11 +00:00
skarg 35f0a52d51 Exposed some useful functions in FIFO library. Updated Ringbuffer library to my latest. 2010-03-22 21:36:27 +00:00
skarg 85eaaa14b4 Cleaned up some comments. 2010-02-16 03:32:45 +00:00