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
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
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
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
skarg
1bafe2ed98
Added all standard baud rates for Windows serial ports. Updated mstpcap readme file.
2010-05-20 23:31:50 +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