<?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>Communication nrf52840 sdk 15.2 two peripherals uart</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/39995/communication-nrf52840-sdk-15-2-two-peripherals-uart</link><description>Hi, I&amp;#39;ve rebuilt so far with the help of multilink examples, the uart example that I can connect to two devices (According to the status of connection-led and the debug info). However, I can only communicate with one peripheral. this is always the peripheral</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 09 Nov 2018 04:55:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/39995/communication-nrf52840-sdk-15-2-two-peripherals-uart" /><item><title>RE: Communication nrf52840 sdk 15.2 two peripherals uart</title><link>https://devzone.nordicsemi.com/thread/156572?ContentTypeID=1</link><pubDate>Fri, 09 Nov 2018 04:55:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a1686d2-e22e-4611-b768-e679b549d9d6</guid><dc:creator>Murugan</dc:creator><description>&lt;p&gt;Hi, I want to know is this multiple peripherals single central example ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Communication nrf52840 sdk 15.2 two peripherals uart</title><link>https://devzone.nordicsemi.com/thread/155480?ContentTypeID=1</link><pubDate>Thu, 01 Nov 2018 07:52:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9384c658-7451-4f02-a23a-a6b372e3a045</guid><dc:creator>l.r.97</dc:creator><description>&lt;p&gt;Thank you very much. It works without any errors.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Communication nrf52840 sdk 15.2 two peripherals uart</title><link>https://devzone.nordicsemi.com/thread/155391?ContentTypeID=1</link><pubDate>Wed, 31 Oct 2018 15:17:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f0ba0fb4-a262-4497-9ba3-8592efbb1d95</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;I forgot, the project is written for SDK15.2.0, the same as yours.&lt;/p&gt;
&lt;p&gt;Just unzip so that you get the folder structure:&lt;/p&gt;
&lt;p&gt;SDK15.2.0\examples\ble_central\ble_app_multilink_central_nus\pca10056&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Communication nrf52840 sdk 15.2 two peripherals uart</title><link>https://devzone.nordicsemi.com/thread/155387?ContentTypeID=1</link><pubDate>Wed, 31 Oct 2018 15:09:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c7fb515b-5455-4add-bb8e-a17af6192dd0</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I haven&amp;#39;t looked through your code, but I have seen others try to do the same, and it is usually some handle issues when people try to merge ble_app_multilink_central with ble_app_uart_c.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Take a look at the attached example. It is based on ble_app_multilink_central, and I removed the LBS_C service with the NUS_C service.&lt;/p&gt;
&lt;p&gt;The project doesn&amp;#39;t use the ble_nus_c.c and ble_nus_c.h from the SDK. They need to be modified as well, so they are included in the project folder (same folder as main.c).&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If you use the PCA10056 projects, this should already be included (except for IAR), but if you want to run the project on PCA10040 or PCA10040e, you must add these files manually (and remove the ble_lbs_c.c file from the project).&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Look at the main.c file, and compare it with your own. Compare the ble_nus_c_cust.c with ble_nus_c.c from the SDK as well, and get familiar with the changes.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-8683fd0dedc547c3b59d90625f0df182/ble_5F00_app_5F00_multilink_5F00_central_5F00_uart.zip"&gt;devzone.nordicsemi.com/.../ble_5F00_app_5F00_multilink_5F00_central_5F00_uart.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;You may of course use this project as you like, as you can with the examples from the SDK, but note that this is something I wrote, and is not as thoroughly tested as the official SDK examples.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>