<?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>Update BLE extended advertisement data</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/111014/update-ble-extended-advertisement-data</link><description>Hello, 
 I would like to use the BLE5 Advertising Extension to be able to transmit more data during advertisements. The extended advertisement works but, on the other hand, I cannot update the data sent in the advertisement: the function &amp;quot;bt_le_adv_update_data</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 11 Jan 2025 10:26:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/111014/update-ble-extended-advertisement-data" /><item><title>RE: Update BLE extended advertisement data</title><link>https://devzone.nordicsemi.com/thread/518047?ContentTypeID=1</link><pubDate>Sat, 11 Jan 2025 10:26:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9744b5fc-3ebb-48f6-bdbd-b7af41bc4bf5</guid><dc:creator>lara</dc:creator><description>&lt;p&gt;hi quentin,&lt;/p&gt;
&lt;p&gt;so &amp;quot;bt_le_ext_adv_set_data is not needed while usinf extended advertising?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;can you provide any sample&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Update BLE extended advertisement data</title><link>https://devzone.nordicsemi.com/thread/483519?ContentTypeID=1</link><pubDate>Wed, 15 May 2024 13:32:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b175cd62-4e37-4b5f-bdbc-cad6e9978622</guid><dc:creator>QuentinD</dc:creator><description>&lt;p&gt;In fact, it was enough to use &amp;quot;bt_le_ext_adv_set_data&amp;quot; once the data was updated (because I use extended advertising and not the legacy)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Update BLE extended advertisement data</title><link>https://devzone.nordicsemi.com/thread/483215?ContentTypeID=1</link><pubDate>Tue, 14 May 2024 10:39:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d59cd8c-c636-4059-b62f-9320bb225eb5</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Thank you for your patience.&lt;/p&gt;
[quote user=""] I cannot update the data sent in the advertisement: the function &amp;quot;bt_le_adv_update_data(...)&amp;quot; returns me the error -EINVAL because &amp;quot;adv&amp;quot; is NULL...[/quote]
&lt;p&gt;This normally means that the advertising set is not active if the adv is NULL when when returned from&amp;nbsp;bt_le_adv_lookup_legacy.&lt;/p&gt;
&lt;p&gt;Are you able to run the &lt;a href="https://docs.zephyrproject.org/latest/samples/bluetooth/bthome_sensor_template/README.html"&gt;bthome sensor template sample&lt;/a&gt; and achieve expected results? If so, there might be something wrong with managing of roles in your application state machine.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Update BLE extended advertisement data</title><link>https://devzone.nordicsemi.com/thread/482815?ContentTypeID=1</link><pubDate>Fri, 10 May 2024 13:02:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d0db4a3f-27ff-40a7-85fb-fb18895fbdcb</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I did not manage to reply to you today. I will try to look into the code you provided and try to respond on Monday. Thanks for your patience so far.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>