From: Marcel Holtmann <marcel@holtmann.org>
To: Kutschenreuter Matthias <Matthias.Kutschenreuter@siemens.com>
Cc: "'Philip Blundell'" <pb@nexus.co.uk>,
"'Bluez-devel@lists.sourceforge.net'"
<Bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] pan on zaurus
Date: Thu, 18 Mar 2004 17:00:49 +0100 [thread overview]
Message-ID: <1079625649.3301.50.camel@pegasus> (raw)
In-Reply-To: <AFE91B59A185A5439840B43AB791904709391B@mchp997a.mch.sbs.de>
Hi Matthias,
> pand initialises the l2a-struct with "0"s, before binding.
> static bdaddr_t src_addr = *BDADDR_ANY; // where BDADDR_ANY is
> {0,0,0,0,0,0}
> l2a.l2_bdaddr = src_addr;
> if (bind(sk, (struct sockaddr *) &l2a, sizeof(l2a)))
I think it is better if you use
bacpy(&l2a.l2_bdaddr, BDADDR_ANY);
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
next prev parent reply other threads:[~2004-03-18 16:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-18 15:39 AW: [Bluez-devel] pan on zaurus Kutschenreuter Matthias
2004-03-18 16:00 ` Marcel Holtmann [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-03-17 19:28 Kutschenreuter Matthias
2004-03-18 0:40 ` Philip Blundell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1079625649.3301.50.camel@pegasus \
--to=marcel@holtmann.org \
--cc=Bluez-devel@lists.sourceforge.net \
--cc=Matthias.Kutschenreuter@siemens.com \
--cc=pb@nexus.co.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox