<?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>Issue custom GATT streaming in the firmware when building in release mode.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/127926/issue-custom-gatt-streaming-in-the-firmware-when-building-in-release-mode</link><description>Hello Nordic Team. I&amp;#39;m currently facing an issue when building in release mode (CONFIG_LOG, SERIAL, CONSOLE disabled). The issue is that after a random time (no longer than 5 minutes) the streaming value in the custom GATT Service suddenly stops. However</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 28 Apr 2026 11:57:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/127926/issue-custom-gatt-streaming-in-the-firmware-when-building-in-release-mode" /><item><title>RE: Issue custom GATT streaming in the firmware when building in release mode.</title><link>https://devzone.nordicsemi.com/thread/565629?ContentTypeID=1</link><pubDate>Tue, 28 Apr 2026 11:57:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4324b795-7f47-49e5-9d54-4f5d03e7bb68</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Please let me know if it changes anything. Would also be good if you could try to debug this a bit further. For example,&amp;nbsp;would&amp;nbsp;enabling logging in the release configuration make it work again?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue custom GATT streaming in the firmware when building in release mode.</title><link>https://devzone.nordicsemi.com/thread/565562?ContentTypeID=1</link><pubDate>Mon, 27 Apr 2026 18:34:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ed5a594-e5ba-4df0-96c7-ed88d4ddb998</guid><dc:creator>Caio Camargo</dc:creator><description>&lt;p&gt;I&amp;#39;m currently testing this changes. However to answer you question, yes it&amp;#39;s confirm either where it&amp;#39;s stop or somewhere else, as I said, the firmware keeps running, but the thread that takes the semaphore never take. I started to think of different threads priorities, then put every thread to the same and let the scheduler to its jobs, but no success. Still get stuck with the LED ON.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue custom GATT streaming in the firmware when building in release mode.</title><link>https://devzone.nordicsemi.com/thread/565548?ContentTypeID=1</link><pubDate>Mon, 27 Apr 2026 13:30:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5f93eefe-816b-4be0-aeec-111448817926</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Thank you. I see now that this&amp;nbsp;and the previous version of the&amp;nbsp;lowpower build&amp;nbsp;were built without sysbuild enabled for some reason (should be enabled by default). For consistency, I suggest you force sysbuild on by selecting the checkbox here:&lt;/p&gt;
&lt;p&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/pastedimage1777295549467v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I also see you have&amp;nbsp;selected&amp;nbsp;CONFIG_CLOCK_CONTROL_NRF_K32SRC_20PPM with the lowpower build while using the internal RC oscillator. The problem with that is that the RC oscillator in HW only has a 500 ppm accuracy. This will eventually lead to connection problems as the BT stack will fail to correctly compensate for the clock drift. You can comment this line to let it default to&amp;nbsp;CONFIG_CLOCK_CONTROL_NRF_K32SRC_500PPM.&lt;/p&gt;
&lt;p&gt;Does the&amp;nbsp;led_on() indicaten in your timer callback confirm whether the callback stops being invoked or not?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue custom GATT streaming in the firmware when building in release mode.</title><link>https://devzone.nordicsemi.com/thread/565540?ContentTypeID=1</link><pubDate>Mon, 27 Apr 2026 12:26:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4bf3bf2d-4f08-4c21-b42e-93ecfd1a2f71</guid><dc:creator>Caio Camargo</dc:creator><description>&lt;p&gt;Hello Vidar, thank you for a fast reply.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;To give more info this is how I&amp;#39;m building passing optimization levels for each build:&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/pastedimage1777292439648v1.png" alt=" " /&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/pastedimage1777292463431v2.png" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Here I&amp;#39;ll compressed both builds in one file zip.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/both_5F00_builds.zip"&gt;devzone.nordicsemi.com/.../both_5F00_builds.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue custom GATT streaming in the firmware when building in release mode.</title><link>https://devzone.nordicsemi.com/thread/565520?ContentTypeID=1</link><pubDate>Mon, 27 Apr 2026 08:34:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed07c5c9-cafe-404c-ba11-5eefb1ed0ef0</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I wanted to compare the build configurations from the build_debug and build_lowpower output, but I see that the&amp;nbsp;latter is missing the configuration files. Would you mind rebuilding the lowpower version and upload the folder&amp;nbsp;again?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>