Re: How to pair device from CLI?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Kamil,

On Fri, Dec 28, 2012, Kamil Jońca wrote:
> I don't know if this is proper list, but I cannot find any (active)
> bluez users list. 
> 
> I tried to pair my phone:
> 
> --8<---------------cut here---------------start------------->8---
> $hcitool scan                         
> Scanning ...
>         D4:E8:B2:AA:15:FA       theta
> 
> $bluez-simple-agent hci0 D4:E8:B2:AA:15:FA
> RequestPasskey (/org/bluez/3086/hci0/dev_D4_E8_B2_AA_15_FA)
> Enter passkey: 0000
> Creating device failed: org.bluez.Error.AuthenticationFailed: Authentication Failed
> --8<---------------cut here---------------end--------------->8---

It's quite odd that you should get RequestPasskey. That's something that
should only happen if you're pretending to be a keyboard in which case
you should enter the passkey displayed on the remote device (your phone
in this case).

> What do I should check? (s)trace?
> 
> Distribution is pretty fresh debian sid.

The most useful too would be hcidump (bluez-hcidump package). The output
of hcidump -X for the full pairing process would be interesting.

Johan

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux