<?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>Updating data in chained periodic advertising (1,650 bytes)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/92514/updating-data-in-chained-periodic-advertising-1-650-bytes</link><description>Hi team! 
 I have some doubts regarding updating the advertising data using periodic advertisements. We were able to advertise 1,650 bytes of data using periodic advertisements. But data does not get updated. I have explained everything in the points</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 27 Feb 2023 21:53:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/92514/updating-data-in-chained-periodic-advertising-1-650-bytes" /><item><title>RE: Updating data in chained periodic advertising (1,650 bytes)</title><link>https://devzone.nordicsemi.com/thread/412364?ContentTypeID=1</link><pubDate>Mon, 27 Feb 2023 21:53:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:20ef9210-da77-4750-9d91-956b11c9097f</guid><dc:creator>Starbuck</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/sukriti-"&gt;Sukriti&lt;/a&gt;&amp;nbsp;,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m trying to do the exact same thing you are (only using NCS v2.3.0 rc1) and I&amp;#39;m running into the exact same issues and have the same concerns.&amp;nbsp; Just curious, were you able to resolve the issue by changing the data through multiple calls to the API?&lt;/p&gt;
&lt;p&gt;I was going to create a new ticket, but it would be a copy of this one.&amp;nbsp; Great job explaining your concerns!&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Starbuck&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating data in chained periodic advertising (1,650 bytes)</title><link>https://devzone.nordicsemi.com/thread/389448?ContentTypeID=1</link><pubDate>Wed, 05 Oct 2022 14:13:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c692d9f-db52-4508-be47-6706b2efe442</guid><dc:creator>Sukriti </dc:creator><description>&lt;p&gt;Thank you so much Edvin, I will try changing the data through multiple calls to the API as you suggested.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating data in chained periodic advertising (1,650 bytes)</title><link>https://devzone.nordicsemi.com/thread/389399?ContentTypeID=1</link><pubDate>Wed, 05 Oct 2022 11:59:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8e06c32b-b47e-45d5-9947-7b1c8d5b56f4</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Ok, so I discussed this with our SoftDevice Controller team, and I will try to summarize it here.&lt;/p&gt;
&lt;p&gt;As I mentioned, there is a check inside&amp;nbsp;bt_le_per_adv_set_data() that returns an error if the &amp;quot;total_len_bytes &amp;gt; BT_HCI_LE_PER_ADV_FRAG_MAX_LEN&amp;quot;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I asked them what would be the way to do it if you wanted to change all (up to 1650 bytes) at once, which would be a reasonable thing to want to do. They replied that you can&amp;#39;t do this. That is:&lt;/p&gt;
&lt;p&gt;&amp;quot;You can change all advertising data at once, but only if the total advertising data length is less than or equal to 252 bytes. The reason you cannot use more is that if you have more than 252 bytes, the data will have to be forwarded to the controller in multiple steps due to the fact that HCI packets have a maximum packet length.&amp;quot;&lt;/p&gt;
&lt;p&gt;So I interpret this as: You need to change the advertising in multiple calls to bt_le_per_adv_set_data(). You can do so as fast or as slow as you like, but the HCI messages that are sent from the controller to the Bluetooth Low Energy stack can max hold 252 bytes (of payload).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;So you can try to update the data in chunks of 252 bytes, and iterate through the entire advertising data set.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating data in chained periodic advertising (1,650 bytes)</title><link>https://devzone.nordicsemi.com/thread/389306?ContentTypeID=1</link><pubDate>Wed, 05 Oct 2022 06:35:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:856512ab-815e-48b0-ac32-1c400aabae1e</guid><dc:creator>Sukriti </dc:creator><description>&lt;p&gt;Thank you Edvin&amp;nbsp;&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating data in chained periodic advertising (1,650 bytes)</title><link>https://devzone.nordicsemi.com/thread/389159?ContentTypeID=1</link><pubDate>Tue, 04 Oct 2022 10:03:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ae07ca9-e30a-4864-a61d-a0b979c1abf2</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Ok, I understand Suktiti,&lt;/p&gt;
&lt;p&gt;It is a bit difficult to keep track when that much time passes by, and I may not be that good at reading all the previous replies in a case. Please understand that we try to handle many (!) questions every day.&lt;/p&gt;
&lt;p&gt;I will check with our SoftDevice controller team how it is intended to update chained advertisements larger than&amp;nbsp;BT_HCI_LE_PER_ADV_FRAG_MAX_LEN bytes (252 bytes). I will keep you posted.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating data in chained periodic advertising (1,650 bytes)</title><link>https://devzone.nordicsemi.com/thread/388900?ContentTypeID=1</link><pubDate>Mon, 03 Oct 2022 07:08:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0eb038ff-35a2-4d03-94e4-71890388425f</guid><dc:creator>Sukriti </dc:creator><description>&lt;p&gt;Edvin, the entire concern is about the API bt_le_per_adv_set_data(). Yes, I can send 1650 bytes of data, but this data does not get updated using this API if packet chaining comes into the picture. What you have shown here is about the extended advertising API, which I have not talked about anywhere in the entire query.&lt;/p&gt;
&lt;p&gt;You have quoted it three times but my concern is not related to the API that you are quoting. Also, if I have to stop advertising and re-start it for updating the data in periodic advertisements as well, this essentially means that I am re-establishing the sync everytime I wish to update the data. Specification does not say this. Infact, the Bluetooth&amp;nbsp;SIG explicitly states in each of its official documents, that periodic advertising events can carry varying payload.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;This has not been said anywhere for extended advertisements.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll quote a statement from one of the SIG documents:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;Advertising takes place at fixed intervals called the periodic advertising interval and the advertising&amp;nbsp;&lt;/strong&gt;&lt;/em&gt;&lt;em&gt;&lt;strong&gt;data payload may change&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;The re-start thing that you have shown three times is nowhere written for the periodic advertising APIs. Also, I have been asking again only because there has not been a single crisp answer telling me whether at all it&amp;#39;s possible to send unique data each time using &lt;strong&gt;periodic advertising events, because it is not happening right now using the&amp;nbsp;&lt;span&gt;bt_le_per_adv_set_data() API for large data.&lt;/span&gt;&lt;/strong&gt;&amp;nbsp;It only happens for small payload sizes that fit into a single PDU.&lt;/p&gt;
[quote userid="26071" url="~/f/nordic-q-a/92514/updating-data-in-chained-periodic-advertising-1-650-bytes/388895"]Did you try using&amp;nbsp;bt_le_per_adv_set_data()[/quote]
&lt;p&gt;Yes Edvin, if you read through my query properly, I have used this API only, and have talked about it multiple times.&lt;/p&gt;
&lt;p&gt;Thanks&lt;br /&gt;Sukriti&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating data in chained periodic advertising (1,650 bytes)</title><link>https://devzone.nordicsemi.com/thread/388895?ContentTypeID=1</link><pubDate>Mon, 03 Oct 2022 06:41:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:389db4c4-f6c7-4058-af41-0b88e295a3e3</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello Sukriti,&lt;/p&gt;
&lt;p&gt;Did you try to stop -&amp;gt; reinitialize -&amp;gt; and start the advertisements again? I don&amp;#39;t really see that this ticket needs any reassignment.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As I have quoted 3 times now:&lt;/p&gt;
&lt;p&gt;* @note When updating the advertising data while advertising the advertising&lt;br /&gt; * data and scan response data length must be smaller or equal to what&lt;br /&gt; * can be fit in a single advertising packet. Otherwise the&lt;br /&gt; * advertiser must be stopped.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;It says in the declaration of the function you are trying to use. It is not possible to use&amp;nbsp;bt_le_ext_adv_set_data() to update more than a single packet unless you stop the advertisements, and restart it.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Did you try using&amp;nbsp;bt_le_per_adv_set_data()? As far as I can tell, it doesn&amp;#39;t say that there are any length limitations on this call. However, the advertisement (old or new) can not be connectable, scannable nor anonymous.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating data in chained periodic advertising (1,650 bytes)</title><link>https://devzone.nordicsemi.com/thread/388866?ContentTypeID=1</link><pubDate>Sat, 01 Oct 2022 15:44:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ed22352-54ea-4a15-94de-5c5f01cdd7dc</guid><dc:creator>Sukriti </dc:creator><description>&lt;p&gt;Hi Edvin!&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Hope you&amp;#39;re back now.&lt;/p&gt;
&lt;p&gt;We invested a lot of time&amp;nbsp;in framing the query properly, but sadly, nobody has dedicatedly attended the query.&amp;nbsp;Can you please assign this to someone who can look into&amp;nbsp;it properly? It&amp;#39;s been over two months now.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If not, please let me know. I&amp;#39;ll open a fresh ticket.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Sukriti&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating data in chained periodic advertising (1,650 bytes)</title><link>https://devzone.nordicsemi.com/thread/388865?ContentTypeID=1</link><pubDate>Tue, 06 Sep 2022 21:38:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b1f0bc2-4ea4-47d1-aa32-ae1b6c334713</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Yes, as I mentioned in the previously reply, it says in the description/documentation of the declaration of that function in bluetooth.h&amp;nbsp;in the declaration for&amp;nbsp;&lt;span&gt;bt_le_ext_adv_set_data(), line 989 -&amp;gt; 1025:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;/**
 * @brief Set an advertising set&amp;#39;s advertising or scan response data.
 *
 * Set advertisement data or scan response data. If the advertising set is
 * currently advertising then the advertising data will be updated in
 * subsequent advertising events.
 *
 * When both @ref BT_LE_ADV_OPT_EXT_ADV and @ref BT_LE_ADV_OPT_SCANNABLE are
 * enabled then advertising data is ignored.
 * When @ref BT_LE_ADV_OPT_SCANNABLE is not enabled then scan response data is
 * ignored.
 *
 * If the advertising set has been configured to send advertising data on the
 * primary advertising channels then the maximum data length is
 * @ref BT_GAP_ADV_MAX_ADV_DATA_LEN bytes.
 * If the advertising set has been configured for extended advertising,
 * then the maximum data length is defined by the controller with the maximum
 * possible of @ref BT_GAP_ADV_MAX_EXT_ADV_DATA_LEN bytes.
 *
 * @note Not all scanners support extended data length advertising data.
 *
 * @note When updating the advertising data while advertising the advertising
 *       data and scan response data length must be smaller or equal to what
 *       can be fit in a single advertising packet. Otherwise the
 *       advertiser must be stopped.
 *
 * @param adv     Advertising set object.
 * @param ad      Data to be used in advertisement packets.
 * @param ad_len  Number of elements in ad
 * @param sd      Data to be used in scan response packets.
 * @param sd_len  Number of elements in sd
 *
 * @return Zero on success or (negative) error code otherwise.
 */
