<?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>Best example to automatically pair to BLE devices?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/25617/best-example-to-automatically-pair-to-ble-devices</link><description>Hello, 
 I was wondering what is the best example to take as reference in case I want to pair two BLE devices automatically, I mean, I would like to make my devices to start scanning and pairing themselves once they are powered up. 
 I have seen the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 04 Oct 2017 06:45:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/25617/best-example-to-automatically-pair-to-ble-devices" /><item><title>RE: Best example to automatically pair to BLE devices?</title><link>https://devzone.nordicsemi.com/thread/100978?ContentTypeID=1</link><pubDate>Wed, 04 Oct 2017 06:45:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:949a5426-9f2d-4e00-9120-1dc84b5fbbec</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;No, I meant that ble_app_hrs is a bit more secure than ble_app_mtu_throughput.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Best example to automatically pair to BLE devices?</title><link>https://devzone.nordicsemi.com/thread/100982?ContentTypeID=1</link><pubDate>Mon, 02 Oct 2017 14:36:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:263bc8cd-0ea9-49e6-aceb-43543d2b745d</guid><dc:creator>ndarkness</dc:creator><description>&lt;p&gt;How do you mean, not using the peer_manager makes ble_app_m_throughput more secure?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Best example to automatically pair to BLE devices?</title><link>https://devzone.nordicsemi.com/thread/100977?ContentTypeID=1</link><pubDate>Mon, 02 Oct 2017 13:46:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0dce69f2-78ee-4627-8958-9a8afaa3b3f6</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Security isn&amp;#39;t that simple, but I guess you can say it is a bit more secure.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Best example to automatically pair to BLE devices?</title><link>https://devzone.nordicsemi.com/thread/100983?ContentTypeID=1</link><pubDate>Mon, 02 Oct 2017 13:15:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:933610a8-c405-4032-9a05-084f149eebe3</guid><dc:creator>ndarkness</dc:creator><description>&lt;p&gt;Thanks again! I have been looking as well the example ble_app_mty_throughput. In that example, the device can act as client/server but it is not using the peer_manager, does it mean that it is less secure than the ble_app_hrs?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Best example to automatically pair to BLE devices?</title><link>https://devzone.nordicsemi.com/thread/100976?ContentTypeID=1</link><pubDate>Mon, 02 Oct 2017 12:56:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:291e3f7a-6664-41c9-ac64-f9539a5e1c0c</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;\examples\ble_central\ble_app_hrs_c&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Best example to automatically pair to BLE devices?</title><link>https://devzone.nordicsemi.com/thread/100981?ContentTypeID=1</link><pubDate>Mon, 02 Oct 2017 12:12:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d08e1f79-4ee3-4810-942e-76fecac93391</guid><dc:creator>ndarkness</dc:creator><description>&lt;p&gt;Hi @PetterMyhre, exactly what you describe is what I want, I would like to have a client that connect to the central based on their common Service UUID without intervention of the user. On the example of ble_app_hrs I only see pheripherial functionality and not central one&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Best example to automatically pair to BLE devices?</title><link>https://devzone.nordicsemi.com/thread/100979?ContentTypeID=1</link><pubDate>Mon, 02 Oct 2017 12:05:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:26a68042-575b-48ad-b537-4dde90e3749a</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;I&amp;#39;m not sure what you mean by automatically. ble_app_hrs_c will connect to ble_app_hrs, then it will discover its services, then it will try to pair.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Best example to automatically pair to BLE devices?</title><link>https://devzone.nordicsemi.com/thread/100980?ContentTypeID=1</link><pubDate>Mon, 02 Oct 2017 12:04:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af16a210-15e9-4d8e-aae5-cb553a18078d</guid><dc:creator>ndarkness</dc:creator><description>&lt;p&gt;But using that example, would I be able to make that two hrs application pair each other automatically?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Best example to automatically pair to BLE devices?</title><link>https://devzone.nordicsemi.com/thread/100975?ContentTypeID=1</link><pubDate>Mon, 02 Oct 2017 10:17:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd5a8258-562a-46e5-8c97-5234ac9205ad</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;You can check out ble_app_hrs and ble_app_hrs_c.&lt;/p&gt;
&lt;p&gt;Pairing is initiated with pm_conn_secure()&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>