Re: Help understanding Agent 'capabilities'.

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

 



Hi Neil,

On Thu, Oct 13, 2011 at 8:55 AM, NeilBrown <neilb@xxxxxxx> wrote:
>
> Hi,
>  I've been trying enhance my understanding of bluetooth and as part of that
>  I have been experimenting with simple-agent to create pairing between two
>  Linux hosts (a phone and a laptop as it happens).
>
>  My understanding of Secure Simple Pairing is that there are a number of
>  authentication mechanism and that the "best" would be chosen based on the
>  that capabilities given to the agent.
>
>  So if both devices tell the monitor "DisplayYesNo", it would not be able to
>  do Passkey entry and would choose Numeric comparison.
>  So both agents would get RequestConfirmation call backs.
>
>  But I cannot make that happen.
>
>  No matter what capability I give to simple-agent, one of them asks me for a
>  pass key, then the other one does, and they have to match.  i.e. they both
>  get RequestPinCode.
>  So they seem to be assuming at least one device has a keyboard (the first
>  could generate a number in the agent and display it I guess).
>
>  Is there something else I have to change to force it to use Numeric
>  comparison (or even 'just works') authentication?  Is this documented
>  somewhere?
>
>  I'm using 4.88 on one system and 4.96 on the other.

For SSP you need both controllers to be >= 2.1, if you are seeing
pincode requests then probably one or both controller are using legacy
pairing.

-- 
Luiz Augusto von Dentz
--
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