k001a
ad22144fab
Missing file h_wpm.c.
2011-06-08 21:53:35 +00:00
k001a
a16a8f041b
- Added handling to WritePropertyMultiple.
...
- Added encode_tagged_enumerated function.
2011-06-08 21:51:15 +00:00
skarg
6a14f8f93a
Corrected compile warning.
2011-06-04 18:51:14 +00:00
skarg
92586d6c5f
Removed unused header file includes.
2011-05-25 21:34:58 +00:00
skarg
05ddcf93c5
Corrected device function list NULL functions.
2011-05-25 21:34:19 +00:00
skarg
8da85f6c79
Moved COV object handling into Device object.
...
Fixed COV for multiple subscriptions to same object.
2011-05-25 20:18:56 +00:00
skarg
297bba14fa
Removed unnecessary header file includes.
2011-05-25 20:17:08 +00:00
skarg
d07e319b5c
Corrected MS/TP cap statistics. Fixed build for Linux.
2011-05-25 00:45:46 +00:00
skarg
d8416ce927
Updated error codes based on BACnet Add-135-2008h.
2011-04-29 13:16:08 +00:00
petermcs
f13191309e
Corrected record count when setting up test logs so it is TL_MAX_ENTRIES and not 1000
2011-04-16 12:08:17 +00:00
skarg
6cfdde92d7
Updated readme file for mstpcap utility with new scan feature and additional statistics.
2011-04-13 20:17:50 +00:00
skarg
061dc251a5
Added ability in mstpcap utility to parse an MS/TP capture file and produce statistics using the --scan filename option.
...
Added PFM to statistics printout.
Added --version to command line options.
2011-04-12 20:48:40 +00:00
skarg
7bb2149ea0
Refactored the example BACnet File object and file handler. Corrected bacfile_name compiler error.
2011-04-07 17:21:09 +00:00
petermcs
f5234050ea
Added bactext.h to includes
2011-04-02 09:59:04 +00:00
petermcs
0b64a70dd9
Fixed declaration of Routed_Device_Set_Object_Name
2011-04-02 09:57:22 +00:00
skarg
7b1f8c7f5e
Updated the example File object to have the same Object_Name API. Moved the File object header file to the demo/object directory with the rest of the demo object header files.
2011-04-01 22:25:26 +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
3efa7a2ea9
Moved lso back to its rightful place in include.
2011-03-24 16:48:06 +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
petermcs
6407f098ba
We don't need to check for available space in the APDU once we have encoded the last entry in the object list
2011-03-14 11:13:10 +00:00
petermcs
e48aab8ebb
When reporting abort for apdu exceeding the maximum the requester can accomodate we need to set the error code up as read property processing may have overwritten the default by then.
2011-03-14 11:11:09 +00:00
skarg
2371f4ea53
Added ifdef to allow outside configuration of MAX COV SUBSCRIPTIONS.
2011-03-12 12:08:46 +00:00
skarg
59823dde09
Corrected Abort or Reject code that is generated during ReadPropertyMultiple (seen during reading Object_List).
2011-02-24 18:07:38 +00:00
skarg
624de45fc8
Cleaned up compiler warnings when compiled with Win32 MS/TP datalink.
2011-01-14 15:23:03 +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
46cdade038
Corrected error response service type. Thank you, Martin!
2011-01-12 19:51:52 +00:00
skarg
2f5d6fbaa1
Updated unit tests for objects and services, and corrected some portability problems. Thanks, Sergei! Didn't fix mstp or load control unit test results.
2010-12-27 00:04:38 +00:00
skarg
aa045effaa
Corrected RPM Handler for max APDU size.
2010-12-23 05:59:09 +00:00
skarg
1c560c27b9
Refactored the DCC code in APDU for clarity. Added DCC check in demo server to prevend COV when DCC is not enabled.
2010-12-22 03:09:42 +00:00
skarg
350736f6bb
Corrected DeviceCommunicationControl (DCC) for DISABLE_INITIATION state, which now allows I-Am in response to Who-Is. Did not add keep out for other initiated services like COV (to do).
2010-12-18 17:30:58 +00:00
skarg
2a0bf4926a
Performed standard indent script indent.sh on project files.
2010-12-15 19:02:40 +00:00
skarg
f820697464
Converted C++ comments to ifdef for testing.
2010-12-15 18:59:03 +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
2f424e038d
Touched up some of the Doxygen tags.
2010-12-03 07:25:34 +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
tbrennan3
31f440e070
Implemented separate Who-Is and Who-Has handlers for the routed case, where we loop through all the Devices looking for matches.
...
Tested and improved the routing code.
Gateway demo now sends I-Am as each Device is added.
Added test for valid Network number when routing, and only send Reject message if this fails (and not if we just can't find a Device match).
Test the hop_count and discard the packet if would reach 0 and a destination Network is called for.
2010-12-02 20:33:43 +00:00
skarg
e850469da8
Added character string helper to test for printable. Added to WP checks.
2010-12-02 19:33:22 +00:00
skarg
f26997a367
Changed make to $(MAKE). Not sure if this is still needed, since MSYS has make.exe (in lieu of MinGW). Lots of demo makefiles still have make in them...
2010-11-30 18:04:27 +00:00
skarg
a39bf392bd
Fixed Makefile for MinGW build. Testing with MinGW 20101030 and MSYS. gcc (GCC) 4.5.0 (MinGW), GNU Make 3.81 (MSYS).
2010-11-30 17:50:24 +00:00
skarg
01d1d5bd77
Changed %zu back to %d since Borland C++ doesn't understand %zu.
2010-11-30 06:08:48 +00:00
skarg
0e34c5ce5c
Moved ports back into root Makefile.
2010-11-29 04:18:53 +00:00
petermcs
072640f887
Added in call to trend_log_timer so Trendlogs are updated and changed stop time on initial setup of logs to the year 2020 instead of 2009 so they would accumulate some more records.
2010-11-26 13:16:55 +00:00
bacpack
47ecaeabaa
To build the Routing demo define BAC_ROUTING in the top Makefile. The value is not important - the symbol has to be defined.
2010-11-25 05:10:01 +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
tbrennan3
a595bdb4b5
Resolved more code where we didn't need to define separate BAC_ROUTING functionality, since the npdu_encode_pdu() will do the right thing if our source address is for the gateway (root device), because src->net and/or src->len will be 0.
...
For the important Device_Object_Instance_Number(), will redirect to the Routed_Device_Object_Instance_Number() function if this is a routing build.
This leaves only the Who-Is and Who-Has handlers to be dealt with.
2010-11-24 22:04:02 +00:00
tbrennan3
22c14fccad
Followed Steve's good recommendation, and made routed_get_my_address() be a variant of datalink_get_my_address() just when routing is in use. Haven't done anything about the sending functions yet.
...
Renamed Lookup_Routed_Device_Address() as Routed_Device_Address_Lookup(), and replaced it in the routed npdu handler with a function that finds the "next" gateway or routed device, as per the destination address. (Less tied to the specifics of the gw_device.c implementation.)
Fixed a few build warnings (eg, %zu for size_t arguments).
Until we improve the makefile system, I've enabled BAC_ROUTING in config.h
2010-11-24 20:44:32 +00:00
bacpack
db5dea31e7
Compiler fails - missing declaration of Get_Routed_Device_Address().
2010-11-21 17:03:04 +00:00