<?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>How can i connect multiperipherals  with different device names?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/34867/how-can-i-connect-multiperipherals-with-different-device-names</link><description>HI, 
 I have connected to one peripheral from my central and retrieved all the services(For example i need Device Information Service, got all the characteristic values) and stored in global variables. 
 Now i need to connect another peripheral and pass</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 30 May 2018 13:09:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/34867/how-can-i-connect-multiperipherals-with-different-device-names" /><item><title>RE: How can i connect multiperipherals  with different device names?</title><link>https://devzone.nordicsemi.com/thread/134039?ContentTypeID=1</link><pubDate>Wed, 30 May 2018 13:09:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:12c1f169-de4e-493d-9a13-3f3cc3a02012</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Why do you reset the nRF between the connections? The nRF does not need to reset during normal operations. Typically, during the lifetime of a product reset will only occur due to power failure (such as battery replacement), an error condition or if you use system OFF low power mode (not relevant for most applications).&lt;/p&gt;
&lt;p&gt;If you need to store data persistently in flash I recommend you to look at the&amp;nbsp;&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.0.0/lib_fds.html?cp=4_0_0_3_52"&gt;FDS&lt;/a&gt;, which is a simple file system. You can also consider using&amp;nbsp;&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/power.html?cp=2_1_0_17_8_6#register.GPREGRET"&gt;retention registers&lt;/a&gt;&amp;nbsp;if you only need to store a few bytes, and don&amp;#39;t need it to be persistent when there is a power failure.&lt;/p&gt;
&lt;p&gt;The&amp;nbsp;ble_app_multilink_central example in SDK 15 demonstrates how to search for device name and connect if the name matches (see the&amp;nbsp;&lt;code&gt;on_adv_report()&lt;/code&gt; function in main.c)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can i connect multiperipherals  with different device names?</title><link>https://devzone.nordicsemi.com/thread/133986?ContentTypeID=1</link><pubDate>Wed, 30 May 2018 09:14:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef30d3f8-f1d3-4c1d-8388-ad70e4472426</guid><dc:creator>sankeerthan</dc:creator><description>&lt;p&gt;yes Einar i want to keep some information between connections,while trying to connect second peripheral i am pressing reset button(So that i can scan&amp;amp;connect to other device) on my nRF52840 board.How can i pass information between connections without reset?&lt;/p&gt;
&lt;p&gt;How to store variable data even after resetting board?&lt;/p&gt;
&lt;p&gt;&lt;span&gt;How multilink peripheral_central will work for connecting different device names?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can i connect multiperipherals  with different device names?</title><link>https://devzone.nordicsemi.com/thread/133961?ContentTypeID=1</link><pubDate>Wed, 30 May 2018 07:57:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:530e08e3-054c-4716-8b8d-56540825cc86</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The way I read the question you just want to keep some information between connections. You do not specify which variable it is, but in case this is reused for every connection, then you could simply copy it to another (global) variable which you for example could use to always keep the relevant data from the previous/last connected peripheral.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>