Re: Security level for Primary Services discovery during pairing

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

 



Hi,

On Thu, Jul 14, 2011 at 1:04 PM, VISHWANATH KM <a21174@xxxxxxxxxxxx> wrote:
> Hi,
>
> As per GAP spec section 10.1 Requirements, for both peripheral and
> central security is optional,
> in adapter.c create_paired_device_generic  we have
> device_browse_primary with secure set to TRUE,
> due to which we are connecting to other device with Security level
> high, this is causing failure for those
> peripherals where security is not supported hence those devices
> doesn't respond to the pairing request initiated
>
> device_browse_primary with secure to FALSE goes through, where
> peripheral initiates Slave security request
> and SMP just works completes as expected, since security is optional,
> should the secure for device_browse_primary
> be set to FALSE in create_paired_device_generic ? please let us know
> your comments. thx

You should use "CreateDevice" (not "CreatePairedDevice") if you don't
want to trigger SMP pairing. See doc/adapter-api.txt for details on
each method, and create_device() in src/adapter.c for the
implementation.

Regards,
-- 
Anderson Lizardo
Instituto Nokia de Tecnologia - INdT
Manaus - Brazil
--
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