int bt_le_ext_adv_set_data(struct bt_le_ext_adv *adv,
			   const struct bt_data *ad, size_t ad_len,
			   const struct bt_data *sd, size_t sd_len);&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Where the note that I referenced in the previous reply is particularly relevant.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;So for chained advertisements to update, you need to stop the advertisements, set the data as if you set it the first time, and then restart advertising.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;FYI: I will be out of office for the next 3-4 weeks. Please open a new ticket for follow up questions, as I will not be able to monitor my DevZone tickets.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Edvin&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating data in chained periodic advertising (1,650 bytes)</title><link>https://devzone.nordicsemi.com/thread/388864?ContentTypeID=1</link><pubDate>Mon, 05 Sep 2022 09:12:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:04c61916-54c2-4808-b0c4-08577fe02f0d</guid><dc:creator>Sukriti </dc:creator><description>&lt;p&gt;Thanks Edvin. Just to make things clearer, we are trying to update the data in periodic advertising events using the API&amp;nbsp;&lt;span&gt;&amp;nbsp;&lt;strong&gt;bt_le_per_adv_set_data().&lt;/strong&gt; The data is larger than the capacity of a single packet. We tested what the declaration of&amp;nbsp;bt_le_ext_adv_set_data() suggests, but this does not work for&amp;nbsp;bt_le_per_adv_set_data().&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I would again like to highlight the fact that the data gets updated using the&amp;nbsp;bt_le_per_adv_set_data() API when the data fits in a single packet, even without the need of stopping extended advertising. But as the data becomes large (chain PDUs have to be used), this does not work. The chains are advertised successfully if we don&amp;#39;t update the data.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating data in chained periodic advertising (1,650 bytes)</title><link>https://devzone.nordicsemi.com/thread/388863?ContentTypeID=1</link><pubDate>Mon, 05 Sep 2022 08:33:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:829869a7-0539-4450-97ff-d89186766321</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Typically, there is a separate API to update the advertisements after you have started advertising. I am not that familiar with the extended chained advertisements, and I am a bit confused as of what API you are currently using (there are a lot of different snippets in your original post), but I see that in one snippet, you are trying to use&amp;nbsp;bt_le_per_adv_set_data() in your main loop. I don&amp;#39;t see an API that is obviously intended to update the chained advertisements, but I see in the declaration of&amp;nbsp;bt_le_ext_adv_set_data() that it says:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt; * @note When updating the advertising data while advertising the advertising
 *       data and scan response data length must be smaller or equal to what
 *       can be fit in a single advertising packet. Otherwise the
 *       advertiser must be stopped.&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;So try stopping the advertisement first, using&amp;nbsp;&lt;/p&gt;
