Re: [Bacnet-developers] [Update] Activating BVLC code
Brought to you by:
skarg
|
From: <tom...@sw...> - 2008-01-16 19:06:35
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tue, Jan 15, 2008 at 02:18:47PM -0600, Steve Karg wrote:
> Hello Tomás,
[...]
> I look forward to the patch, and I can also try using other patch
> options to make it work for me this time.
OK, here they are. I attached them -- some (notably Big Linus ;) prefer
to have them in-line. Just tell me what suits you.
I broke up the changes into six small patches -- they are fairly
independent of each other. They apply cleanly against SVN revision 1082
(which I just checked out). Just change into the bacnet-stack directory
and do "patch -p1 < <patch file>".
Here's a short description of what they do:
0001-Changed-some-identifiers-common-prefix-longer-than.patch
Changes BVLC_READ_BROADCAST_DISTRIBUTION_TABLE* into ..._DIST_...
0002-Fix-endianness-glitch-in-ip-addr-and-port.patch
bip_get_xxx() seem to deliver address and port in host order. Use
decode_unsigned_xxx to marshal them into PDU
0003-Fixed-BVLC-beheading-in-the-FORWARDED_MESSAGE-case.patch
Usually the BVLC header is 4 octets long. It's 10 octets in this
case...
0004-Extract-source-address-from-BVLC-header-for-forwarde.patch
...and contains the original MAC address we are supposed to talk
to: grab it!
0005-Fix-byte-order-of-IP-and-port-on-unicast-outgoing-da.patch
basically same as 0002, for the unicast case.
0006-Enable-BVLC-in-compiler-options.patch
Munge all makefiles to make that happen-
Let me know whether I got the patch format right this time :-)
Thanks and regards
P.S hope you have much fun in New York!
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFHjlRABcgs9XrR2kYRAoMqAJ4239Spl8d+AZ8RNb9mBfO+yCj8LwCfRUVW
9t0NTGcHCCGLwU+EXu1zzRQ=
=+xrL
-----END PGP SIGNATURE-----
|