From: "Frédéric Blain" <bluez@frederic-blain.com>
To: Bastien Nocera <hadess@hadess.net>
Cc: BlueZ development <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] Sony PS3 sixaxis & bluez
Date: Mon, 26 Nov 2007 21:04:28 +0000 [thread overview]
Message-ID: <474B34DC.3080005@frederic-blain.com> (raw)
In-Reply-To: <1196103584.10878.490.camel@cookie.hadess.net>
Bastien Nocera wrote:
> Frederic, could you check it works for you?
>
Everything's fine with sixpair2.
Just need to adjust the trusts file.
This could be easily done by adding something like :
bdaddr_t hostaddr;
str2ba(option_master, &hostaddr);
write_trust(&hostaddr, device, GLOBAL_TRUST, TRUE);
instead of "//FIXME finally, set device as trusted" in handle_device()
(sixpair2.c:316)
However, write_trust() is defined in hcid/hcid.h and implemented in
hcid/storage.c.
Since both hcid/storage.c and input/storage.c implement the function
read_device_name(),
with a different prototype, it can not compile :
../hcid/hcid.h:193: error: conflicting types for 'read_device_name'
storage.h:36: error: previous declaration of 'read_device_name' was here
/tmp/ccE5MOV3.o: In function `read_device_name':
storage.c:(.opd+0x138): multiple definition of `read_device_name'
It could be good to move write_trust() and GLOBAL_TRUST (hcid/hcid.h) in
the common directory / lib.
Whatever, thanks a lot for your work,
--
creber
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
next prev parent reply other threads:[~2007-11-26 21:04 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-24 0:37 [Bluez-devel] Sony PS3 sixaxis & bluez Frédéric Blain
2007-11-25 2:02 ` Bastien Nocera
2007-11-24 14:00 ` Frédéric Blain
2007-11-26 6:17 ` Marcel Holtmann
2007-11-26 6:15 ` Marcel Holtmann
2007-11-26 17:38 ` Bastien Nocera
2007-11-26 18:59 ` Bastien Nocera
2007-11-26 21:04 ` Frédéric Blain [this message]
2007-11-27 8:32 ` Marcel Holtmann
2007-11-27 10:52 ` Bastien Nocera
2007-11-27 11:08 ` Marcel Holtmann
2007-11-26 5:55 ` Marcel Holtmann
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=474B34DC.3080005@frederic-blain.com \
--to=bluez@frederic-blain.com \
--cc=bluez-devel@lists.sourceforge.net \
--cc=hadess@hadess.net \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.