Pairing problem
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi to hall.
I'm using a Slackware Linux box with Linux 2.6.12 and Bluez patch. I'm using the latest 2.18 Bluez libs and utils.
I want to develop a hands-free phone profile with BlueZ stack.
I create a RFCOMM interface with the command
Quoted 1 line
rfcomm bind 0 00:00:00:00:00:00 1
with the right baddr.
After that, I try to send an AT command:
Quoted 1 line
echo ATA >
/dev/rfcomm0
Then, the phone claim a pin to establish a connection. My pin_helper application is:
#!/bin/bash
echo "PIN:0000"
so, I enter a 0000 PIN, but the phone tell me the PIN is wrong.
Maybe I've a misconfigured pin-helper application?
Thx in advance!
Cheers,
Pizza
- -------------------------------------------
Luca Pizzamiglio
CEFRIEL - Embedded Systems Design Unit
Via Fucini, 2 - 20133 MILANO (ITALY)
Phone: +39 02 23954 343
e-mail: [email protected]
ICQ: 5046978
- ------------------------------------------- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.7 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFC15evAoUy56ORfbERAqcRAJ91u38moNHzINY8E4OZtVPo7YULfwCfXMUY 7bpb8yusRHGhMg+7px4Rt7g=
=CZc4
-----END PGP SIGNATURE-----
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Luca,
You may want to try setting the security to "auto" in
the /etc/bluetooth/hcid.conf. I had a similar problem, and forcing the machine to use the phone's pin solved my problem.
Quoted 51 lines · Luca Pizzamiglio
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1Hi to hall.
I'm using a Slackware Linux box with Linux 2.6.12 and Bluez patch. I'm using the latest 2.18 Bluez libs and utils.
I want to develop a hands-free phone profile with BlueZ stack.I create a RFCOMM interface with the command
Quoted 1 line
rfcomm bind 0 00:00:00:00:00:00 1
with the right baddr.
After that, I try to send an AT command:Quoted 1 line
echo ATA >
/dev/rfcomm0Then, the phone claim a pin to establish a connection. My
pin_helperapplication is:#!/bin/bash
echo "PIN:0000"so, I enter a 0000 PIN, but the phone tell me the PIN is wrong.
Maybe I've a misconfigured pin-helper application?
Thx in advance!
Cheers,
Pizza- -------------------------------------------
Luca Pizzamiglio
CEFRIEL - Embedded Systems Design Unit
Via Fucini, 2 - 20133 MILANO (ITALY)
Phone: +39 02 23954 343
e-mail: [email protected]
ICQ: 5046978
- ------------------------------------------- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.7 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.orgiD8DBQFC15evAoUy56ORfbERAqcRAJ91u38moNHzINY8E4OZtVPo7YULfwCfXMUY 7bpb8yusRHGhMg+7px4Rt7g=
=CZc4
-----END PGP SIGNATURE-----
Quoted 9 lines
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Thx for your answer. Now it works!
When I installed new version of Bluez, I lost hcid.conf. Now I've some trouble on write and reading with the phone, but this is not the right place to send my question.
Cheers,
Pizza
Quoted 31 lines · bc90021 wrote:
Luca,
You may want to try setting the security to "auto" in
the/etc/bluetooth/hcid.conf. I had a similar problem, and forcing the machine to use the phone's pin solved my problem.On Fri, 2005-07-15 at 13:02 +0200, Luca Pizzamiglio wrote:
Hi to hall.
I'm using a Slackware Linux box with Linux 2.6.12 and Bluez patch. I'm using the latest 2.18 Bluez libs and utils.
I want to develop a hands-free phone profile with BlueZ stack.I create a RFCOMM interface with the command
Quoted 1 line
rfcomm bind 0 00:00:00:00:00:00 1
with the right baddr.
After that, I try to send an AT command:Quoted 1 line
echo ATA >
/dev/rfcomm0Then, the phone claim a pin to establish a connection. My
pin_helperapplication is:#!/bin/bash
echo "PIN:0000"
Quoted 8 lines
so, I enter a 0000 PIN, but the phone tell me the PIN is wrong.
Maybe I've a misconfigured pin-helper application?
Thx in advance!
Cheers,
Pizza
- -------------------------------------------
Luca Pizzamiglio
CEFRIEL - Embedded Systems Design Unit
Via Fucini, 2 - 20133 MILANO (ITALY)
Phone: +39 02 23954 343
e-mail: [email protected]
ICQ: 5046978
- ------------------------------------------- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.7 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFC17reAoUy56ORfbERApVuAJ40b0WbvcDTexvgQ4Q+T3zrRde0CgCfaXRK ifrzRYOHzA3Fs638M5RrJzI=
=rkKa
-----END PGP SIGNATURE-----
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users