<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Windows Swift pairing</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/42062/windows-swift-pairing</link><description>Hi, 
 Recently, I was trying to pair the nRF51822 development board by windows swift pairing. 
 While I turn on the swift pairing function, I still cannot use this feature to connect with the device. 
 Besides, I just get some information from microsoft</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 03 Jan 2019 14:59:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/42062/windows-swift-pairing" /><item><title>RE: Windows Swift pairing</title><link>https://devzone.nordicsemi.com/thread/163802?ContentTypeID=1</link><pubDate>Thu, 03 Jan 2019 14:59:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f410a6d3-0362-4830-80ea-c4d66f3e324c</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
[quote user="Wedy"]Actually, I have changed the main in my project by adding below item, but it could not work. It seems it need to do lots of change in advata,advertising, ble_gap.[/quote]
&lt;p&gt;Yes, some backporting is required in order to implement this on an older SDK, for instance the ble_advertising_advdata_update function.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;[quote user="Wedy"][/quote]&lt;/p&gt;
&lt;p&gt;But why it need to add below functions?&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;#if SWIFT_PAIR_SUPPORTED == 1&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt; init.advdata.p_manuf_specific_data = &amp;amp;m_sp_manuf_advdata;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt; sp_advdata_prepare(&amp;amp;init.advdata, &amp;amp;m_sp_advdata_buf);&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;#endif&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;This is to add the manufacturer specific data to the advertising payload per Microsoft&amp;#39;s specification, so that you can later update the payload to enable swift pair (in&amp;nbsp;BLE_ADV_EVT_FAST).&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Windows Swift pairing</title><link>https://devzone.nordicsemi.com/thread/163650?ContentTypeID=1</link><pubDate>Thu, 03 Jan 2019 07:22:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b3f44bf3-2d92-4bc4-94d3-0f9dc722978e</guid><dc:creator>CY</dc:creator><description>&lt;p&gt;Hi Hakon,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you for your kindly reply.&lt;/p&gt;
&lt;p&gt;I was trying to use the SDK but I just found that only support the nRF52832 (up to S132).&lt;/p&gt;
&lt;p&gt;If I am using the nRF51822 PCA10028 (S130) is it possible to do the application by using SDKv11?&lt;/p&gt;
&lt;p&gt;Actually, I have changed the main in my project by adding below item, but it could not work. It seems it need to do lots of change in advata,advertising, ble_gap.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1546499635823v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;BTW, I just found the information below that I could realize the reason for adding Microsoft information.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/swift-pair-payload-structure.JPG" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;But why it need to add below functions?&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;#if SWIFT_PAIR_SUPPORTED == 1&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt; init.advdata.p_manuf_specific_data = &amp;amp;m_sp_manuf_advdata;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt; sp_advdata_prepare(&amp;amp;init.advdata, &amp;amp;m_sp_advdata_buf);&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;#endif&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;ble_advertising_advdata_update(&amp;amp;m_advertising, &amp;amp;m_sp_advdata_buf, false)&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Windows Swift pairing</title><link>https://devzone.nordicsemi.com/thread/163466?ContentTypeID=1</link><pubDate>Wed, 02 Jan 2019 14:02:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe7f9e32-4953-44f2-8ee9-9f78b3c1a7a9</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Swift pair was added to the ble_app_hids_mouse example in SDK v15.1.&lt;/p&gt;
&lt;p&gt;This implementation is shown in the main.c file for this example. Search for the define &amp;quot;SWIFT_PAIR_SUPPORTED&amp;quot; to see how it is handled in the application itself.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>