Thank you very much for your help

I found an other pin helper here : http://wiki.openmoko.org/wiki/Manually_using_Bluetooth#Pair and I confirm that it works

But now, I need to open a serial port communication with Bluetooth. For those who know, I have a Zephyr HRM, which works with 2 steps : 1) start the communication (done) 2) open a serial port (help ! ^^)

Thanks in advance,

Lionel

2011/3/10 Brad Midgley <bmidgley@gmail.com>
Here's a sample agent that hardcodes the pin "7924" as long as it is running

https://github.com/bmidgley/greenz/blob/master/greenz-agent

On Thu, Mar 10, 2011 at 5:59 AM, IPSER, Lionel
<trainee.lipser50@oxylane.com> wrote:
> Hello all,
>
> I have a Overo Fire COM with the last Angstrom distribution build with the
> script from Sakoman (great think beside).
>
> Everything is OK, except the bluetooth.
>
> I know that with bluez4 (the default stack for Bluetooth), the
> "passkey-agent" program is not available.
>
> So my question is very simple : how can I make a connection from my Gumstix
> to a Bluetooth module which require a PIN code (and furthermore, a very
> obvious code : 1234), without a GUI : only from a console ?
>
> I try to install the version 3 of bluez (bluez-utils and bluez-libs) with
> the NDK, but it doesn't work.
>
> The connection works between the BT module and a usual computer (with
> Ubuntu), because it uses some KDE or GNOME interfaces.
>
> Even the wiki
> (http://wiki.gumstix.org/index.php?title=Category:How_to_-_bluetooth) is not
> up-to-date.
>
> Hcidump told me that the connection is closed when the module asks the PIN
> code.
>
> Thank you very much in advance,
>
> Lionel
>
> ------------------------------------------------------------------------------
> Colocation vs. Managed Hosting
> A question and answer guide to determining the best fit
> for your organization - today and in the future.
> http://p.sf.net/sfu/internap-sfd2d
> _______________________________________________
> gumstix-users mailing list
> gumstix-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gumstix-users
>
>



--
Brad Midgley

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users