<?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>Multilink - sending data to many peers</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/70396/multilink---sending-data-to-many-peers</link><description>Hello. I&amp;#39;m working with multilink example and I&amp;#39;ve got some problem. I want to send data to specific peer device, but after restart central or one of the peer, they reconnects in different order. So I made procedure to write peer address and conn_handle</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 15 Jan 2021 13:22:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/70396/multilink---sending-data-to-many-peers" /><item><title>RE: Multilink - sending data to many peers</title><link>https://devzone.nordicsemi.com/thread/289434?ContentTypeID=1</link><pubDate>Fri, 15 Jan 2021 13:22:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b340604-f5cf-4425-8ad4-588da8b7bc93</guid><dc:creator>PW</dc:creator><description>&lt;p&gt;I will check my idea and back here with some working solution. I guess :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multilink - sending data to many peers</title><link>https://devzone.nordicsemi.com/thread/289415?ContentTypeID=1</link><pubDate>Fri, 15 Jan 2021 13:02:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b19eef5c-7f18-449b-9e22-b6addc34b6d0</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;That might work, why don&amp;#39;t you write some sudo code and show us?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multilink - sending data to many peers</title><link>https://devzone.nordicsemi.com/thread/289144?ContentTypeID=1</link><pubDate>Thu, 14 Jan 2021 10:54:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ebcf09f4-f4a6-4a3d-b5e5-1c3dd0587364</guid><dc:creator>PW</dc:creator><description>[quote userid="13562" url="~/f/nordic-q-a/70396/multilink---sending-data-to-many-peers/289097#289097"]Most BLE devices uses a static address and in that case the address is permanent and therefore an excellent method of identifying a device.[/quote]
&lt;p&gt;I&amp;#39;m going to use devices with static address.&amp;nbsp;So should I do it as I write in my first answer? I don&amp;#39;t have another idea like assign reconnecting device to &lt;span&gt;appropriate&lt;/span&gt; conn_handle accordingly with my structere which was create in my &amp;quot;write procedure&amp;quot; (write procedure: made one time, enabled by button, write address and conn_handle in flash). My idea follows from ble_app_multilink_central example, where I have to point at: &amp;quot;p_ble_lbs_c &amp;quot; to send data. Maybe there is a better method?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multilink - sending data to many peers</title><link>https://devzone.nordicsemi.com/thread/289097?ContentTypeID=1</link><pubDate>Thu, 14 Jan 2021 09:35:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:929d5bb1-2780-474b-8d15-4e7915b3564d</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;The connection handle does not belong to a device, but an index of connections in the BLE controller(f.ex 0-7). Once a connection is broken the connection handle is released and it will be given to the next connection that is established.&amp;nbsp;Since you cannot control which device connects in what order you cannot use the connection handle to identify a device once its connection is broken.&amp;nbsp;Therefore you must use another set of information such as address, UUIDs, device name, RSSI, or Identity Resolving Key.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Most BLE devices uses a static address and in that case the address is permanent and therefore an excellent method of identifying a device. &lt;br /&gt;&lt;br /&gt;However there are some devices that has a&amp;nbsp;revolving address that is changed after&amp;nbsp;its connection is broken, in that case you need to get its Identity Resolving Key in order to identify the device(new address each time you connect to it). This privacy mode is used by devices that does not want to be tracked by 3rd parties.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multilink - sending data to many peers</title><link>https://devzone.nordicsemi.com/thread/289022?ContentTypeID=1</link><pubDate>Wed, 13 Jan 2021 19:46:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:91372df0-c635-47db-9523-fc3d390e7796</guid><dc:creator>PW</dc:creator><description>&lt;p&gt;So in that case, I should probably check address while peer connect to central and assign it with right conn_handle. This conn_handle which was write in my &amp;quot;write procedure&amp;quot;. And I&amp;#39;m little confused, because I don&amp;#39;t know how does central device knows which peer to send data to?&amp;nbsp;I thought that is address :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multilink - sending data to many peers</title><link>https://devzone.nordicsemi.com/thread/288827?ContentTypeID=1</link><pubDate>Wed, 13 Jan 2021 08:26:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f9b81730-e54e-4cde-9ec3-c9a16f98abb0</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;Addresses are not stored, unless you use bonding. If you do not want bonding, then you&amp;nbsp;will have to store the addresses to flash yourself.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>