<?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>Can we have multiply services in the program for BLE applicaiton?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/25578/can-we-have-multiply-services-in-the-program-for-ble-applicaiton</link><description>Hi everyone, I have one question shown in the title. I try to add a second service in &amp;quot;ble_app_uart&amp;quot; project (the project is in the SDK for nRF51, SD130 v2), I did not change any code in the original project but only add a new service I learnt in this</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 30 Sep 2017 05:11:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/25578/can-we-have-multiply-services-in-the-program-for-ble-applicaiton" /><item><title>RE: Can we have multiply services in the program for BLE applicaiton?</title><link>https://devzone.nordicsemi.com/thread/100839?ContentTypeID=1</link><pubDate>Sat, 30 Sep 2017 05:11:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b6ed3885-061b-48d6-8ad2-2d80b3db6cd1</guid><dc:creator>KC</dc:creator><description>&lt;p&gt;Many thanks. The NRF log is very useful, I solve the problem with that.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can we have multiply services in the program for BLE applicaiton?</title><link>https://devzone.nordicsemi.com/thread/100837?ContentTypeID=1</link><pubDate>Sat, 30 Sep 2017 05:10:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5930e29e-12a1-4f33-8578-7b64bef6d0b8</guid><dc:creator>KC</dc:creator><description>&lt;p&gt;Thank you very much. It was the problem of memory. RTT NRF log can print the new memory and address. It works after I update the new address.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can we have multiply services in the program for BLE applicaiton?</title><link>https://devzone.nordicsemi.com/thread/100836?ContentTypeID=1</link><pubDate>Fri, 29 Sep 2017 10:56:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:18199a55-cd6e-4f69-a201-2fd24433b183</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;If you use one or more vendor specific UUIDs you have to inform the Softdevice about it in ble_stack_init(). Have you added:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;ble_enable_params.common_enable_params.vs_uuid_count = &amp;#39;number_of_vs_uuids&amp;#39;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;When you add UUIDs like this you will most likely have to change the RAM base and start address as well, like shown in the &lt;a href="https://devzone.nordicsemi.com/question/167503/how-do-i-control-the-ram_start-and-app_ram_base-in-softdevice_enable-for-s132-they-should-be-equal-but-are-not-0x20002000-vs-0x20002060/"&gt;comment section here&lt;/a&gt;. Use RTT Viewer or a UART serial terminal to see the debug messages from the Softdevice. If none of this helps, please try to &lt;a href="https://devzone.nordicsemi.com/question/60125/my-device-is-freezing-and-restarting/"&gt;debug like this&lt;/a&gt; to pinpoint where and why things go wrong.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can we have multiply services in the program for BLE applicaiton?</title><link>https://devzone.nordicsemi.com/thread/100838?ContentTypeID=1</link><pubDate>Fri, 29 Sep 2017 10:54:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a3c0d60-5c02-4b05-b9fc-d5ae37d0dc0c</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;If you add things to the stack you might hit RAM allocation limits and you need to recompile the project with different settings in linker scripts. This is one of typical problems, not saying the only one. It&amp;#39;s actually hard to say from your poor description. So the answer to your questions is &amp;quot;Surely it is possible to add new GATT objects to nRF5x project which uses GATT Server, we all are doing it every day for years.&amp;quot;&lt;/p&gt;
&lt;p&gt;Run the project with RTT or UART debug print outs and see where is the error. 99% of them are already asked and answered on this forum so the rest of debugging and ficing should be quick.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>