Commit Graph

257 Commits

Author SHA1 Message Date
skarg 9e13bd0ebb converted COV to use new error, reject, abort method. 2010-09-11 19:24:20 +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 c9fd7c9c19 Corrected the set of Properties, and their associated text, per the final Addendum j. 2010-08-29 01:53:05 +00:00
tbrennan3 2f7a8224aa comment.sh did some strange compactions when there was a sequence of two comment blocks.
Restoring to tidiness here, for Doxygen's sake.
2010-08-20 16:33:54 +00:00
skarg f462e5d023 Updated prototypes and include as required and found by compile with extra checking. 2010-08-18 17:57:40 +00:00
skarg b769dcbe1d Indented. 2010-08-18 00:11:35 +00:00
skarg 1165f94cf5 Converted comments to C comments. 2010-08-18 00:10:12 +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 2f5c95b7a3 Added additional WhoIs for network device discovery. Thanks, David Campfield! 2010-08-17 14:03:52 +00:00
skarg 748c77dc93 Adding prototypes and include files where required. 2010-08-17 13:58:30 +00:00
skarg bc0de6b71f Cleaning up code by adding prototypes or include files where required. 2010-08-17 13:51:56 +00:00
skarg 50a6c60dff Added helper function. 2010-08-06 22:40:12 +00:00
skarg e268569c5c Moved some constants from MS/TP source file to common header. 2010-08-06 22:01:48 +00:00
skarg a194a7b585 Updated version for next release. 2010-07-27 11:12:44 +00:00
skarg 6c9ef7211d Fixed indent script, and indented files. 2010-07-19 23:19:54 +00:00
skarg f465fdb6f3 Updated version number. 2010-07-06 20:10:23 +00:00
skarg 0a468dbb5a Added recurring foreign device registration for server demo. 2010-07-02 12:20:51 +00:00
tbrennan3 79436d1ae0 Eliminate the build error in bacepics when PRINT_ENABLED = 0.
Still lots of warnings in bacepics, but I don't see an issue with that, for an application whose whole point is to print output.
2010-06-18 20:40:43 +00:00
skarg 987e28d515 Modified the ReadProperty, ReadPropertyMultiple, and WriteProperty demo applications to check source address and invoke ID on the returning acknowledge to prevent printing responses not intended for this client. 2010-06-15 14:58:27 +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
skarg ea250f422d Added some dynamic-ism to some properties of the demo Binary Input object. 2010-06-03 19:12:25 +00:00
skarg f4a7b19d91 Incremented BACnet Revision number to 10 due to the inclusion of the 2008 Addendum W objects. 2010-06-03 14:03:51 +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
skarg adee8fd74c Changed default state of PRINT_ENABLED to zero for embedded ports. 2010-05-22 12:47:34 +00:00
skarg db2e31b17b Added missing function prototype in device.h. Changed file license to MIT as it should have been. (per Bug #3004966). Thanks, Jim Bell! 2010-05-20 23:33:17 +00:00
skarg 0263f9dce8 Corrected const char for WhoHas/I-Have (bug ID: 3002190). Thank you, Jim Bell! 2010-05-15 22:16:59 +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 b1eb3fb9a0 New version number 0.5.6 2010-05-04 21:12:19 +00:00
skarg 710cfccfef Indented using indent script. 2010-05-04 21:06:26 +00:00
skarg 74be776295 Cleaned up C++ comments 2010-05-04 21:01:48 +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
tbrennan3 136c90f6c1 More simple doxygen tweaks. 2010-04-18 01:51:52 +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 1dc93c3a28 Added function rp_ack_fully_decode_service_request() to parse and return the same structure as RPM (but the list has just one property). Convenient when you want to switch hit between RP and RPM.
Put it in the handler/h_rp_a.c file since I wasn't sure if we wanted it in the stack src itself.
2010-04-15 20:48:06 +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 d78ce26067 Added support for non contiguous object arrays to the device object. This allows, for example, a single table of objects to be used for configuration of the device with the objects of a given type not required to be in a contiguous block. 2010-03-29 21:41:39 +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
petermcs d3207bf5e5 Added MAX_UNITS to help with range checking code. 2010-03-17 15:05:41 +00:00
tbrennan3 6a97eb5424 Added Doxygen Modules describing the Object Helper Functions (and how they're used) and the Handler-to-Objects interface functions of the Device Object.
Two small code corrections in device.c:
a) Fixed the return value of Device_Write_Property() so that a -1 value would also return False.
b) Fixed the string length checked when writing PROP_OBJECT_NAME for the Device object.
2010-03-14 04:34:52 +00:00
tbrennan3 47ff6200f1 Doxygenation of the main Alarm/Event and COV functions.
Also documented the main misc functions for handlers.
2010-03-12 03:30:31 +00:00
tbrennan3 776bf54278 Added partial documentation of DS-COV.
Dropped the Latex output from default doxyfile.
Added a convenience starting point for HTML output, the only format that has worked well for this project on doxygen.
2010-03-07 05:42:19 +00:00
skarg ea7c74dad2 Changed header defines for Units to be uint16_t since the maximum value allowed by BACnet is 65535. Thanks, Piotr! 2010-03-05 17:14:42 +00:00