Commit Graph

610 Commits

Author SHA1 Message Date
skarg 2cac9ba528 Corrected printing of array properties. 2010-10-21 20:14:07 +00:00
tbrennan3 e77f12d261 Yes, these should be deleted now that the code is moved into the regular library area. 2010-10-21 18:19:58 +00:00
tbrennan3 a5f24fa19f Tweaked the comments for better Doxygen output. 2010-10-13 19:00:57 +00:00
tbrennan3 48411b8dbf Routing functionality complete, and working. (Have not done extensive testing, though.)
For building, made it possible to include or exclude the routing functionality with simple changes in the main Makefile and enables in lib/Makefile and include/config.h
The Device object (device.c and .h) was extended to support the virtually routed Devices, with most of the new functions in new file gw_device.c to replace their simpler cousins in device.c.
2010-10-13 15:59:39 +00:00
skarg 2c3e03256d Added missing initialization for PFM count. 2010-10-13 00:06:07 +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 9058fc7f3a Finished up the Network Layer Message handling (I hope).
Simplified the Router Table encoding (just based on DNETs).
2010-10-08 02:50:14 +00:00
tbrennan3 478d7aeb41 Working out the sending of Network Layer Messages; trying to refactor the actual sending routines to just one since the beginning, end, and error handling are the same for all types - just the payload is different.
For many, need to know what our managed downstream BACnet Network list is, so added that argument.
2010-10-07 21:00:46 +00:00
skarg 23eecbc100 Added more informative error message. 2010-10-06 18:49:52 +00:00
tbrennan3 cf0f01c5a1 Adding a gateway project to demonstrate routing to a virtual network.
The work is not complete yet; this is an interim checkin.  Ultimately the device.c file will be merged with the regular one or the deltas will be separated into some other file.
2010-09-29 21:04:00 +00:00
tbrennan3 9f4b8e5f19 Adding a handler for routed NPDUs (ie, Network Layer Message handling).
The work is not complete yet; this is an interim checkin.
2010-09-29 20:52:51 +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
tbrennan3 5e5f38cb06 My gcc complained about a conflict with the function of the same name as the array, Binary_Output_Out_Of_Service. This fix lets it build. 2010-09-22 02:16:22 +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 5524cab7cd Corrected MS/TP capture statistics after converversion of FSM. 2010-09-13 14:08:28 +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 914a063681 removed kludge by adding initializer 2010-09-11 19:23:08 +00:00
skarg a74e282f93 Updated some documentation about Environment Variables. 2010-09-10 18:27:58 +00:00
skarg 7928d7cb6c Fixed compiler error (after adding a change for IAR compile). 2010-09-07 18:18:30 +00:00
skarg 4105d22b4b Fixing compiler warnings (compiled with IAR and configured for no printing) 2010-09-07 16:16:15 +00:00
cneilson 3f3af6a072 Moved variable definitions to top of functions (variables can, only be defined partway thru in C++ not C) 2010-09-03 16:48:24 +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
brayra 81bc038abd Change Network Layer message to print to stderr 2010-08-27 22:00:46 +00:00
skarg 0dcc38b020 Corrected errant APDU timeout in epics demo. 2010-08-26 14:23:00 +00:00
tbrennan3 968687b4f4 For epics creation, if not showing the actual values, replace Present_Value and Priority_Array values with a single question mark, just as VTS3 wants it. (Ie, print "?" and not "{?, ?}" ).
Various small fixes to remove warnings and make assertion statements more meaningful when they are tripped.
2010-08-24 20:04:43 +00:00
skarg 298038c0d8 Corrected compile error. 2010-08-20 21:56:18 +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 2f5c95b7a3 Added additional WhoIs for network device discovery. Thanks, David Campfield! 2010-08-17 14:03:52 +00:00
skarg bc0de6b71f Cleaning up code by adding prototypes or include files where required. 2010-08-17 13:51:56 +00:00
skarg 83a3f08dad Fixed compiler warnings. 2010-08-06 22:21:29 +00:00
skarg 6c9ef7211d Fixed indent script, and indented files. 2010-07-19 23:19:54 +00:00
skarg 6450255be6 Corrected reading of ALL to not read with array index 0. 2010-07-16 16:10:28 +00:00
skarg e5481b4bb5 Fixed error code when array option is passed to special properties ALL, OPTIONAL, REQUIRED. 2010-07-16 14:48:52 +00:00
skarg 7852309f7e Added error code when array option is passed to special properties ALL, OPTIONAL, REQUIRED. 2010-07-16 14:34:15 +00:00
skarg 0b5efa5be5 Changed -L=lib to -Llib in all GNU Make makefiles since it was wrong and causing problems on cross compilers. Thank you, Magno! 2010-07-14 12:55:37 +00:00
skarg 0a468dbb5a Added recurring foreign device registration for server demo. 2010-07-02 12:20:51 +00:00
skarg 0dff7c85eb Improved reporting in demo WhoIs and mstpcap. 2010-07-01 16:36:05 +00:00
skarg 8a96963e8b Removed deprecated property. 2010-06-26 03:53:17 +00:00
skarg d088bc354c Removed usage of key (analog input 0 is key=0) to determine end of object list. 2010-06-26 03:51:23 +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 702da8e212 Fixed up comparison size issue in write property handling for PROP_LOG_DEVICE_OBJECT_PROPERTY. Was only checking first 4 bytes instead of the full structure. 2010-06-13 10:35:12 +00:00
petermcs 404eaa01d0 Removed spurious #define TEST and fixed up a couple of printfs. 2010-06-10 21:20:47 +00:00