<?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>Pairing devices S130</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/7570/pairing-devices-s130</link><description>Hi, 
 How could i implement Just work pairing method in my &amp;quot;ble central and peripheral&amp;quot; example. I modified project to suit my need, and everything works fine, untill i try to write to peripheral. I figured out i need to set pairing method &amp;quot;just work</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 18 Jun 2015 08:26:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/7570/pairing-devices-s130" /><item><title>RE: Pairing devices S130</title><link>https://devzone.nordicsemi.com/thread/26967?ContentTypeID=1</link><pubDate>Thu, 18 Jun 2015 08:26:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cc0c98b6-5fb8-4a48-b1d3-11be6f655457</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@nejcokle: I&amp;#39;m sorry I was confused with the ble_app_multilink_central and ble_app_multilink_peripheral where we use the device manager.
But the principle is the same, you need to call  sd_ble_gap_authenticate() to trigger bonding. And if you want to rebond later on you need to store the  ble_gap_sec_kdist_t that you got after the bonding has finished ( BLE_GAP_EVT_AUTH_STATUS event).&lt;/p&gt;
&lt;p&gt;We have an example for S130 that use device manager &lt;a href="https://github.com/NordicSemiconductor/nRF51-ble-app-hrs-s130"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Pairing devices S130</title><link>https://devzone.nordicsemi.com/thread/26964?ContentTypeID=1</link><pubDate>Thu, 18 Jun 2015 06:25:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:81f444d9-41cb-46ba-8eea-7ea459eb7b67</guid><dc:creator>nejcokle</dc:creator><description>&lt;p&gt;I&amp;#39;m using project &amp;quot;experimental_ble_app_s130_example_c__s130_pca10028&amp;quot; It&amp;#39;s that dual role project. I&amp;#39;m asking if there&amp;#39;s another way to bond because in this example you don&amp;#39;t connect to device using DM. So if i have to use dm i think i&amp;#39;d have to change a lot of the project.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Pairing devices S130</title><link>https://devzone.nordicsemi.com/thread/26963?ContentTypeID=1</link><pubDate>Thu, 18 Jun 2015 06:20:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c3553da-9c3e-4e5d-8727-a739cb9b976f</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@nejcokle: Are you using the mKit as an mbed board or you are using it with our SDK example ? Which exactly project are you testing with ?&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t think there is other way to trigger bonding other than calling sd_ble_gap_authenticate() as we do when calling dm_security_setup_req().&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Pairing devices S130</title><link>https://devzone.nordicsemi.com/thread/26966?ContentTypeID=1</link><pubDate>Wed, 17 Jun 2015 08:04:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f7075f97-6c2b-43e1-9036-719de9f92b46</guid><dc:creator>nejcokle</dc:creator><description>&lt;p&gt;Sorry for late response. I&amp;#39;m using Cypress ble module as my peripheral (will get nordic ones soon) and i use  nRF51822-mKit as my central. As i can see on cypress example it requires &amp;quot;just works&amp;quot; pairing method. As my central i&amp;#39;m using dual role example. Is there any other way to implement this pairing method?
Also, when not paired i can read char values just fine.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Pairing devices S130</title><link>https://devzone.nordicsemi.com/thread/26965?ContentTypeID=1</link><pubDate>Fri, 12 Jun 2015 09:07:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e0f40285-8b9d-4ae0-b02a-699bb5834fdd</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@nejcokle: Please let me know which firmware you are running on the peripheral peer device ? Did you use the ble_app_hrs for S110 ?&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t think pairing is required for that example. However, if you want to implement Justwork pairing, you can have a look at the ble_app_hrs_c for S120, at hrs_c_evt_handler() function where we trigger bonding at BLE_HRS_C_EVT_DISCOVERY_COMPLETE event.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>