Re: LE SM Testing

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

 



Hi Chen,

On 12/18/2011 4:19 AM, Ganir, Chen wrote:
Hi.
Does anyone have an idea how can I establish an LE link with SM fixed channel to a remote peer to test the SMP functionality ? I do not see any possibility to do this at the moment. Hcitool does not connect the SMP, and btiotest requires a remote l2cap channel listener other than the SMP. Gatttool will not help as well, since it requires an ATT server at the peer device.

Fixed channels (including the LE fixed channels) require no setup beyond ACL establishment. So you can "establish" the SM channel simply by creating an LE link.

Using gatttool -I, you can establish a connection a connection to a remote LE device. SM functionality can then be triggered by elevating security. ("sec-level medium" from gatttool). This should be the equivilent of "General Bonding" in the BR/EDR world.

I think hcitool also has an "lecc" command that specifically calls the "Create LE connection" HCI command, which could be used if you just need to establish an LE connection.

Also, hasn't the "pair device" via the MGMT interface been implemented/enabled in BlueZ? This would be the "Dedicated Bonding" equivalent of BR/EDR.


--
Brian Gix
bgix@xxxxxxxxxxxxxx
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum
--
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