Commit Graph

1651 Commits

Author SHA1 Message Date
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
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
skarg 70381c8b84 Updated BACnet protocol revision constants. 2010-06-14 15:56:29 +00:00
bitstest 06f872c92d Added Microsoft Visual Studio 2010 solution and projects for BACnet Server and BACnet Who-Is demos. 2010-06-14 00:17:13 +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
skarg 8bb844de36 Updated demo objects in ports to use new named constants for error return values. 2010-06-12 23:24:01 +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
skarg b780c7bea6 Added NDEBUG as control for watchdog timer enable. Yes, I know NDEBUG is a debated topic, but I think it fits the use case. 2010-06-03 19:28:29 +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
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
skarg a2a37d9385 Updated compatibility file. 2010-06-02 13:48:04 +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
skarg 44da26484d Fixed EEPROM macro. Added Max_Master get/save from EEPROM. 2010-06-01 19:58:52 +00:00
skarg ed40541c36 Corrected EOL (and EOL fixup script) 2010-06-01 19:43:15 +00:00
tbrennan3 5964f49880 Added new ObjectTypes and Properties from Addendum 2008-w. 2010-05-27 18:33:48 +00:00
skarg 9ca6961c15 Cleaned up warnings on GCC on Linux. 2010-05-23 12:33:45 +00:00
skarg adee8fd74c Changed default state of PRINT_ENABLED to zero for embedded ports. 2010-05-22 12:47:34 +00:00
skarg d95863d89c Corrected epics demo handling of proprietary properties. 2010-05-21 14:25:39 +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 1bafe2ed98 Added all standard baud rates for Windows serial ports. Updated mstpcap readme file. 2010-05-20 23:31:50 +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
skarg bbfa4836d5 Removed map file (since it is the result of build). 2010-05-15 22:17:35 +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
tbrennan3 1526557b54 Added arguments to bacepics which let you specify a source port to use (besides 0xBAC0) and a target MAC to use.
Combining these lets you run bacepics against the localhost's Device at port 0xBAC0.
One small change in dlenv_init() to support this (don't force source port to 0xBAC0 if that's not what we want).
2010-05-14 19:09:53 +00:00
tbrennan3 c69686c99b Fixed 2 problems that Steve found:
1) Did not properly handle when RPM was not supported.
2) Did not handle small MAX_APDU values well.
2010-05-14 14:44:27 +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 286c372d2c Updated ToDo list.
Added more info to MS/TP capture utility readme file.
Changed silence timer in BDK to compile smaller.
2010-05-14 12:14:09 +00:00
skarg 54ff09468e renamed file so that it is easily added to binary release. 2010-05-05 15:03:25 +00:00
skarg bef726d837 Corrected compile error due to C++ comment conversion. 2010-05-05 15:02:43 +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 b2368acc27 Fixed up EOL for subversion. 2010-05-04 21:04:26 +00:00
skarg 74be776295 Cleaned up C++ comments 2010-05-04 21:01:48 +00:00
skarg 7b015706b7 Added script for simple export 2010-05-01 04:42:47 +00:00
skarg 69e1121d66 Corrected return value of WriteProperty in device object. 2010-04-28 17:35:23 +00:00
skarg e261490f61 Corrected compiler warning. 2010-04-28 17:34:49 +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 1c8a58f158 Final fixes (I believe, for now) for EPICS generation.
Now has proper support for State Text and Subordinate Annotations text arrays, even very large ones.
Now has 3 ways, of descending throughput, for all Objects and all their properties:
a) Get all object properties with RPM for ALL
b) Get individual properties with RP for Array_Index = ALL
c) Walk through a too-large array one index step at a time.
2010-04-26 20:09:41 +00:00
brayra 15c5375196 More corrections to return value 2010-04-26 19:39:24 +00:00
brayra d4797f99d7 Fixed return value when error detected 2010-04-26 13:54:13 +00:00
tbrennan3 040e6ed286 Make sure RPM handler aborts if Device_Read_Property() returns -2 (because the current property by itself won't fit in the APDU). 2010-04-23 18:40:09 +00:00
skarg 4163cac4cb Corrected statistics when used with a single MS/TP device. 2010-04-23 18:09:39 +00:00
skarg 9c667949cc Corrected filename (used in demo apps) when compiled with MinGW. 2010-04-23 18:08:56 +00:00