<?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>Changing NRF_SDH_BLE_VS_UUID_COUNT to 1 stop BLE from working (S132 SoftDevice, SDK 17.1.0)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/99952/changing-nrf_sdh_ble_vs_uuid_count-to-1-stop-ble-from-working-s132-softdevice-sdk-17-1-0</link><description>Hi, I&amp;#39;m developing a firmware for a custom PCB using the Taiyo Yuden chip, which has the nRF52832 chip inside. I use ST Link via openocd to program the board, so I have no mean to view the log file or doing print command to debug. The SoftDevice I use</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 02 Jun 2023 00:19:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/99952/changing-nrf_sdh_ble_vs_uuid_count-to-1-stop-ble-from-working-s132-softdevice-sdk-17-1-0" /><item><title>RE: Changing NRF_SDH_BLE_VS_UUID_COUNT to 1 stop BLE from working (S132 SoftDevice, SDK 17.1.0)</title><link>https://devzone.nordicsemi.com/thread/428866?ContentTypeID=1</link><pubDate>Fri, 02 Jun 2023 00:19:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d16e973-10a3-45ea-94c6-535975b0b59b</guid><dc:creator>Xander To</dc:creator><description>&lt;p&gt;Hi, I figured out. I actually followed all steps correctly but turned out I use static keyword in my functions in the header file, which make them inaccessible from main.c&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Changing NRF_SDH_BLE_VS_UUID_COUNT to 1 stop BLE from working (S132 SoftDevice, SDK 17.1.0)</title><link>https://devzone.nordicsemi.com/thread/428774?ContentTypeID=1</link><pubDate>Thu, 01 Jun 2023 13:45:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:56b37e10-ebcd-490b-9ec2-1d03a4d29b36</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Seems you don&amp;#39;t follow this&amp;nbsp;&lt;strong&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/ug_gsg_ses/UG/gsg/add_headers_ses.html"&gt;Including header files&lt;/a&gt;&lt;/strong&gt;&amp;nbsp;doc. to include the head file. Please check it again.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Changing NRF_SDH_BLE_VS_UUID_COUNT to 1 stop BLE from working (S132 SoftDevice, SDK 17.1.0)</title><link>https://devzone.nordicsemi.com/thread/428579?ContentTypeID=1</link><pubDate>Wed, 31 May 2023 22:16:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c86f77d4-bc48-49d5-be2e-3e8cf760c2e2</guid><dc:creator>Xander To</dc:creator><description>&lt;p&gt;Hi Amanda, I can fix the issue of adding the existing built-in library files of nRF SDK. However, I have the same issue but this time with my custom header file. I have a custom header file name VMS_ble.h. This file and its VMS_ble.c defined the function log_init. When compiling, I have this error:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Output/Debug/Obj/ble_app_uart_pca10040_s132/main.o: in function `main&amp;#39;:&lt;br /&gt;undefined reference to `log_init&amp;#39;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Here are what I have tried:&lt;br /&gt;1. Ensure #include &amp;quot;VMS_ble.h&amp;quot; is in main.c&lt;br /&gt;2. Added VMS_ble.c and VMS_ble.h to the project directory&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1685571137142v2.png" /&gt;&lt;/p&gt;
&lt;p&gt;3. Added the path to User Included Directory. This step is a bit tricky in my special case. The VMS_ble.h is located in this directory&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1685571251662v3.png" /&gt;&lt;/p&gt;
&lt;p&gt;while the SES project file is located in here. Therefore, I put the path as ../../..&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1685571291239v4.png" /&gt;&lt;/p&gt;
&lt;p&gt;All the .c and .h files in these 2 paths are identical. What do I miss? I have checked the instruction link you sent yesterday.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Changing NRF_SDH_BLE_VS_UUID_COUNT to 1 stop BLE from working (S132 SoftDevice, SDK 17.1.0)</title><link>https://devzone.nordicsemi.com/thread/428258?ContentTypeID=1</link><pubDate>Tue, 30 May 2023 16:31:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d3ce0729-74b7-4760-a7e2-b23cf34b3945</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;See&amp;nbsp;&lt;a title="Adding files" href="https://infocenter.nordicsemi.com/topic/ug_gsg_ses/UG/gsg/add_content_ses.html?cp=1_0_1_6_5"&gt;Adding files&lt;/a&gt;&amp;nbsp;documentation for the information.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Changing NRF_SDH_BLE_VS_UUID_COUNT to 1 stop BLE from working (S132 SoftDevice, SDK 17.1.0)</title><link>https://devzone.nordicsemi.com/thread/428013?ContentTypeID=1</link><pubDate>Mon, 29 May 2023 21:24:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1aee31dd-26ba-48f4-87dc-9558bc304d69</guid><dc:creator>Xander To</dc:creator><description>&lt;p&gt;Hi Amanda,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I have purchased the nRF52832 eval kit and used Segger Embedded Studio. During the processed of using an online example to customize BLE services, I encounter this error after compiling all the files:&lt;/p&gt;
&lt;p&gt;Linking ble_app_uart_pca10040_s132.elf&lt;/p&gt;
&lt;p&gt;Output/Debug/Obj/ble_app_uart_pca10040_s132/main.o: in function `pm_evt_handler&amp;#39;:&lt;/p&gt;
&lt;p&gt;undefined reference to `fds_gc&amp;#39;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I have added the fds.c file to the SES directory, I also added the fds folder into the User Included Directory. I also make sure my main.c has included &amp;quot;fds.h&amp;quot;. What do I miss here? Can you please let me know the solution? Thank you.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Xander&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Changing NRF_SDH_BLE_VS_UUID_COUNT to 1 stop BLE from working (S132 SoftDevice, SDK 17.1.0)</title><link>https://devzone.nordicsemi.com/thread/426666?ContentTypeID=1</link><pubDate>Mon, 22 May 2023 16:38:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b57b73cd-f30a-474c-b4b6-7cbdac658460</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
[quote user="Xander To"]I want to&amp;nbsp;know if it will be a lot easier to program in Segger Studio?[/quote]
&lt;p&gt;&lt;span&gt;Segger Studio can help develop with nRF5 SDK easier since it has a friendly GUI and functions.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
[quote user="Xander To"]Do I have to still change sdk_config.h whenever I enable a new module?[/quote]
&lt;p&gt;That&amp;#39;s true.&amp;nbsp;&lt;/p&gt;
[quote user="Xander To"]Do I have to add file to Makefile whenever I added a new file to the project?[/quote]
&lt;p&gt;That&amp;#39;s correct.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Please be aware that our latest SDK is &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/index.html"&gt;nRF Connect SDK (NCS)&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;/span&gt;&lt;span&gt;nRF5SDK is in maintained mode. That means the latest features update will be with NCS instead of nRF5SDK. Seems you are in the early stage to start a project. I would suggest you use NCS. There are courses demonstrating how to develop with NCS and BLE at &lt;a href="https://academy.nordicsemi.com/"&gt;Nordic Developer Academy&lt;/a&gt;. Hope they can help you.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Changing NRF_SDH_BLE_VS_UUID_COUNT to 1 stop BLE from working (S132 SoftDevice, SDK 17.1.0)</title><link>https://devzone.nordicsemi.com/thread/426652?ContentTypeID=1</link><pubDate>Mon, 22 May 2023 15:36:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:843cce64-0f3c-4dc3-81b2-e61e676aeb83</guid><dc:creator>Xander To</dc:creator><description>&lt;p&gt;Hi Amanda,&lt;/p&gt;
&lt;p&gt;The tutorial in the above link has mentioned increasing RAM size in the .ld file. The issue I have is that if I start from the&amp;nbsp;&lt;span&gt;ble_app_hrs&amp;nbsp;template and follow the above tutorial to create the custom BLE service, BLE stops working as soon as I add the custom BLE service. However, if I start again from the ble_uart template, I can remove the NUS service and replace it by my custom service and it works. So I guess the different is in the sdk_config.h and/or Makefile files. However, I don&amp;#39;t know what else to change in sdk_config.h rather than the NRF_SDH_BLE_VS_UUID_COUNT parameter.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;br /&gt;We will purchase a dev board soon and I want to&amp;nbsp;know if it will be a lot easier to program in Segger Studio? Do I have to still change sdk_config.h whenever I enable a new module? Do I have to add file to Makefile whenever I added a new file to the project? This is quite a tedious process that I want it to be automatic.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Changing NRF_SDH_BLE_VS_UUID_COUNT to 1 stop BLE from working (S132 SoftDevice, SDK 17.1.0)</title><link>https://devzone.nordicsemi.com/thread/426620?ContentTypeID=1</link><pubDate>Mon, 22 May 2023 14:15:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a845fa5e-b745-469d-bc82-5ecd8f0ecb7b</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please try to modify the RAM size from Project -&amp;gt; Options-&amp;gt; Linker -&amp;gt; Section Placement Macros according to the log. The following is the example from ble_app_blink_s132&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1684764894080v3.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>