* How to implement just works type ssp pairing in bluez
@ 2011-05-23 12:15 Siva kumar
2011-05-27 11:27 ` Johan Hedberg
0 siblings, 1 reply; 4+ messages in thread
From: Siva kumar @ 2011-05-23 12:15 UTC (permalink / raw)
To: linux-bluetooth
Hi all,
I have two android phones, when i connect two phones using
bluetooth it generates passkey and displays it for our conformation,
once we conform, pairing takes place , i was able to transmit and
receive data via bluetooth. i want to change the pairing process to
"just works" of SSP. so that the phones connect automatically without
MITM protection. how to change the pairing mode of SSP from numerical
comparison
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How to implement just works type ssp pairing in bluez
2011-05-23 12:15 How to implement just works type ssp pairing in bluez Siva kumar
@ 2011-05-27 11:27 ` Johan Hedberg
2011-05-27 21:30 ` Jaikumar Ganesh
0 siblings, 1 reply; 4+ messages in thread
From: Johan Hedberg @ 2011-05-27 11:27 UTC (permalink / raw)
To: Siva kumar; +Cc: linux-bluetooth
Hi Siva,
On Mon, May 23, 2011, Siva kumar wrote:
> I have two android phones, when i connect two phones
> using bluetooth it generates passkey and displays it for our
> conformation, once we conform, pairing takes place , i was able to
> transmit and receive data via bluetooth. i want to change the
> pairing process to "just works" of SSP. so that the phones connect
> automatically without MITM protection. how to change the pairing
> mode of SSP from numerical comparison
There are two ways how to do this:
1. Make sure neither side requires MITM by setting the security level
for each socket to low.
2. Set NoInputNoOutput as the IO capability for the agent on one or both
sides (you can override the Android agents capability e.g. by doing your
own CreatePairedDevice D-Bus method call).
Johan
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How to implement just works type ssp pairing in bluez
2011-05-27 11:27 ` Johan Hedberg
@ 2011-05-27 21:30 ` Jaikumar Ganesh
2011-05-28 4:02 ` Siva kumar
0 siblings, 1 reply; 4+ messages in thread
From: Jaikumar Ganesh @ 2011-05-27 21:30 UTC (permalink / raw)
To: Siva kumar, linux-bluetooth
Hi Siva:
On Fri, May 27, 2011 at 4:27 AM, Johan Hedberg <johan.hedberg@gmail.com> wrote:
> Hi Siva,
>
> On Mon, May 23, 2011, Siva kumar wrote:
>> I have two android phones, when i connect two phones
>> using bluetooth it generates passkey and displays it for our
>> conformation, once we conform, pairing takes place , i was able to
>> transmit and receive data via bluetooth. i want to change the
>> pairing process to "just works" of SSP. so that the phones connect
>> automatically without MITM protection. how to change the pairing
>> mode of SSP from numerical comparison
>
> There are two ways how to do this:
>
> 1. Make sure neither side requires MITM by setting the security level
> for each socket to low.
>
> 2. Set NoInputNoOutput as the IO capability for the agent on one or both
> sides (you can override the Android agents capability e.g. by doing your
> own CreatePairedDevice D-Bus method call).
>
> Johan
Majority of Android phones don't use Bluez as the Bluetooth stack.
If your phone uses Bluez, what Johan said will work.
If not, post to the Android mailing lists as this is dedicated to Bluez.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How to implement just works type ssp pairing in bluez
2011-05-27 21:30 ` Jaikumar Ganesh
@ 2011-05-28 4:02 ` Siva kumar
0 siblings, 0 replies; 4+ messages in thread
From: Siva kumar @ 2011-05-28 4:02 UTC (permalink / raw)
To: Jaikumar Ganesh, linux-bluetooth
Jaikumar Ganesh wrote:
> Hi Siva:
>
> On Fri, May 27, 2011 at 4:27 AM, Johan Hedberg <johan.hedberg@gmail.com> wrote:
>
>> Hi Siva,
>>
>> On Mon, May 23, 2011, Siva kumar wrote:
>>
>>> I have two android phones, when i connect two phones
>>> using bluetooth it generates passkey and displays it for our
>>> conformation, once we conform, pairing takes place , i was able to
>>> transmit and receive data via bluetooth. i want to change the
>>> pairing process to "just works" of SSP. so that the phones connect
>>> automatically without MITM protection. how to change the pairing
>>> mode of SSP from numerical comparison
>>>
>> There are two ways how to do this:
>>
>> 1. Make sure neither side requires MITM by setting the security level
>> for each socket to low.
>>
>> 2. Set NoInputNoOutput as the IO capability for the agent on one or both
>> sides (you can override the Android agents capability e.g. by doing your
>> own CreatePairedDevice D-Bus method call).
>>
>> Johan
>>
>
>
> Majority of Android phones don't use Bluez as the Bluetooth stack.
> If your phone uses Bluez, what Johan said will work.
> If not, post to the Android mailing lists as this is dedicated to Bluez.
>
>
> Hello Jaikumar,
>
Android is based on linux, I think Majority of Android phones uses only
Bluez as the bluetooth stack, Can you please mention what are the other
Bluetooth stack used in majority of Android phones. So that many of us
like me can known about that.
Sivakumar
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-05-28 4:02 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-23 12:15 How to implement just works type ssp pairing in bluez Siva kumar
2011-05-27 11:27 ` Johan Hedberg
2011-05-27 21:30 ` Jaikumar Ganesh
2011-05-28 4:02 ` Siva kumar
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.