<?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>nrf51822 s120 Multi-link add s110 ble_uart NUS service doesn&amp;#39;t work ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/14043/nrf51822-s120-multi-link-add-s110-ble_uart-nus-service-doesn-t-work</link><description>Hi, 
 As title ,
I try to add the NUS service that show on the ble_app_uart project into Multi-link project.
But it doesn&amp;#39;t work . 
 I want to a central connected to at least two peripheral.what should I do ?
the Operation is under SDK10 &amp;amp; s120 </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 26 May 2016 10:33:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/14043/nrf51822-s120-multi-link-add-s110-ble_uart-nus-service-doesn-t-work" /><item><title>RE: nrf51822 s120 Multi-link add s110 ble_uart NUS service doesn't work ?</title><link>https://devzone.nordicsemi.com/thread/53705?ContentTypeID=1</link><pubDate>Thu, 26 May 2016 10:33:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af470338-06e9-4a8c-84fa-e6572082ef68</guid><dc:creator>Greed</dc:creator><description>&lt;p&gt;Ok , thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51822 s120 Multi-link add s110 ble_uart NUS service doesn't work ?</title><link>https://devzone.nordicsemi.com/thread/53704?ContentTypeID=1</link><pubDate>Thu, 26 May 2016 10:29:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:122f8cf6-57b8-4596-bc8e-77e69e7bd219</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Great! If you have more questions, please add them separately.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51822 s120 Multi-link add s110 ble_uart NUS service doesn't work ?</title><link>https://devzone.nordicsemi.com/thread/53703?ContentTypeID=1</link><pubDate>Thu, 26 May 2016 10:03:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d68f8f2-7837-43e4-a404-7463413846e7</guid><dc:creator>Greed</dc:creator><description>&lt;p&gt;Thanks.
I solved the problem of service.
But I still have some problems.
By the way ,
if I want to do a project following.
The central that has NUS service can connect to at least two peripheral .
Two peripheral also have NUS service.
So , What am i to do in ble_app_multilink_central project?
does it Such as add a NUS service into the ble_app_multilink_peripheral project?
Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51822 s120 Multi-link add s110 ble_uart NUS service doesn't work ?</title><link>https://devzone.nordicsemi.com/thread/53702?ContentTypeID=1</link><pubDate>Wed, 25 May 2016 13:52:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b59031db-7b5c-42db-ad91-961b134bae77</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;It does not stop at power_manage, it waits for an application event.&lt;/p&gt;
&lt;p&gt;Anyways, I had a look at your application.&lt;/p&gt;
&lt;p&gt;In advertising_init() you are adding the NUS UUID to scanrsp struct, but you are not providing it to  ble_advertising_init(&amp;amp;advdata, &lt;strong&gt;NULL&lt;/strong&gt;, &amp;amp;options, on_adv_evt, NULL);&lt;/p&gt;
&lt;p&gt;I changed this to&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;err_code = ble_advertising_init(&amp;amp;advdata, &amp;amp;scanrsp, &amp;amp;options, on_adv_evt, NULL);&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;But this returns the 0x00000007 error, NRF_ERROR_INVALID_PARAM.&lt;/p&gt;
&lt;p&gt;This is because you are giving it an UUID type that we haven&amp;#39;t added to the stack with sd_ble_uuid_vs_add(), this is giving to the stack in services_init(), which is called after advertising_init(). Change the order of services_init() and advertising_init() and see if you get the result you want.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51822 s120 Multi-link add s110 ble_uart NUS service doesn't work ?</title><link>https://devzone.nordicsemi.com/thread/53701?ContentTypeID=1</link><pubDate>Wed, 25 May 2016 12:54:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e47f0c85-a1e7-4dd9-8e12-434798161628</guid><dc:creator>Greed</dc:creator><description>&lt;p&gt;I updated some information .
I think that my project and ble_app_uart project stop at power_manger in debug mode.
Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51822 s120 Multi-link add s110 ble_uart NUS service doesn't work ?</title><link>https://devzone.nordicsemi.com/thread/53699?ContentTypeID=1</link><pubDate>Wed, 25 May 2016 11:28:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c68a865-17bd-4cf4-b843-1f0df9db0df4</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Then you have probably gotten a returned error somewhere. Have you used to the debugger? If you put a breakpoint on ble_advertising_start(), are you hitting it? If you want me to take a look at your code, please zip your complete project and upload it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51822 s120 Multi-link add s110 ble_uart NUS service doesn't work ?</title><link>https://devzone.nordicsemi.com/thread/53706?ContentTypeID=1</link><pubDate>Tue, 24 May 2016 15:21:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:847f0269-ca8f-4e8b-b57e-16c9ec62ca3d</guid><dc:creator>Greed</dc:creator><description>&lt;p&gt;Hi,
First,
If the central isn&amp;#39;t be connected to the power , I can see the peripheral on the phone.
When central is connected to the power , I can&amp;#39;t see the peripheral on the phone.
So , I can sure that  ble_app_multilink_peripheral &amp;amp; ble_app_multilink_central are working.&lt;/p&gt;
&lt;p&gt;Second
I try to add the NUS service into ble_app_multilink_peripheral project that like files above.
It also can do ble_app_multilink_peripheral &amp;amp; ble_app_multilink_central are working.
But i can&amp;#39;t see NUS service on the phone.&lt;/p&gt;
&lt;p&gt;By the way
&amp;quot;main.c&amp;quot; is the project that I try to add the NUS service .
&amp;quot;modify.txt&amp;quot; is the code which I modify or add.&lt;/p&gt;
&lt;p&gt;Thank.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51822 s120 Multi-link add s110 ble_uart NUS service doesn't work ?</title><link>https://devzone.nordicsemi.com/thread/53700?ContentTypeID=1</link><pubDate>Tue, 24 May 2016 10:18:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd6ba74a-2ba7-47fe-9593-8cf2af5f8d81</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;So you have started off ble_app_multilink_peripheral? And you have tried to add the NUS service to this example? How have you added it? What is it that doesn&amp;#39;t work? You need to provide some more information.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51822 s120 Multi-link add s110 ble_uart NUS service doesn't work ?</title><link>https://devzone.nordicsemi.com/thread/53698?ContentTypeID=1</link><pubDate>Tue, 24 May 2016 10:13:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4896ac1c-3f80-40f9-a37d-eae88c660df7</guid><dc:creator>Greed</dc:creator><description>&lt;p&gt;I can use Iphone to find the peripheral before adding the NUS service into Multi-link project.
When added the NUS service, I can&amp;#39;t find it .&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51822 s120 Multi-link add s110 ble_uart NUS service doesn't work ?</title><link>https://devzone.nordicsemi.com/thread/53697?ContentTypeID=1</link><pubDate>Tue, 24 May 2016 09:53:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f9d2ec5-de24-4bb3-acbc-593cdac854f8</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;What doesn&amp;#39;t work?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>