&lt;p&gt;int bt_le_ext_adv_stop(struct bt_le_ext_adv *adv);&lt;/p&gt;
&lt;p&gt;and then update, and start the advertisements again.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating data in chained periodic advertising (1,650 bytes)</title><link>https://devzone.nordicsemi.com/thread/388862?ContentTypeID=1</link><pubDate>Mon, 05 Sep 2022 04:44:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c1a2474-5216-4cac-ae37-6cb19cdb53f4</guid><dc:creator>Sukriti </dc:creator><description>&lt;p&gt;Any update?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating data in chained periodic advertising (1,650 bytes)</title><link>https://devzone.nordicsemi.com/thread/388861?ContentTypeID=1</link><pubDate>Thu, 01 Sep 2022 12:59:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43f6c80e-019f-47da-b5f0-a20c9da5f46e</guid><dc:creator>Sukriti </dc:creator><description>&lt;p&gt;Hi Edvin, we are using the SoftDevice controller only. And the entire query was based on SoftDevice controller.&lt;/p&gt;
&lt;p&gt;I mistakenly wrote Zephyr Controller in one of my previous replies. I request you to kindly look into the issue. We have been waiting for an update very eagerly.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating data in chained periodic advertising (1,650 bytes)</title><link>https://devzone.nordicsemi.com/thread/388860?ContentTypeID=1</link><pubDate>Thu, 01 Sep 2022 12:44:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89cfb86d-0c72-4a84-8bf0-092169188ebb</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Sorry for the late reply. Susheel is out of offfice. If you are using the Zephyr Bluetooth LE stack, I am afraid you need to reach out to them if the advertisements are not getting updated. Do you see the same while using the SoftDevice Controller?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;br /&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating data in chained periodic advertising (1,650 bytes)</title><link>https://devzone.nordicsemi.com/thread/388859?ContentTypeID=1</link><pubDate>Mon, 22 Aug 2022 04:49:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe8983a4-5267-4f43-884f-0d5bf55b1694</guid><dc:creator>Sukriti </dc:creator><description>&lt;p&gt;Gentle reminder!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating data in chained periodic advertising (1,650 bytes)</title><link>https://devzone.nordicsemi.com/thread/388858?ContentTypeID=1</link><pubDate>Fri, 12 Aug 2022 09:52:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f56871fb-2cc9-4b8b-9a2f-d55ff50c94c2</guid><dc:creator>Sukriti </dc:creator><description>&lt;p&gt;We will try again and get back to you.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Any lead on the periodic advertising data not getting updated?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating data in chained periodic advertising (1,650 bytes)</title><link>https://devzone.nordicsemi.com/thread/388857?ContentTypeID=1</link><pubDate>Fri, 12 Aug 2022 09:23:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08e26941-3c13-4ff7-8867-13ffd0c15360</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Maybe there is some bug in the Zephyr controller. We have tested this with our SDC controller and the pull request changes you made should have made this line to execute. If this line in itself is not executed, then something is not right. Check the code flow and conditions as to why this line did not get executed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating data in chained periodic advertising (1,650 bytes)</title><link>https://devzone.nordicsemi.com/thread/388856?ContentTypeID=1</link><pubDate>Fri, 05 Aug 2022 18:18:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7237ddbb-5e08-4d68-9ef4-cf72ad29f206</guid><dc:creator>Sukriti </dc:creator><description>&lt;p&gt;Hi again!&amp;nbsp;&lt;/p&gt;
&lt;p&gt;We tried what you suggested using the softdevice controller, after making the changes. We observed that the line&amp;nbsp;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;cp-&amp;gt;&lt;/span&gt;&lt;span&gt;enable&lt;/span&gt;&lt;span&gt;&amp;nbsp;|= BT_HCI_LE_SET_PER_ADV_ENABLE_ADI &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;never gets executed. If we add a breakpoint at this line, the&amp;nbsp;code just keeps on running, it never reaches the breakpoint.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating data in chained periodic advertising (1,650 bytes)</title><link>https://devzone.nordicsemi.com/thread/388855?ContentTypeID=1</link><pubDate>Fri, 05 Aug 2022 11:03:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:129ffbae-fbb8-451b-a9e0-632d06d3f457</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Also please check if the changes you have done are taking effect.&lt;/p&gt;
&lt;div&gt;Put a breakpoint at line cp-&amp;gt;&lt;span&gt;enable&lt;/span&gt; |= BT_HCI_LE_SET_PER_ADV_ENABLE_ADI; and start your code in debugger to see if this line is being executed. Softdevice controller is qualified with this feature, so it should work.&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating data in chained periodic advertising (1,650 bytes)</title><link>https://devzone.nordicsemi.com/thread/388854?ContentTypeID=1</link><pubDate>Fri, 05 Aug 2022 10:56:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b4f0c226-f80d-427a-9bd0-7074bb85df0f</guid><dc:creator>Sukriti </dc:creator><description>&lt;p&gt;We are using Zephyr Controller&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating data in chained periodic advertising (1,650 bytes)</title><link>https://devzone.nordicsemi.com/thread/388853?ContentTypeID=1</link><pubDate>Fri, 05 Aug 2022 10:53:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:42f4e51f-5721-46b2-b102-e0049e20260d</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Should have worked with the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_ble_controller.html"&gt;softdevice &lt;/a&gt;controller, are you using Zephyr Controller?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating data in chained periodic advertising (1,650 bytes)</title><link>https://devzone.nordicsemi.com/thread/388852?ContentTypeID=1</link><pubDate>Fri, 05 Aug 2022 10:09:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:912c2e9e-f7f8-4def-930c-3b4938d54537</guid><dc:creator>Sukriti </dc:creator><description>&lt;p&gt;We used SDK version 2.0.0&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating data in chained periodic advertising (1,650 bytes)</title><link>https://devzone.nordicsemi.com/thread/388851?ContentTypeID=1</link><pubDate>Fri, 05 Aug 2022 10:08:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:42f2c599-56d4-4b94-b15b-66b3c20e51b9</guid><dc:creator>Sukriti </dc:creator><description>&lt;p&gt;Hi Susheel. We made the required changes to the source and header files (bluetooth.h, hci.h, adv.c and hci_core.h).&lt;/p&gt;
&lt;p&gt;Is this all we need to do to be able to test the feature? Because we still can not see the ADI field in AUX_SYNC_IND PDUs.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating data in chained periodic advertising (1,650 bytes)</title><link>https://devzone.nordicsemi.com/thread/388850?ContentTypeID=1</link><pubDate>Fri, 05 Aug 2022 06:25:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:01de1075-59d8-4210-a8bd-075aea2ceecc</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Sukriti, The support for ADI feature was recently merged&lt;a href="https://github.com/zephyrproject-rtos/zephyr/pull/48219"&gt; &lt;/a&gt;into the upstream zephyr. You can use &lt;a href="https://github.com/zephyrproject-rtos/zephyr/pull/48219"&gt;this pull request&lt;/a&gt;&amp;nbsp;into your setup and test this feature. This will end up in our coming SDK release when we pull the upstream changes into our SDK.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating data in chained periodic advertising (1,650 bytes)</title><link>https://devzone.nordicsemi.com/thread/388849?ContentTypeID=1</link><pubDate>Tue, 02 Aug 2022 12:30:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:020342f0-ae59-4541-9290-a91d71994059</guid><dc:creator>Sukriti </dc:creator><description>&lt;p&gt;Hi Susheel!&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for the response. We are able to send 1,650 bytes, but only constant data. We aren&amp;#39;t able to update this data.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for looking into this. Shall wait for your response!&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Have a great day!&amp;nbsp;&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>