<?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>Using nrf BLE with DWM1001-DEV</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/78650/using-nrf-ble-with-dwm1001-dev</link><description>I&amp;#39;m using DWM1001-DEV, which has UWB and nrf BLE features, and my ultimate goal is replicating Apple&amp;#39;s Airtag with DWM1001-DEV. For this, I have to ensure the power consumption is small, and a coin battery should be enough for a year just like the Airtag</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 02 Sep 2021 13:59:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/78650/using-nrf-ble-with-dwm1001-dev" /><item><title>RE: Using nrf BLE with DWM1001-DEV</title><link>https://devzone.nordicsemi.com/thread/327829?ContentTypeID=1</link><pubDate>Thu, 02 Sep 2021 13:59:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0cab11dd-51d3-4d43-a5b2-4e0d9f152120</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Karl is OoO so I have taken a look. Looking at your project and there are quite a few issues. I see that the &lt;a href="https://github.com/Decawave/dwm1001-examples/tree/master/examples/ss_twr_resp"&gt;Decawave example you have started with&lt;/a&gt; is quite stripped and there is a need for a significant amount of adjustments.&lt;/p&gt;
&lt;p&gt;I expect it will be faster and better to start of with a nRF5 SDK example that use a SoftDevice, and then copy in the Decawave related code. (Also, it looks to me like the Decawave specific code is easily portable to a newer nRF5 SDK, so if you intend to make a real product in the end that would make sense to get the latest bug fixes etc. But if you just want to get something working, then taking a BLE example form SDK 14.2 would probably be the fastest.)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nrf BLE with DWM1001-DEV</title><link>https://devzone.nordicsemi.com/thread/327036?ContentTypeID=1</link><pubDate>Fri, 27 Aug 2021 15:40:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6aa6f49b-aacf-4f17-b998-c3c60862eac0</guid><dc:creator>johndoeaa1</dc:creator><description>&lt;p&gt;I did that. It seems that the xPort error was converted into multiple definitions. However, I deleted the function xPortSysTickHandler from freertos to resolve it. Thankfully, no additional errors were produced, but I don&amp;#39;t know if that&amp;#39;s the correct way.&lt;/p&gt;
&lt;p&gt;I attempted to follow the same method with &amp;quot;undefined reference to `__app_ram_start__&amp;#39;&amp;quot;. However,&amp;nbsp;&lt;span&gt;__app_ram_start__ is defined in several files and seems to be already declared. So, I&amp;#39;m not sure there is an undefined reference error.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;For the&amp;nbsp;sd_ble_gap_address_get error that happens in ble_advdata.c, it&amp;#39;s a function that&amp;#39;s in ble_gap.h. However, ble_gap.c does not exist in the project after I did a search with control-f you recommended. My current errors are:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/6318.PNG" /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;And my current project is:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/3617.SPLICEDWM1001_2D00_Dev.rar"&gt;devzone.nordicsemi.com/.../3617.SPLICEDWM1001_2D00_Dev.rar&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nrf BLE with DWM1001-DEV</title><link>https://devzone.nordicsemi.com/thread/326948?ContentTypeID=1</link><pubDate>Fri, 27 Aug 2021 09:47:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0724f97b-5e7f-4494-9fae-b5edd32692cc</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Please search your entire project (ctrl + shift + f) and search for the undeclared references. Are you able to find the undeclared functions in your project?&lt;br /&gt;If so, are they grayed out in the editor, or perhaps not showing up in the project index?&lt;br /&gt;If this is the case, look through the file to see if there is a define needed to enable the code, and if there is, make sure this define is defined in your sdk_config.&lt;br /&gt;&lt;br /&gt;You might also have to change your project defines if you have not already done so.&lt;br /&gt;What is the contents of your preprocessor defines in the project options for the common configuration?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nrf BLE with DWM1001-DEV</title><link>https://devzone.nordicsemi.com/thread/326811?ContentTypeID=1</link><pubDate>Thu, 26 Aug 2021 13:19:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e29f9fce-c3dc-4c86-9123-f080ec7c17b0</guid><dc:creator>johndoeaa1</dc:creator><description>&lt;p&gt;I already have all those files in Segger in my&amp;nbsp;nRF_SoftDevice folder. I checked the ble_app_beacon project to find where all those functions belong. Afterwards, I added them to my current project.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/1376.Capture.PNG" /&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Softdevice is included above in my project.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nrf BLE with DWM1001-DEV</title><link>https://devzone.nordicsemi.com/thread/326775?ContentTypeID=1</link><pubDate>Thu, 26 Aug 2021 12:08:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7bc7d89c-9a5b-4f8f-b938-0aeaf41e6128</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;I see that you have an undefined reference to sd_ble_gap_address_get and __app_ram_start__.&lt;br /&gt;Could it be that you have not included the necessary SoftDevice files, such as nrf_sdh.c, nrf_sdh_ble.c, nrf_sdh_soc.c, or similar, for example?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nrf BLE with DWM1001-DEV</title><link>https://devzone.nordicsemi.com/thread/326614?ContentTypeID=1</link><pubDate>Wed, 25 Aug 2021 17:54:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc974d1f-bc63-4f09-a4b1-c705dd33d3df</guid><dc:creator>johndoeaa1</dc:creator><description>&lt;p&gt;Hello, the change doesn&amp;#39;t seem to clear the undefined errors I&amp;#39;m getting. Though it seems to resolve one of the errors as I&amp;#39;m getting only 1 error. These are the current errors I&amp;#39;m getting:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/37138.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;The sdk_config file is very hard to modify as I&amp;#39;m not sure which variable I need to change when I use what specific functions. My current project state is:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/3414.SPLICEDWM1001_2D00_Dev.rar"&gt;devzone.nordicsemi.com/.../3414.SPLICEDWM1001_2D00_Dev.rar&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nrf BLE with DWM1001-DEV</title><link>https://devzone.nordicsemi.com/thread/326470?ContentTypeID=1</link><pubDate>Wed, 25 Aug 2021 08:34:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ef3aee5-59be-4d19-a99a-529cf2f8095a</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Can you make sure that you have defines in sdk_config such as&amp;nbsp;NRF_SDH_BLE_ENABLED set to 1?&lt;br /&gt;Undefined references will often be the case if a file is not included correctly, or if the corresponding _ENABLED define is not set so that the file is not included in the compilation.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nrf BLE with DWM1001-DEV</title><link>https://devzone.nordicsemi.com/thread/326421?ContentTypeID=1</link><pubDate>Tue, 24 Aug 2021 18:00:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c3777a9-d8b0-4bda-8116-d5225593c243</guid><dc:creator>johndoeaa1</dc:creator><description>&lt;p&gt;Yes, I&amp;#39;m still getting the undefined errors only. Here&amp;#39;s a screenshot:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/7077.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;Though I&amp;#39;m not getting any RTOS errors I think&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nrf BLE with DWM1001-DEV</title><link>https://devzone.nordicsemi.com/thread/326301?ContentTypeID=1</link><pubDate>Tue, 24 Aug 2021 08:14:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:987260cb-3a88-46b8-ae22-ff8df45a498b</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello again,&lt;/p&gt;
&lt;p&gt;Did it not make any difference when you moved all the changes to the common build configuration?&lt;br /&gt;What build configuration are you building your project with?&lt;br /&gt;What errors are you currently facing, is it still the undefined references to the FreeRTOS files?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nrf BLE with DWM1001-DEV</title><link>https://devzone.nordicsemi.com/thread/326213?ContentTypeID=1</link><pubDate>Mon, 23 Aug 2021 13:42:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ecefa466-73b2-4a2c-a4c8-d4d19dfd4d25</guid><dc:creator>johndoeaa1</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I haven&amp;#39;t been doing the preprocessor changes to the common, but just fixed that. However, the same errors seem to persist. I attached my project here:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/8688.SPLICEDWM1001_2D00_Dev.rar"&gt;devzone.nordicsemi.com/.../8688.SPLICEDWM1001_2D00_Dev.rar&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The nrf SDK folder is inside this project. So, It&amp;#39;s relatively close to the C: drive&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nrf BLE with DWM1001-DEV</title><link>https://devzone.nordicsemi.com/thread/326112?ContentTypeID=1</link><pubDate>Mon, 23 Aug 2021 07:41:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5be54f07-6487-48ad-8b33-f5c3f3f10b0b</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Great, thank you for letting me know.&lt;br /&gt;&lt;br /&gt;Could you confirm that you are making these changes in the options for the&amp;nbsp;&lt;em&gt;common&lt;/em&gt; build configuration? All other build configurations inherits from the common one, so if you make the change here it will apply to all your build configurations.&lt;br /&gt;&lt;br /&gt;If you are already doing this in the common build configuration, could you send me your SES project file so I may take a look, and also let me know what the absolute path to the file is in your system?&lt;/p&gt;
[quote user="johndoeaa1"]I especially moved my project to my C: directory to get the shortest path possible.[/quote]
&lt;p&gt;This is good. Could you confirm that you have moved the entire SDK to the top of the C: drive, and not just your project folder?&lt;br /&gt;I assume the former is the case, but I ask in order to rule out any misunderstandings here.&lt;br /&gt;The reason why the whole SDK must be moved is that the SDK examples all use relative paths in their included directories.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nrf BLE with DWM1001-DEV</title><link>https://devzone.nordicsemi.com/thread/326002?ContentTypeID=1</link><pubDate>Fri, 20 Aug 2021 14:26:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:59a0e830-e18d-4d8c-b3cc-db6179ef555a</guid><dc:creator>johndoeaa1</dc:creator><description>&lt;p&gt;In the user included directory, I double-checked for trailing spaces and 260 character limits. I copied the user included directory to a text file and used control-F to find any spaces and it seems clear. I especially moved my project to my C: directory to get the shortest path possible. However, I&amp;#39;m still getting the same errors.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nrf BLE with DWM1001-DEV</title><link>https://devzone.nordicsemi.com/thread/325877?ContentTypeID=1</link><pubDate>Fri, 20 Aug 2021 08:58:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ebadbc32-7119-4ccc-a409-9b0891722f3a</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user="johndoeaa1"]It turns out that I had to remove some files from the Freertos folder in SEGGER to eliminate the multiple function declaration issue.[/quote]
&lt;p&gt;Great, I am glad to hear that you were able to identify and resolve those issues!&lt;/p&gt;
[quote user="johndoeaa1"]However, although I added the necessary files to SEGGER and double-checked my preprocessor path list, SEGGER doesn&amp;#39;t detect them. The necessary files are there, such as&amp;nbsp;&amp;quot;nrf_sdh_ble.h&amp;quot; for the&amp;nbsp;nrf_sdh_ble_default_cfg_set(APP_BLE_CONN_CFG_TAG, &amp;amp;ram_start) issue, but SEGGER is not detecting it[/quote]
&lt;p&gt;Could you make sure that the path to these files does not exceed the 260 char limit set by Windows? Please also make sure that you have no trailing white-spaces anywhere in your User Included Directories - this will likely break the paths.&lt;br /&gt;In general, it is also recommended to make sure that you do not have any white-spaces in the paths provided, but this is more of a general c tip.&lt;/p&gt;
[quote user="johndoeaa1"]Thanks a lot for your suggestions.[/quote][quote user="johndoeaa1"]thanks a lot for your help man, I&amp;#39;d been making progress![/quote]
&lt;p&gt;No problem at all - its great to see that you are progressing with identifying and resolving the issues!&lt;br /&gt;&lt;br /&gt;Looking forward to resolving these last undefined reference errors!&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nrf BLE with DWM1001-DEV</title><link>https://devzone.nordicsemi.com/thread/325816?ContentTypeID=1</link><pubDate>Thu, 19 Aug 2021 23:12:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:104473ec-7f07-43be-9e58-d13a056eb658</guid><dc:creator>johndoeaa1</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Thanks a lot for your suggestions. It turns out that I had to remove some files from the Freertos folder in SEGGER to eliminate the multiple function declaration issue. The only issue I&amp;#39;m having is the undefined reference.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/2705.Capture.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;The way I solved this issue is that I&amp;#39;d go to the example in the&amp;nbsp;nRF5_SDK_14.2.0 folder and run the example&amp;nbsp;ble_app_beacon. When a function is undefined in my&amp;nbsp;ss_twr_resp example, I&amp;#39;d add the existing file, and add the file path to the preprocessor. This was enough to get rid of most of the undefined references.&lt;/p&gt;
&lt;p&gt;However, although I added the necessary files to SEGGER and double-checked my preprocessor path list, SEGGER doesn&amp;#39;t detect them. The necessary files are there, such as&amp;nbsp;&amp;quot;nrf_sdh_ble.h&amp;quot; for the&amp;nbsp;nrf_sdh_ble_default_cfg_set(APP_BLE_CONN_CFG_TAG, &amp;amp;ram_start) issue, but SEGGER is not detecting it. I Googled the error and found sources, such as&amp;nbsp;&lt;a href="https://stackoverflow.com/questions/5559250/c-error-undefined-reference-to-function-but-it-is-defined"&gt;https://stackoverflow.com/questions/5559250/c-error-undefined-reference-to-function-but-it-is-defined&lt;/a&gt;.&amp;nbsp;I don&amp;#39;t think this is a general C issue, but might be a SEGGER one. I&amp;#39;d appreciate any kind of advice, and thanks a lot for your help man, I&amp;#39;d been making progress! Here&amp;#39;s also my project in case I missed a detail:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/SPLICEDWM1001_2D00_Dev.rar"&gt;devzone.nordicsemi.com/.../SPLICEDWM1001_2D00_Dev.rar&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nrf BLE with DWM1001-DEV</title><link>https://devzone.nordicsemi.com/thread/325663?ContentTypeID=1</link><pubDate>Thu, 19 Aug 2021 09:00:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:19d56126-e257-4bdf-984b-2ea0eb6cf6f9</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello again,&lt;/p&gt;
[quote user="johndoeaa1"]Thanks, man. Your answers are very clear I think. However, I&amp;#39;m a noob with SEGGER so please forgive me if I miss something obvious or inundate you with more questions.&amp;nbsp;[/quote]
&lt;p&gt;No worries at all - I am happy to help!&lt;/p&gt;
[quote user="johndoeaa1"]Q1: I enabled the APP_TIME_ENABLED. It was already defined as 0. I changed it to 1. The error seems to have disappeared.[/quote]
&lt;p&gt;Great, I am glad to hear that those errors are now resolved.&lt;/p&gt;
[quote user="johndoeaa1"]Q2:&amp;nbsp;I&amp;#39;m a little lost about&amp;nbsp;&lt;span&gt;sdk_config.h. I know what it does. However, when I add a file to my project, how can I know what to enable in that file or which functions need to be enabled?&lt;/span&gt;[/quote]
&lt;p&gt;I am not sure about the last part of your question, when you are asking which functions needs to be enabled, but in general you will need to enable each driver or module that you add to your project. In addition to enabling the driver or module you may also configure it in the sdk_config. An easy way to do this is to look up an existing example that uses the module already, and see what its relevant sdk_config configuration is - this way, you will get a working default configuration right off the bat, and you do not have to set all the configurations yourself.&lt;/p&gt;
[quote user="johndoeaa1"]Q3: I changed my function name to advertise123 to ensure I&amp;#39;m not overlapping with any built-in variable/function name. However, the issue still seems to persist.[/quote][quote user="johndoeaa1"]However, now most of my errors are multiple definitions. What should I do?&amp;nbsp;[/quote]
&lt;p&gt;This is a good step in the debugging of the issue.&lt;br /&gt;Looking at the attached project I see that you have #included a .c file.&lt;br /&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;#include &amp;quot;BLEUtil.c&amp;quot;&lt;/pre&gt;&lt;br /&gt;You should never do this, and instead just include header files. Please take a look at &lt;a href="https://stackoverflow.com/questions/30821356/multiple-definition-first-defined-here-errors"&gt;this stackoverflow answer for more detail&lt;/a&gt;.&lt;br /&gt;Try to create a headerfile for your BLEUtil file, and include that instead. Also make sure that you have not included .c files anywhere else in your code as well.&lt;br /&gt;Try this, and let me know if it resolves your multiple definition errors.&lt;/p&gt;
[quote user="johndoeaa1"]I don&amp;#39;t want to dump my project on your desk, but here&amp;#39;s the zip file in case if you need more details. I modified the example&amp;nbsp;ss_twr_resp (which I should have created my own project sorry).[/quote]
&lt;p&gt;No problem at all! I recommend starting out from an existing example whenever possible / available - this is far better than writing everything from scratch to &amp;#39;reinvent the wheel&amp;#39;. This approach might be slightly more boring than making it from scratch since it requires more studying of the existing code rather than writing it on your own at the beginning of the development, but overall I think this approach should be used whenever possible in order to save time.&lt;/p&gt;
[quote user="johndoeaa1"]Also, feel free to recommend me tutorials on these kinds&amp;nbsp;of issues. I think the best tutorial in the field is&amp;nbsp;&lt;a href="https://www.youtube.com/watch?v=6__nNtWKYc4&amp;amp;ab_channel=Sumair%27sEmbeddedEngineering,"&gt;https://www.youtube.com/watch?v=6__nNtWKYc4&amp;amp;ab_channel=Sumair%27sEmbeddedEngineering&lt;/a&gt;.&amp;nbsp;However, I didn&amp;#39;t think it went too much in detail about the issues I&amp;#39;m having.[/quote]
&lt;p&gt;Yes, Sumair&amp;#39;s tutorials are excellent for learning how to use the nRF5 SDK specifically, and how to make use of all the features of the nRF52 series. However, he does not cover general C errors and issues, since it is not specific to nRF development.&lt;br /&gt;I am not sure what to recommend you for general C issues, but my main recommendation would be to google the error messages you get when you try to compile your project and look at stackoverflow answers to see what the errors root cause might be. Then go through your code to see if you might have done anything similar.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nrf BLE with DWM1001-DEV</title><link>https://devzone.nordicsemi.com/thread/325585?ContentTypeID=1</link><pubDate>Wed, 18 Aug 2021 18:04:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aaba9411-5e40-43b7-a72b-4a60f17ec9b7</guid><dc:creator>johndoeaa1</dc:creator><description>&lt;p&gt;Thanks, man. Your answers are very clear I think. However, I&amp;#39;m a noob with SEGGER so please forgive me if I miss something obvious or inundate you with more questions.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Q1: I enabled the APP_TIME_ENABLED. It was already defined as 0. I changed it to 1. The error seems to have disappeared. However, now most of my errors are multiple definitions. What should I do?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/7725.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;Q2:&amp;nbsp;I&amp;#39;m a little lost about&amp;nbsp;&lt;span&gt;sdk_config.h. I know what it does. However, when I add a file to my project, how can I know what to enable in that file or which functions need to be enabled?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Q3: I changed my function name to advertise123 to ensure I&amp;#39;m not overlapping with any built-in variable/function name. However, the issue still seems to persist.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I don&amp;#39;t want to dump my project on your desk, but here&amp;#39;s the zip file in case if you need more details. I modified the example&amp;nbsp;ss_twr_resp (which I should have created my own project sorry).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/SPLICEDWM1001_2D00_Dev.zip"&gt;devzone.nordicsemi.com/.../SPLICEDWM1001_2D00_Dev.zip&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Also, feel free to recommend me tutorials on these kinds&amp;nbsp;of issues. I think the best tutorial in the field is&amp;nbsp;&lt;a href="https://www.youtube.com/watch?v=6__nNtWKYc4&amp;amp;ab_channel=Sumair%27sEmbeddedEngineering,"&gt;https://www.youtube.com/watch?v=6__nNtWKYc4&amp;amp;ab_channel=Sumair%27sEmbeddedEngineering&lt;/a&gt;.&amp;nbsp;However, I didn&amp;#39;t think it went too much in detail about the issues I&amp;#39;m having.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;Best Regards.&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: Using nrf BLE with DWM1001-DEV</title><link>https://devzone.nordicsemi.com/thread/325488?ContentTypeID=1</link><pubDate>Wed, 18 Aug 2021 12:12:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:11d36321-2516-40ef-9174-b73bc0b90139</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;Thank you for your patience with this.&lt;/p&gt;
[quote user=""]I added all necessary files through SEGGER using &amp;quot;add existing file&amp;quot;. Furthermore, for every file I added, I also went to the options of the project, into preprocessor, and added the folder path to &amp;quot;User included Directories&amp;quot;.[/quote]
&lt;p&gt;Great! Could you confirm whether you also enabled the different added modules in the sdk_config.h file?&lt;/p&gt;
[quote user=""]I still get this error (for instance app_timer.h is added, but app_timer_init() still is undefined, according to SEGGER).[/quote]
&lt;p&gt;For example, when adding the application timer library to your project you will need to add the source file and include path (which you have already done), but you will also need to define APP_TIMER_ENABLED 1 in your sdk_config.h for the app_timer.c code to be compiled and included in your project.&lt;br /&gt;You will need to do this for all nrfx driver etc. that you will be using as well.&lt;br /&gt;Please also make sure that there is only a single *_ENABLED defined for each module. I.e do not have both TIMER_ENABLED and NRFX_TIMER_ENABLED &lt;em&gt;defined&lt;/em&gt;&amp;nbsp;(comment one of them out or remove it all together, do not just define it to 0) in your sdk_config as this may cause some trouble with which version of the drivers you are using.&lt;/p&gt;
[quote user=""]Mainly, I see two errors. Error 1 indicates there are two definitions of specific functions. I&amp;#39;m quite sure I did not define them twice. However, I don&amp;#39;t know how to approach this problem.[/quote]
&lt;p&gt;It is hard for me to comment on the multiple definition here without seeing the code, but it looks to be the an issue with a variable or function called &amp;#39;advertise&amp;#39;, which you should take a closer look at.&lt;br /&gt;&lt;br /&gt;Looking forward to resolving these issue together!&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>