Re: BLE issue: Start_LE_Encryption fails

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

 



Hi,

On Sat, Dec 8, 2012 at 9:59 PM, Ajay <ajay.kv@xxxxxxxxxxxxxxxxxx> wrote:
>     I tried  "gatttool  -i hci0 -b <remote bdaddr> --primary " on master
> side  ,which creates   LE link and very next moment disconnects . How can i
> change the security level  of the link to medium?. still struggling to pair
> the device  (atleast "smp just works") ) . Is my kernel supportive (3.2.5)

You can try using the --sec-level medium option.

>         Every time on LE create connection  process     i
> ,smp_conn_security() getting called from hci layer .
>   But  if(host_le_capable(hcon->hdev))
>                 return 1;
> condition returns without even checking the security level . so kindly show
> me the right way..

I suspect this check has been added recently to the kernel. Try
running bluetoothd oh the master side as well, it should then enable
host LE support through mgmt API and this check should pass.

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