skarg
8414ed64e5
Added some text into EPICS demo that BTL wants to see in their testing tool.
2017-01-28 18:42:45 +00:00
skarg
456c0ed42c
Sync some handler fixes and demo object fixes and updates and some comment fixes from branch bacnet-stack-0-8-0.
2016-09-08 15:29:32 +00:00
skarg
bc897c7507
Un-refactored property-list module to lower resource requirements on small devices.
2015-10-18 03:40:10 +00:00
skarg
4db370cc3a
Un-refactored property-list module to lower resource requirements on small devices.
2015-10-18 03:39:28 +00:00
skarg
e7d04a2379
Added --version and --help command line options to some demo applications.
2014-08-15 13:21:20 +00:00
skarg
0116bcbfe7
Added -d option to Epics demo to only display Device properties.
2014-05-14 22:21:29 +00:00
skarg
5dd7159139
Converted EPICS CRLF to only LF since stdout defaults to text mode and automatically converts LF to appropriate sequence on each platform.
2013-11-14 18:54:14 +00:00
skarg
ba3242aafd
indented using indent.sh script to get uniform looking code for release
2013-03-13 22:17:13 +00:00
skarg
ad8378ef62
fixed writable properties by using the required writable properties from BACnet 135-2010 standard.
2012-09-26 01:18:28 +00:00
skarg
fc8ff83296
fixed unknown APDU size print value
2012-09-26 00:44:53 +00:00
cneilson
77ad8cf6f4
fix compile errors
2012-09-12 08:39:36 +00:00
skarg
d3c63ad4c4
Made EPICS more realistic by using more actual values for header, and using comments when not using actual data or when using non-standard properties.
2012-08-27 19:31:10 +00:00
skarg
41becc0a9a
CPPCheck found fixes.
2012-08-16 18:56:17 +00:00
netp
6bac1f18bc
added type casts
2012-08-07 03:40:06 +00:00
skarg
48e2c60ce2
indented to standard from script
2012-05-13 15:07:12 +00:00
skarg
430f0869ca
Enhanced EPICS demo to have '-o' option which will retrieve Optional and Required properties for objects that don't support RPM ALL, instead of just Required properties.
2012-05-03 02:59:24 +00:00
skarg
7a24c03c8a
updated some code::blocks projects
2012-04-16 14:59:45 +00:00
skarg
a7a67a76fd
Added more object properties to the property list module - it now more than EPICS demo used from existing demo objects.
2012-04-16 14:52:27 +00:00
skarg
f6c6a9cb8b
added property list library to return all required and optional properties of an object. Not finished with all object properties yet, but functional in the EPICs demo. Updated property enumerations and text names based on 135-2010 standard.
2012-04-15 21:00:43 +00:00
skarg
4d02e66634
Updated Code::Blocks projects to compile correctly.
2012-02-23 22:15:49 +00:00
skarg
b05fbf196c
Fixed file name in doxygen comment.
2012-02-21 22:10:05 +00:00
skarg
1c19bf7d09
Added checks in Error, Abort, Reject, and Acks for matching address and invoke ID so that out-of-order messages would not foul up the state machine and only the reply matching the request would be honored.
...
Changed request so that an error message of segmentation-not-supported would trigger the read-property fallback mechanism.
2012-02-21 21:56:18 +00:00
skarg
9e8c2b0927
Added explicit datalink_cleanup to all demo applications.
...
Moved bip_cleanup() to port specific files.
This works better for bacnet-stack DLLs.
2012-02-10 22:12:15 +00:00
skarg
dd93e8cf1b
Removed the object-table function macros from each demo object header file since it was very difficult to maintain when new functions are added. Added device-client.c file which is a small device object just for simple clients. Updated most Makefiles of client demo applications to utilize device-client.c file.
...
Added two device object table functions for COV support.
Corrected demo COV handler interaction with TSM, COV flags, and multiple subscriptions for the same object.
2011-10-03 18:54:14 +00:00
tbrennan3
630ed4640b
Improved the bacepics program to include header and footer, so it can generate a full (and compliant) EPICS file for VTS3.
2011-09-12 18:07:25 +00:00
skarg
f19f2c29d9
Converted all the BACnet-array-index variables from int32 to uint32 as they were intended.
2011-08-23 20:11:42 +00:00
tbrennan3
c1f148dc61
Quick fixes for BACNET_CHARACTER_STRING uses with routing. (Mostly just reverting to ANSI with this demo code.)
2011-08-22 19:55:05 +00:00
skarg
3e1cb1847f
Indented project.
2011-08-17 02:27:11 +00:00
skarg
05ddcf93c5
Corrected device function list NULL functions.
2011-05-25 21:34:19 +00:00
skarg
deab12a5e1
Changed WhoHas and I-Have to use CharacterString instead of forcing ANSI X34 and C Strings. Affected all demos and ports object name, so I changed the object name function name to make sure it was noticed.
2011-03-24 16:53:02 +00:00
skarg
e095715cec
Moved include files for demo objects into demo/object, and updated makefiles to accommodate the move. This allows developers to create and maintain their own objects and the interfaces to them.
2011-03-22 20:53:13 +00:00
skarg
2f9d601178
Removed BACnet/IP explicit calls in demo epics (with ifdef) to allow to compile for MS/TP or Ethernet. Thank you, 55792882!
2011-01-14 15:22:16 +00:00
skarg
2a0bf4926a
Performed standard indent script indent.sh on project files.
2010-12-15 19:02:40 +00:00
skarg
8f1e8d82cd
Changed Object Table from a global to a local variable and added a Device function to initialize it.
2010-12-13 03:41:55 +00:00
skarg
20ca252a8d
Fixed compiler warning messages.
2010-12-12 05:42:42 +00:00
skarg
d5b8dee34e
Updated make to $(MAKE) as recommended best practice.
2010-12-12 05:42:13 +00:00
tbrennan3
b768518a9d
Now using Who-Is-Remote() to get the address binding if targeting a routed Device.
...
Eliminated empty braces for the Device object in its own list of objects.
2010-12-03 06:54:02 +00:00
tbrennan3
de4ead47c6
Improvements to bacepics for the routing case; can now specify a DNET on the command line.
...
Not all there yet, however, for the routed case.
Added null tests and dummy string defaults in Add_Routed_Device().
2010-12-02 22:05:59 +00:00
bacpack
6a523e4d23
First attempt to clean-up Makefiles.
...
1. Top (main) makefile defines build configuration variables and export them for sub-makes to use. BAC_ROUTING is defined here - is has been removed from config.h.
2. A new makefile has been added in demo subdirectory. It builds the demo applications. NOTE: the 'ports' target is not build.
2010-11-25 04:17:58 +00:00
bacpack
502cbcc2e6
1. In device.c, the Object_Table[] is now extern; it has to be defined by the user application (see demos); only the required BACnet objects have to be included.
...
2. Objects' .h files define macro to be used to initialize Object_Table[].
2010-11-13 19:57:29 +00:00
bacpack
a639864cc8
In bip.c getter and setter functions of IP address and Port number expect and return values in the network byte order. All ntoh and hton were eliminated from bip.c.
...
All other modules changed to be consistent.
arm7 port left unchanged.
2010-11-04 13:30:26 +00:00
tbrennan3
a5f24fa19f
Tweaked the comments for better Doxygen output.
2010-10-13 19:00:57 +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
skarg
9569f2c536
Fixed EOL and performed standard indentation.
2010-09-16 22:00:47 +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
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