<?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>Zephyr sample code for adding multiple service UUID to advertisement</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/101924/zephyr-sample-code-for-adding-multiple-service-uuid-to-advertisement</link><description>I have added NUS service UUID to advertisement data structure. And I would like to add SMP service UUID to advertisement data structure. Does Nordic provide sample code? 
 static const struct bt_data sd[] = { BT_DATA_BYTES(BT_DATA_UUID128_ALL, BT_UUID_NUS_VAL</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 17 Jul 2023 14:15:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/101924/zephyr-sample-code-for-adding-multiple-service-uuid-to-advertisement" /><item><title>RE: Zephyr sample code for adding multiple service UUID to advertisement</title><link>https://devzone.nordicsemi.com/thread/436790?ContentTypeID=1</link><pubDate>Mon, 17 Jul 2023 14:15:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c1088580-8538-4d37-b769-56a5c02d7759</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;br /&gt;Is this a duplicated question from&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/101933/zephyr-bt_adv-too-big-advertising-data"&gt;Zephyr bt_adv Too big advertising data&lt;/a&gt;&amp;nbsp;?&amp;nbsp;&lt;br /&gt;Please try not to create multiple questions for the same topic.&amp;nbsp;&lt;br /&gt;If you take a look at this ticket:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/guides/nrf-connect-sdk-guides/b/software/posts/ncs-dfu"&gt;Add DFU support to your application&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can find that Simon has to remove the original service UUID to add the SMP UUID because it&amp;#39;s not enough space.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>