<?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>ble_app_uart: Unique connection between a specific central and a specific peripheral</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/44804/ble_app_uart-unique-connection-between-a-specific-central-and-a-specific-peripheral</link><description>Hi All, 
 I have more boards on which I have loaded the code ble_app_uart_c (nRF5_SDK_15.2.0_9412b96) which I use as central devices and I have other boards on which I have loaded the ble_app_uart code which I use as peripherals. 
 The boards taken in</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 19 Mar 2019 15:49:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/44804/ble_app_uart-unique-connection-between-a-specific-central-and-a-specific-peripheral" /><item><title>RE: ble_app_uart: Unique connection between a specific central and a specific peripheral</title><link>https://devzone.nordicsemi.com/thread/177135?ContentTypeID=1</link><pubDate>Tue, 19 Mar 2019 15:49:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0aa74482-8b9f-4884-be85-a9a22ffe52dc</guid><dc:creator>Bar1</dc:creator><description>&lt;p&gt;Hi Jimmy,&lt;/p&gt;
&lt;p&gt;I was able to solve the problem thanks to you &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;Thanks a million again.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble_app_uart: Unique connection between a specific central and a specific peripheral</title><link>https://devzone.nordicsemi.com/thread/175979?ContentTypeID=1</link><pubDate>Wed, 13 Mar 2019 14:39:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c8be4f3d-99d8-425d-824f-740c9b38e402</guid><dc:creator>Jimmy Wong</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;you can use the device name as the scanning filter for the connection.&lt;/p&gt;
&lt;p&gt;for example, I did the example on the peripheral and central role (both device)&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/jimmywong2003/nrf5-packet-error-rate-measurement-on-ble-connection/blob/master/ble_app_image_transfer_c/main.c"&gt;github.com/.../main.c&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="pl-k"&gt;static&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span class="pl-k"&gt;char&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span class="pl-k"&gt;const&lt;/span&gt;&lt;span&gt; m_target_periph_name[] = &lt;/span&gt;&lt;span class="pl-s"&gt;&lt;span class="pl-pds"&gt;&amp;quot;&lt;/span&gt;Peripheral_PER&lt;span class="pl-pds"&gt;&amp;quot;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;for the SDK 15.3, it has the scan module to easy configure.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;// &amp;lt;e&amp;gt; NRF_BLE_SCAN_FILTER_ENABLE - Enabling filters for the Scanning Module.
//==========================================================
#ifndef NRF_BLE_SCAN_FILTER_ENABLE
#define NRF_BLE_SCAN_FILTER_ENABLE 1
#endif
// &amp;lt;o&amp;gt; NRF_BLE_SCAN_UUID_CNT - Number of filters for UUIDs.
#ifndef NRF_BLE_SCAN_UUID_CNT
#define NRF_BLE_SCAN_UUID_CNT 0
#endif

// &amp;lt;o&amp;gt; NRF_BLE_SCAN_NAME_CNT - Number of name filters.
#ifndef NRF_BLE_SCAN_NAME_CNT
#define NRF_BLE_SCAN_NAME_CNT 1
#endif

// &amp;lt;o&amp;gt; NRF_BLE_SCAN_SHORT_NAME_CNT - Number of short name filters.
#ifndef NRF_BLE_SCAN_SHORT_NAME_CNT
#define NRF_BLE_SCAN_SHORT_NAME_CNT 0
#endif

// &amp;lt;o&amp;gt; NRF_BLE_SCAN_ADDRESS_CNT - Number of address filters.
#ifndef NRF_BLE_SCAN_ADDRESS_CNT
#define NRF_BLE_SCAN_ADDRESS_CNT 0
#endif

// &amp;lt;o&amp;gt; NRF_BLE_SCAN_APPEARANCE_CNT - Number of appearance filters.
#ifndef NRF_BLE_SCAN_APPEARANCE_CNT
#define NRF_BLE_SCAN_APPEARANCE_CNT 0
#endif

// &amp;lt;/e&amp;gt;&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>