<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hi Corentin,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">-----------------------------------------------<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Intel Corporation NV/SA<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Kings Square, Veldkant 31<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1F497D">2550 Kontich<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1F497D">RPM (Bruxelles) 0415.497.718.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Citibank, Brussels, account 570/1031255/09<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt">
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Dev [mailto:dev-bounces@lists.tizen.org]
<b>On Behalf Of </b>Corentin Lecouvey<br>
<b>Sent:</b> Wednesday, October 29, 2014 2:46 PM<br>
<b>To:</b> dev@lists.tizen.org<br>
<b>Subject:</b> [Dev] [NFC] OOB bluetooth pairing support is broken<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Hi all,<br>
<br>
In order to move the bluetooth-frwk to NTB, I meet some problem with NFC.<br>
<br>
Bluetooth contains OOB pairing mechanism which is based on NFC technology in order to pair close devices.<br>
OOB feature is handled in bluetooth-frwk (client side) and it is supported by nfc-manager daemon (NFC server side).<span style="color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">[Geoffroy] Is this OOB feature something different than what I know as ‘NFC Bluetooth Handover’?</span><br>
<br>
NFC manager uses bluetooth internal OOB API (not public C API).<br>
Those internal bluetooth API have never been migrated to Bluez 5 and so can not work (<a href="https://bugs.tizen.org/jira/browse/TC-1971">https://bugs.tizen.org/jira/browse/TC-1971</a>).<span style="color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">[Geoffroy] Shouldn’t the nfc-manager talk to neard which in terms communicate with BlueZ? I believe the latest neard version can handle both BlueZ 4 and 5.<o:p></o:p></span></p>
<p class="MsoNormal"><br>
NTB doesn't support OOB feature now. I made a Jira feature request here : <a href="https://bugs.tizen.org/jira/browse/TC-1970">
https://bugs.tizen.org/jira/browse/TC-1970</a>.<br>
<br>
As it is just used on NFC server side and doesn't impact NFC Web device API, I would like to make OOB optionnal in nfc-manager-neard.<br>
<br>
Does it make sense ?<br>
<br>
Best regards,<br>
Corentin<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">2014-10-29 11:16 GMT+01:00 Zheng, Wu <<a href="mailto:wu.zheng@intel.com" target="_blank">wu.zheng@intel.com</a>>:<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:ZH-CN">Hi Corentin,</span><span style="mso-fareast-language:ZH-CN"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:ZH-CN"> </span><span style="mso-fareast-language:ZH-CN"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:ZH-CN">BTW, you can’t see any log of NTB on Tizen common. You need to setup dlog
 on basic Tizen common.</span><span style="mso-fareast-language:ZH-CN"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:ZH-CN"> </span><span style="mso-fareast-language:ZH-CN"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:ZH-CN">However, you can see the related log of NTB if you use Tizen IVI.</span><span style="mso-fareast-language:ZH-CN"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:ZH-CN"> </span><span style="mso-fareast-language:ZH-CN"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:ZH-CN">Best Regards</span><span style="mso-fareast-language:ZH-CN"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:ZH-CN">Zheng Wu</span><span style="mso-fareast-language:ZH-CN"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><a name="1495b68ed8494b1c__MailEndCompose"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:ZH-CN"> </span></a><span style="mso-fareast-language:ZH-CN"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";mso-fareast-language:ZH-CN">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";mso-fareast-language:ZH-CN">
 Corentin Lecouvey [mailto:<a href="mailto:corentin.lecouvey@open.eurogiciel.org" target="_blank">corentin.lecouvey@open.eurogiciel.org</a>]
<br>
<b>Sent:</b> Wednesday, October 29, 2014 6:01 PM<br>
<b>To:</b> Zheng, Wu<br>
<b>Cc:</b> Le Foll, Dominique; Xu, Martin; Jia, Pei P; <a href="mailto:dev@lists.tizen.org" target="_blank">
dev@lists.tizen.org</a><br>
<b>Subject:</b> Re: Multi-user BT wiki</span><span style="mso-fareast-language:ZH-CN"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="mso-fareast-language:ZH-CN"> <o:p></o:p></span></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="mso-fareast-language:ZH-CN">Hi Zheng Wu,<o:p></o:p></span></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="mso-fareast-language:ZH-CN"> <o:p></o:p></span></p>
</div>
<div>
<div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="mso-fareast-language:ZH-CN"><br>
>1/ there is a problem with NFC stack.<br>
Okay, maybe it need some modification to match bluetooth-frwk.<o:p></o:p></span></p>
</blockquote>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="mso-fareast-language:ZH-CN"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="mso-fareast-language:ZH-CN">Yes, tizen-extensions-crosswalk requires the NFC stack in order to offer the Tizen NFC Web API.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="mso-fareast-language:ZH-CN">If we move to NTB, NFC needs to be adapted to NTB. <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="mso-fareast-language:ZH-CN"> <o:p></o:p></span></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="mso-fareast-language:ZH-CN"><br>
>2/ NTB daemon should be fired by org.tizen.comms.service activation.<br>
>Do you work on using a specific bluetooth user to manage tizen bluetooth stack ?<br>
1. Yes. I can use "guest" user to run it well on tizen common and I didn't modify any configure.<br>
2. To tizen common, Of course, The dbus configure file need to be modified to match the requirement of Tizen common.<o:p></o:p></span></p>
</blockquote>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="mso-fareast-language:ZH-CN"> Not just for Common, for IVI as well...<br>
OK. Let's use "guess" user for the moment to check multi-user implementation.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="mso-fareast-language:ZH-CN"> <o:p></o:p></span></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="mso-fareast-language:ZH-CN"><br>
>3/ Bluez is blocked by RFkill.<br>
Do tizen common use connman to enable/disable BT(including RFKILL)?<br>
If so, I will modify the enable/disable BT.<o:p></o:p></span></p>
</blockquote>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="mso-fareast-language:ZH-CN"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="mso-fareast-language:ZH-CN">Tizen Common will use NTB to enable/disable BT.<br>
If some user wants to enable/disable BT over bluez, he will have to previously unblock bluetooth rfkill by himself.<br>
NTB needs to include rfkill unblocking if needed.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="mso-fareast-language:ZH-CN"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="mso-fareast-language:ZH-CN">Best regards,<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="mso-fareast-language:ZH-CN">Corentin<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="mso-fareast-language:ZH-CN"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="mso-fareast-language:ZH-CN"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="mso-fareast-language:ZH-CN"> <o:p></o:p></span></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:12.0pt"><span style="mso-fareast-language:ZH-CN"><br>
>I'm wondering how did you test it on Common. Can you let me know ?<br>
Using "guest" user to run NTB daemon.<br>
Using "Alice" user to run Bluez-capi-test<br>
At the same time, Using "Bob" user to run Bluez-capi-test too.<br>
<br>
Best Regards<br>
Zheng Wu<br>
<br>
-----Original Message-----<br>
From: Corentin Lecouvey [mailto:<a href="mailto:corentin.lecouvey@open.eurogiciel.org" target="_blank">corentin.lecouvey@open.eurogiciel.org</a>]<br>
Sent: Wednesday, October 29, 2014 12:34 AM<br>
To: Zheng, Wu; Le Foll, Dominique; Xu, Martin; Jia, Pei P<br>
Cc: <a href="mailto:dev@lists.tizen.org" target="_blank">dev@lists.tizen.org</a><br>
Subject: Re: Multi-user BT wiki<br>
<br>
Hi Zheng Wu,<br>
<br>
I wanted to check NTB on Tizen Common and I met several problems :<br>
<br>
1/ there is a problem with NFC stack.<br>
nfc-manager-neard component depends on libbluetooth-api.so which is an internal API inside bluetooth-frwk.<br>
This package needs to be adapted to NTB in order to use core C API.<br>
<br>
2/ NTB daemon should be fired by org.tizen.comms.service activation.<br>
This service still depends on "app" user which is not in Common anymore.<br>
NTB daemon can not be launched by dbus.<br>
Do you work on using a specific bluetooth user to manage tizen bluetooth stack ?<br>
<br>
3/ Bluez is blocked by RFkill.<br>
NTB would have to handle this.<br>
In Common bluetooth is power off after booting, I can not enable it unless I unblock bluetooth rfkill.<br>
<br>
I'm wondering how did you test it on Common. Can you let me know ?<br>
<br>
I will continue to review multi-user implementation.<br>
<br>
Best regards,<br>
Corentin<br>
<br>
<br>
<br>
On 10/28/2014 02:50 AM, Zheng, Wu wrote:<br>
> Hi all,<br>
><br>
> NTB has implement the phase1 requirements of Multi-user BT.<br>
><br>
> The following link is the related NTB wiki of Multi-user BT.<br>
><br>
> <a href="https://wiki.tizen.org/wiki/NTB_Architecture#Multi-user_NTB" target="_blank">
https://wiki.tizen.org/wiki/NTB_Architecture#Multi-user_NTB</a><br>
><br>
> Please check it. Thanks.<br>
><br>
> Best Regards<br>
> Zheng Wu<o:p></o:p></span></p>
</blockquote>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="mso-fareast-language:ZH-CN"> <o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</div>
</div>
</body>
</html>