Return-Path: MIME-Version: 1.0 In-Reply-To: <20110527112746.GB15238@dell.amr.corp.intel.com> References: <4DDA4FC9.3090302@ethicstech.in> <20110527112746.GB15238@dell.amr.corp.intel.com> From: Jaikumar Ganesh Date: Fri, 27 May 2011 14:30:21 -0700 Message-ID: Subject: Re: How to implement just works type ssp pairing in bluez To: Siva kumar , linux-bluetooth@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi Siva: On Fri, May 27, 2011 at 4:27 AM, Johan Hedberg 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 >