<?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>Multi connection via NUS</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/26170/multi-connection-via-nus</link><description>Hi all ,
I have 2 board peripheral run example ble_app_uart . I want to modify example ble_app_uart_c for concurrent connections to 2 board peripheral and send data between them . Can you show me how to modify ble_app_uart_c example for my problem .</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 24 Oct 2017 13:44:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/26170/multi-connection-via-nus" /><item><title>RE: Multi connection via NUS</title><link>https://devzone.nordicsemi.com/thread/103095?ContentTypeID=1</link><pubDate>Tue, 24 Oct 2017 13:44:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:33c2e711-a715-4364-acb6-f25657f8c48b</guid><dc:creator>Giang</dc:creator><description>&lt;p&gt;Thank sir for advice :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multi connection via NUS</title><link>https://devzone.nordicsemi.com/thread/103094?ContentTypeID=1</link><pubDate>Tue, 24 Oct 2017 13:42:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02e7aacb-60de-4045-a3d5-1cb3128303ae</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;They are all proprietary services that we created as example. It&amp;#39;s up to you to modify and change to whatever fits your need.&lt;/p&gt;
&lt;p&gt;It&amp;#39;s also not too hard to replace lbs with nus service. Again, up to you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multi connection via NUS</title><link>https://devzone.nordicsemi.com/thread/103093?ContentTypeID=1</link><pubDate>Tue, 24 Oct 2017 13:36:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e7c3177c-286c-4fc9-887d-0e22207f5fba</guid><dc:creator>Giang</dc:creator><description>&lt;p&gt;Hi Hung Bui , I have ideas is change lbs file for send multi bytes (string ) . But , a Nodric employee speak to me don&amp;#39;t change lbs file for send multi byte that must be used nus service for this . And now I&amp;#39;m really confused !!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multi connection via NUS</title><link>https://devzone.nordicsemi.com/thread/103092?ContentTypeID=1</link><pubDate>Tue, 24 Oct 2017 13:16:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:50cce702-6792-437d-bc5f-2e6d0d18b500</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Do your homework, Giang. How difficult is it to change 1 byte data length to multiple bytes data length ??
Please study the code, especially on how characteristics are declared and how it&amp;#39;s used to send and receive data. There is a tutorials section on top of this page that you can follow.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multi connection via NUS</title><link>https://devzone.nordicsemi.com/thread/103091?ContentTypeID=1</link><pubDate>Tue, 24 Oct 2017 13:00:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:28806be4-0e0b-4d1c-9d65-e8e5f8c025e9</guid><dc:creator>Giang</dc:creator><description>&lt;p&gt;Hi Hung Bui ,
I tested success the multilink example but It used lbs service and can&amp;#39;t send string . So I want to use nus service with multilink for send string data between boards . Can you suggest me to do that ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multi connection via NUS</title><link>https://devzone.nordicsemi.com/thread/103090?ContentTypeID=1</link><pubDate>Tue, 24 Oct 2017 12:28:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4a89ede6-8df7-4091-8d04-14db269fe5dc</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Giang,&lt;/p&gt;
&lt;p&gt;Please try to follow our multilink example &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.1.0/ble_sdk_app_multilink.html?cp=4_0_0_4_2_0_2"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The main point is to start scanning after you get the first connection to connect to the second one.&lt;/p&gt;
&lt;p&gt;Note that peermanager library wasn&amp;#39;t really made to handle multiple peripherals, you may want to handle the connection event by the application.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>