skarg
56b65e9694
indented using indent.sh script.
2013-10-29 01:55:49 +00:00
ekh
14643101c0
Tentative commit by Ed
2013-05-09 04:44:26 +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
48e2c60ce2
indented to standard from script
2012-05-13 15:07:12 +00:00
tbrennan3
a2a0434ef9
Forgot the header update for BBMD getter and setters.
...
Revised gateway demo to use the new device_init(NULL) way.
Eliminated triplicate I-Am responses and deprecated the offending routed_ I-Am and I-Have senders (don't see any other usages; scheduled for deletion in 2/2012).
Fixed I-Am sender to not always zero out dest->net, because if a src->net was given in Who-Is, need to have it or else global bcast in the I-Am response.
2011-08-25 21:20:14 +00:00
skarg
45915f2d22
Fixed IAR compiler warnings.
2011-08-23 20:29:15 +00:00
skarg
3e1cb1847f
Indented project.
2011-08-17 02:27:11 +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
2a0bf4926a
Performed standard indent script indent.sh on project files.
2010-12-15 19:02:40 +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
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
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
petermcs
3bb228edf2
Added routing support for virtual network so that source addresses are transmitted when required and the correct object ID is used.
2010-11-17 23:16:24 +00:00
skarg
b769dcbe1d
Indented.
2010-08-18 00:11:35 +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
83a3f08dad
Fixed compiler warnings.
2010-08-06 22:21:29 +00:00
tbrennan3
49b4c6cd35
Added comments to create Doxygen sub-Module for DM-DOB BIBB (Who-Has).
2010-02-23 03:26:47 +00:00
tbrennan3
a911eea98f
The beginning of doxygenation:
...
As a first step, added an @file description for each file.
2010-02-14 05:41:45 +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
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
d6a891f0d1
running the indent on the files.
2006-02-18 23:11:25 +00:00
skarg
5fcf45a781
Created I-Have service encoding/decoding/unit test.
...
Added handlers for I-Have and Who-Has.
Added send for I-Have and Who-Has.
Created demo for WhoHas.
Added I-Have handling in server demo.
2006-02-16 21:35:06 +00:00