<?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>dynamically create a service</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/123101/dynamically-create-a-service</link><description>To create a release, we create an extended HEX by adding to the HEX file configuration data that will be located in non-volatile memory on flash. At startup, this configuration is read. We have a GATT service. Depending on the configuration we may have</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 22 Jul 2025 12:59:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/123101/dynamically-create-a-service" /><item><title>RE: dynamically create a service</title><link>https://devzone.nordicsemi.com/thread/543195?ContentTypeID=1</link><pubDate>Tue, 22 Jul 2025 12:59:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c3ac4df4-3e82-4f24-8c4d-2556c2d3e8d6</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;I&amp;#39;m glad to know that. Then I will close the case.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: dynamically create a service</title><link>https://devzone.nordicsemi.com/thread/543184?ContentTypeID=1</link><pubDate>Tue, 22 Jul 2025 12:39:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb571d7b-e311-4d62-9436-eaf513d20522</guid><dc:creator>Lvrk</dc:creator><description>&lt;p&gt;Hi, Thank you for the references. The examples are clear. I try implementing for my case.&lt;br /&gt;For me this case is closed.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: dynamically create a service</title><link>https://devzone.nordicsemi.com/thread/543050?ContentTypeID=1</link><pubDate>Mon, 21 Jul 2025 14:19:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aeb81ab5-7e63-42ea-aa69-4a706cea622c</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hello Lvrk,&lt;/p&gt;
&lt;p&gt;bt_gatt_service_register() is the correct function to use. Have you enabled&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-3.0.2/page/kconfig/index.html#CONFIG_BT_GATT_DYNAMIC_DB"&gt;CONFIG_BT_GATT_DYNAMIC_DB&lt;/a&gt;&amp;nbsp;as well?&lt;/p&gt;
&lt;p&gt;Please also refer to these past cases for other issues and solutions:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/104703/bt_gatt_service_register-not-working"&gt;bt_gatt_service_register not working&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/107754/define-a-service-dynamically"&gt;Define a service dynamically&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/119852/dynamically-allocated-gatt-service-not-visible-in-nrf-connect-for-mobile"&gt;Dynamically Allocated GATT Service Not Visible in nRF Connect for mobile&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>