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
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
b769dcbe1d
Indented.
2010-08-18 00:11:35 +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
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
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
9ca6961c15
Cleaned up warnings on GCC on Linux.
2010-05-23 12:33:45 +00:00
skarg
d95863d89c
Corrected epics demo handling of proprietary properties.
2010-05-21 14:25:39 +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
skarg
bef726d837
Corrected compile error due to C++ comment conversion.
2010-05-05 15:02:43 +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
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
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
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
f0863c0238
Refactored RP, WP, RPM to reduce coupling with objects for Linux and Win32 ports.
2010-02-10 16:27:31 +00:00
skarg
c04e69da8c
Fixed EOL, indent.
2009-10-24 17:02:59 +00:00
skarg
a28760bf56
Added init functions to object header files. Finished refactoring the demo read and write property handlers to use function tables.
2009-08-23 03:26:30 +00:00
skarg
7032168ff5
Ran the fixup, indent, and comment scripts to standardize the source code.
2009-05-24 01:49:21 +00:00
skarg
7916c7a6de
Consolodated the datalink environment variable for building demos on Linux and Windows into a single module (dlenv). Adjusted most demo makefiles.
2009-05-22 01:45:38 +00:00
skarg
0ffbb64c13
Indented with standard indent rules.
2008-08-23 12:38:26 +00:00
skarg
9c316a65dc
Moved APDU Timeout and Retries to apdu module.
2008-08-17 02:12:58 +00:00
skarg
2338f3b3a3
Updated project files, makefiles, and the demo debug info.
2008-06-23 00:17:51 +00:00
skarg
cf9d15631a
Indented using indent script. Corrected any C++ comments using the comment script.
2008-03-10 21:00:48 +00:00
skarg
29f022fce1
Modified the EPICS demo application to get the object list by element instead of as a whole array.
2008-03-03 15:08:18 +00:00
skarg
b8ee7d6b9c
Added ability to use static address binding in file address_cache. Useful for client applications binding to MS/TP slave devices.
2008-03-01 06:42:46 +00:00
skarg
b72da0bc4a
Added BBMD environment setting for demo applications epics, server.
2008-01-27 19:56:05 +00:00
skarg
1477603af6
indented.
2007-11-29 16:39:48 +00:00
skarg
411d6c1b24
Indented.
2007-11-29 15:56:53 +00:00
skarg
02a0554ed8
Corrected warnings and errors for Linux compile.
2007-10-11 18:17:38 +00:00
skarg
a6d1183bf6
Changed the demo applications to use BACNET_IFACE environment variable when configuring the datalink. Thank you to Tomas Zerolo for the patch!
2007-09-29 14:32:15 +00:00
skarg
8994735720
Added CodeBlocks workspace and updated demo/epics to use the Required Properties list of the Device Object.
2007-09-05 17:21:36 +00:00
skarg
46ab0030c8
Fiddling with the MAX_MDPU and datalink stuff.
2007-09-01 00:42:12 +00:00
skarg
9069c939da
Fixing indent oops which removed the contents of all these files.
2007-06-14 05:33:15 +00:00
skarg
ea4863ca25
Indented.
2007-06-14 05:14:26 +00:00
skarg
f936794362
Added BIG_ENDIAN define to all the unit tests so they would compile.
2007-05-28 15:37:10 +00:00
skarg
8026dc003b
Combined the interface set into the datalink_init for all the datalink layers. Changed all the demo programs to use datalink_init instead of specific datalink functions.
2007-05-25 01:08:42 +00:00
skarg
78cec1d8c4
Added ability to specify the BACnet/IP interface on multi-homed machines from the command line demo for demo/epics on a Win32 platform.
2007-05-22 00:19:05 +00:00
skarg
23807e0c83
Enhancing the EPICS demo.
2007-04-03 11:04:25 +00:00
skarg
8b13d401a3
cleaned up warning for unused variables during Win32 compile.
2007-03-28 13:06:48 +00:00
skarg
b602ba5739
Added demo for extracting EPICS from device. Only extracts device object properties at this time.
2007-03-27 17:39:27 +00:00