<?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>data size in PAwR slot response</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/122209/data-size-in-pawr-slot-response</link><description>Hello, 
 I am developping an application based on PAwR (Periodic Advertsing with response) in coded PHY (S8) extended advertising on SDK 2.7.0. 
 costum chip nrf52840 (on Fanstel BT840F) 
 My code is based on the Nordic demo : 
 8562.PAwR_Demo.zip 
 Periodic</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 13 Jun 2025 02:38:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/122209/data-size-in-pawr-slot-response" /><item><title>RE: data size in PAwR slot response</title><link>https://devzone.nordicsemi.com/thread/539120?ContentTypeID=1</link><pubDate>Fri, 13 Jun 2025 02:38:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a313603d-8604-4946-9d8b-7b8a48faeda9</guid><dc:creator>longrain</dc:creator><description>[quote userid="75669" url="~/f/nordic-q-a/122209/data-size-in-pawr-slot-response/538989"]coded PHY maybe need more time.[/quote]
&lt;p&gt;Try adjust the&amp;nbsp;response_slot_delay&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: data size in PAwR slot response</title><link>https://devzone.nordicsemi.com/thread/539045?ContentTypeID=1</link><pubDate>Thu, 12 Jun 2025 12:48:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89046c74-29d0-4591-a146-7cc46d28d78d</guid><dc:creator>Yanis</dc:creator><description>&lt;p&gt;When I put a buffer &amp;gt; 55 bytes I also get this error on the advertiser side&lt;/p&gt;
&lt;p&gt;ASSERTION FAIL [z_spin_lock_valid(l)] @ WEST_TOPDIR/zephyr/include/zephyr/spinlock.h:136&amp;lt;CR&amp;gt;&amp;lt;LF&amp;gt;&lt;br /&gt;&amp;lt;HT&amp;gt; Invalid spinlock 0x20000b80&amp;lt;CR&amp;gt;&amp;lt;LF&amp;gt;&lt;/p&gt;
&lt;p&gt;And the sync is lost.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: data size in PAwR slot response</title><link>https://devzone.nordicsemi.com/thread/538994?ContentTypeID=1</link><pubDate>Thu, 12 Jun 2025 10:18:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:497bd1a6-2ff4-418a-be7b-fc6d2c0a99aa</guid><dc:creator>Yanis</dc:creator><description>&lt;p&gt;I am not sure if I understand, are you saying that coded PHY could be the limitation ?&lt;/p&gt;
&lt;p&gt;In the code you have sent me, I don&amp;#39;t think you are sending 200 bytes when you set :&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;net_buf_simple_add_mem&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;&amp;amp;&lt;/span&gt;&lt;span&gt;rsp_buf, &lt;/span&gt;&lt;span&gt;buf&lt;/span&gt;&lt;span&gt;-&amp;gt;&lt;/span&gt;&lt;span&gt;data&lt;/span&gt;&lt;span&gt;, &lt;/span&gt;&lt;span&gt;buf&lt;/span&gt;&lt;span&gt;-&amp;gt;&lt;/span&gt;&lt;span&gt;len&lt;/span&gt;&lt;span&gt;);&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;&lt;span&gt;it seems that you are returning the counter you received which is 1 or 2 bytes.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;In my case I have :&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;net_buf_simple_add_mem&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;&amp;amp;&lt;/span&gt;&lt;span&gt;rsp_buf&lt;/span&gt;&lt;span&gt;, &lt;/span&gt;&lt;span&gt;buffer&lt;/span&gt;&lt;span&gt;, &lt;/span&gt;&lt;span&gt;ARRAY_SIZE&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;buffer&lt;/span&gt;&lt;span&gt;));&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;span&gt;where &amp;quot;buffer&amp;quot; is declared as :&lt;/span&gt;&lt;/span&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;static&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;uint8_t&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;buffer&lt;/span&gt;&lt;span&gt;[60&lt;/span&gt;&lt;span&gt;] &lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt; {&lt;/span&gt;&lt;span&gt;0x00&lt;/span&gt;&lt;span&gt;};&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: data size in PAwR slot response</title><link>https://devzone.nordicsemi.com/thread/538989?ContentTypeID=1</link><pubDate>Thu, 12 Jun 2025 09:58:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0602c4bc-9bfd-4679-a215-5829d85e804f</guid><dc:creator>longrain</dc:creator><description>&lt;p&gt;Sorry,I misunderstand your error info.&lt;/p&gt;
&lt;p&gt;I have test :it is OK to send long packet in NCS 2.9 and NCS 3.0,coded PHY maybe need more time.&lt;/p&gt;
&lt;p&gt;I upload a test sample test in NCS 3.0.x with 54L,send over 200 bytes both direction.&lt;/p&gt;
&lt;p&gt;Check if it can help&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/pawr_5F00_test.rar"&gt;devzone.nordicsemi.com/.../pawr_5F00_test.rar&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: data size in PAwR slot response</title><link>https://devzone.nordicsemi.com/thread/538974?ContentTypeID=1</link><pubDate>Thu, 12 Jun 2025 08:48:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c1514edc-bce2-40cf-962a-2806137112cf</guid><dc:creator>Yanis</dc:creator><description>&lt;p&gt;When I set the following, it does not solve the problem :&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_BT_PER_ADV&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_BT_PER_ADV_RSP&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_BT_CTLR_SDC_PAWR_ADV&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_BT_CTLR_SDC_PERIODIC_ADV_RSP_TX_MAX_DATA_SIZE&lt;/span&gt;&lt;span&gt;=245&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_BT_PER_ADV_SYNC_BUF_SIZE&lt;/span&gt;&lt;span&gt;=245&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;still getting the error :&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&amp;lt;wrn&amp;gt; bt_hci_core: opcode 0x2083 status 0x45\033[0m&lt;br /&gt;&amp;lt;dbg&amp;gt; beacon: recv_cb: Failed to send response (err -5)&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: data size in PAwR slot response</title><link>https://devzone.nordicsemi.com/thread/538927?ContentTypeID=1</link><pubDate>Thu, 12 Jun 2025 01:28:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:436c7001-b0c8-456c-8d77-86527e5f3b82</guid><dc:creator>longrain</dc:creator><description>&lt;p&gt;take a look at&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_BT_CTLR_SDC_PERIODIC_ADV_RSP_TX_MAX_DATA_SIZE&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_BT_PER_ADV_SYNC_BUF_SIZE&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>