* LE SM Testing
@ 2011-12-18 12:19 Ganir, Chen
2011-12-18 17:16 ` Brian Gix
0 siblings, 1 reply; 2+ messages in thread
From: Ganir, Chen @ 2011-12-18 12:19 UTC (permalink / raw)
To: linux-bluetooth@vger.kernel.org
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.
Thanks,
Chen Ganir
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: LE SM Testing
2011-12-18 12:19 LE SM Testing Ganir, Chen
@ 2011-12-18 17:16 ` Brian Gix
0 siblings, 0 replies; 2+ messages in thread
From: Brian Gix @ 2011-12-18 17:16 UTC (permalink / raw)
To: Ganir, Chen; +Cc: linux-bluetooth@vger.kernel.org
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@codeaurora.org
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-12-18 17:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-18 12:19 LE SM Testing Ganir, Chen
2011-12-18 17:16 ` Brian Gix
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).