<?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 bt_adv Too big advertising data</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/101933/zephyr-bt_adv-too-big-advertising-data</link><description>I would like to add NUS, BAS, and SMP services to advertisement. But the following error messages shown on RTT Viewer. 
 00&amp;gt; *** Booting Zephyr OS build v3.2.99-ncs2 *** 00&amp;gt; [00:00:00.001,617] &amp;lt;inf&amp;gt; main: button long press test 00&amp;gt; 00&amp;gt; Starting button</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 18 Jul 2023 07:44:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/101933/zephyr-bt_adv-too-big-advertising-data" /><item><title>RE: Zephyr bt_adv Too big advertising data</title><link>https://devzone.nordicsemi.com/thread/436901?ContentTypeID=1</link><pubDate>Tue, 18 Jul 2023 07:44:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:051c42f7-2c9d-4957-abf9-500ac21a37c8</guid><dc:creator>snowuyl</dc:creator><description>&lt;p&gt;Thanks for your reply! I will remove SMP service from advertising packets.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr bt_adv Too big advertising data</title><link>https://devzone.nordicsemi.com/thread/436899?ContentTypeID=1</link><pubDate>Tue, 18 Jul 2023 07:38:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8828b1b0-5611-4d7a-ae89-04ba0aab63a1</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Not really. It&amp;#39;s used so that the app on the phone can be easier to detect if there OTA is supported on the device or not. But it&amp;#39;s not mandatory. You can make the app that simply connect to your device, do the service discovery and can detect that if OTA is supported or not.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can see that nRF Connect app can do that.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr bt_adv Too big advertising data</title><link>https://devzone.nordicsemi.com/thread/436864?ContentTypeID=1</link><pubDate>Tue, 18 Jul 2023 01:38:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:640e3e82-f42e-42b2-aa32-fd5ba8f5b511</guid><dc:creator>snowuyl</dc:creator><description>&lt;p&gt;Thanks for your reply! Is SMP service advertising mandatory for &lt;span&gt;&lt;em class="t55VCb"&gt;Over-the-air&lt;/em&gt;&lt;/span&gt; (OTA) update? I would like to remove SMP service from advertising packet if it isn&amp;#39;t mandatory for OTA update.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr bt_adv Too big advertising data</title><link>https://devzone.nordicsemi.com/thread/436789?ContentTypeID=1</link><pubDate>Mon, 17 Jul 2023 14:13:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f00a56f-e0b4-4ac5-9700-437fe8dc4ea4</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;br /&gt;The error means what it means &amp;quot;&lt;span&gt;Too big advertising data&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You don&amp;#39;t have enough space in the scan response data (sd) for two 128 bit UUID and one 16 bit UUID. The maximum length of an advertising packet or a scan response packet is 31 bytes. This is included all the flags and headers.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;My suggestion is to go through out Bluetooth Nordic Academy :&amp;nbsp;&lt;a href="https://academy.nordicsemi.com/courses/bluetooth-low-energy-fundamentals/"&gt;https://academy.nordicsemi.com/courses/bluetooth-low-energy-fundamentals/&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Advertising is covered in Chapter 2.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr bt_adv Too big advertising data</title><link>https://devzone.nordicsemi.com/thread/436673?ContentTypeID=1</link><pubDate>Mon, 17 Jul 2023 09:14:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:85f17211-695b-4b84-b86c-3eedd4a9ace1</guid><dc:creator>snowuyl</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/1447.bt_5F00_ad.c"&gt;devzone.nordicsemi.com/.../1447.bt_5F00_ad.c&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>