Commit Graph

1618 Commits

Author SHA1 Message Date
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
skarg 202bc06768 Changed makefile install to handle slow clock on AVR. 2010-04-22 02:09:17 +00:00
skarg ad8cab409d Corrected compiler error. 2010-04-22 01:22:00 +00:00
tbrennan3 fd133c43e7 Some notes on doxygen. 2010-04-18 03:28:55 +00:00
tbrennan3 136c90f6c1 More simple doxygen tweaks. 2010-04-18 01:51:52 +00:00
tbrennan3 8dd671d5a1 Sorry about the missing header; adding it in here.
Some comment tweaks for Doxygen.
2010-04-17 15:39:20 +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 4d90a024c6 Extensively revised bacepics to produce a full list of objects, not just the required properties of just the Device object.
Added a state machine which tries to get all properties in one RPM call first, then falls back to getting all object properties and calling RP once for each property, except the Device Object List, which calls RP once for each ObjectID in the list.
Adding support for Structured Views but not complete yet.
2010-04-15 20:51:55 +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
skarg 1115ffcf88 Updated build.bat to include notes about YAGARTO Tools. 2010-04-06 18:57:06 +00:00
skarg 8cb5a8a230 removed process.h since it gave errors when compiling under gcc (GCC) 3.4.5 (mingw-vista special r3) for BACDL_MSTP. 2010-03-31 21:48:13 +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
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
skarg b56cf7bba5 Corrected seeprom write function that wrote wrong number of bytes when near page end. 2010-03-25 15:33:56 +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 026a489fc5 Answered my own questions, after some thought:
Made the epics pretty-printing generate shorter lines by only decoding 4 bits per line (hurts my byte-centered soul, but does look better).
Moved the big comment section out of demo/server/main.c out to a new header, server.h.
Provided doxygen links to the functions called in the server demo.
2010-03-23 12:32:46 +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
petermcs 6cc780e562 Changed int apdu_len to bool status in Device_Write_Property as the return value is a bool and the return value for the object write functions is also bool. 2010-03-17 15:03:54 +00:00
skarg 52518b9d57 Changed NPDU handler to check for BACnet version before attempting to decode. Thanks, Piotr! 2010-03-17 00:35:51 +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
petermcs bfd3920698 Removed assumption that object instance and object index are one and the same. Added in missing Analog_Input_Instance_To_Index() function. 2010-03-11 16:57:55 +00:00
skarg baec022ecd Updated Visual Studio project for latest demo application. 2010-03-10 16:33:57 +00:00
skarg c4df15b39c Corrected error message. 2010-03-07 10:22:05 +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 997a75ecfe Added unit test to timer module. 2010-03-06 00:22:26 +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
skarg d5c542fd22 Converted timer to a more useful and easily used timer library. 2010-03-05 05:01:26 +00:00
petermcs d639f48788 Fixed some errors in the handling of the status flags. 2010-03-04 14:27:47 +00:00
petermcs 51c3479240 Add in check for clients that send invalid start of epoch time with all 0s in the date. 2010-03-03 22:55:51 +00:00