<?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>Adding a second peripheral connection using ble_nus</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/23078/adding-a-second-peripheral-connection-using-ble_nus</link><description>hi, 
 i started a project based on the ble_app_uart_c example and i have a working connection with a central and a peripheral board. now i&amp;#39;d like to have two peripherals connected to one central. 
 how do i achieve this? im unsure whether i need to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 24 Jul 2017 11:06:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/23078/adding-a-second-peripheral-connection-using-ble_nus" /><item><title>RE: Adding a second peripheral connection using ble_nus</title><link>https://devzone.nordicsemi.com/thread/90808?ContentTypeID=1</link><pubDate>Mon, 24 Jul 2017 11:06:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:edb8f296-1557-4335-ab70-730ebf0be398</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;To find out where the fatal error occurs, you can set a breakpoint in the error handler (APP_ERROR_CHECK) and at hardfault. If one of those breakpoints are hit when running in debug mode, you can take a look at the call stack to see where the problem originates from.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding a second peripheral connection using ble_nus</title><link>https://devzone.nordicsemi.com/thread/90809?ContentTypeID=1</link><pubDate>Fri, 30 Jun 2017 15:11:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1bff872e-384b-41f3-bcae-2cc3db4bd099</guid><dc:creator>uC_newbie</dc:creator><description>&lt;p&gt;Okay, im getting a fatal error. my UART initialization does not work. i will post all (to my knowledge) related code:&lt;/p&gt;
&lt;p&gt;Main:
&lt;a href="https://pastebin.com/Yq978hAS"&gt;https://pastebin.com/Yq978hAS&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;nus_c_init:
&lt;a href="https://pastebin.com/NJTEjNR2"&gt;https://pastebin.com/NJTEjNR2&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;uart_init
&lt;a href="https://pastebin.com/BzjuVhQJ"&gt;https://pastebin.com/BzjuVhQJ&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;uart_eventhandler:
&lt;a href="https://pastebin.com/sMGyMdRU"&gt;https://pastebin.com/sMGyMdRU&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;ble_evt_dispatch:
&lt;a href="https://pastebin.com/mRJbRzL4"&gt;https://pastebin.com/mRJbRzL4&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;that should be everything relevant. i lack the experience to tell where the problem arises. so i would be really glad if you could help me out :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding a second peripheral connection using ble_nus</title><link>https://devzone.nordicsemi.com/thread/90811?ContentTypeID=1</link><pubDate>Thu, 29 Jun 2017 15:05:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:159bb192-a1eb-43d8-b6b4-8c2bc1f4c11c</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;Upon an advertising report (receiving an advertising packet), the ble_multilink_central example will filter on device name while ble_app_uart_c will filter on UUID. I would recommend you to compare the behavior upon &amp;quot;BLE_GAP_EVT_ADV_REPORT&amp;quot; for those two examples.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding a second peripheral connection using ble_nus</title><link>https://devzone.nordicsemi.com/thread/90810?ContentTypeID=1</link><pubDate>Wed, 28 Jun 2017 14:42:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:955d4147-5ed3-4a83-b897-e07deed8960f</guid><dc:creator>uC_newbie</dc:creator><description>&lt;p&gt;hi kristin,&lt;/p&gt;
&lt;p&gt;thank you for your reply.&lt;/p&gt;
&lt;p&gt;i tried following the points you mentioned in that answer, but at the moment it is not working yet.&lt;/p&gt;
&lt;p&gt;my code is the following: (it compiles fine but UART apparently is not working. not sure about BLE)&lt;/p&gt;
&lt;p&gt;&lt;a href="https://pastebin.com/DZvsFZdA"&gt;main.c&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;i think i followed all the steps you mentioned in your linked answer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding a second peripheral connection using ble_nus</title><link>https://devzone.nordicsemi.com/thread/90807?ContentTypeID=1</link><pubDate>Wed, 28 Jun 2017 09:40:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1dc2072-868e-4673-86d8-7ef26cb6d067</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/question/139002/how-to-send-message-from-two-slave-to-one-master-in-nrf52/?answer=139264#post-id-139264"&gt;This&lt;/a&gt; answer explains what I think is the easiest way to  have multiple peripherals with ble_app_uart_c.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>