<?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>ZBOSS buffer</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/115886/zboss-buffer</link><description>Hello, 
 how can I increase the number of ZBOSS buffer (zboss_api_buf.h)? Currently they are 25. 
 We are using nrf52840 with nrf5 sdk for thread and Zigbee v4.2.0 without soft device library. 
 
 Best regards 
 Laura</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 01 Nov 2024 13:28:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/115886/zboss-buffer" /><item><title>RE: ZBOSS buffer</title><link>https://devzone.nordicsemi.com/thread/508814?ContentTypeID=1</link><pubDate>Fri, 01 Nov 2024 13:28:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce255344-0e10-4054-9021-ac675d7ae8ba</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hmm I am not sure. Could you try the same thing with &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/zboss/3.11.3.0/zigbee_prog_principles.html#zigbee_stack_memory_mgmt"&gt;zb_buf_get_out_delayed() or zb_buf_get_in_delayed()&amp;nbsp;instead of zb_buf_get_out()&lt;/a&gt;?&lt;/p&gt;
&lt;p&gt;And btw, if this is a new design you are planning, you should also note that it might be worth switching to &lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/nrf-connect-sdk-and-nrf5-sdk-statement"&gt;nRF Connect SDK&lt;/a&gt;. nRF5 SDK is in maintenance mode,&amp;nbsp;and&amp;nbsp;in addition to that the Zigbee SDK is &lt;strong&gt;deprecated&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ZBOSS buffer</title><link>https://devzone.nordicsemi.com/thread/508643?ContentTypeID=1</link><pubDate>Thu, 31 Oct 2024 10:22:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f8a2d0e-6586-417b-9a0f-f3219a47550a</guid><dc:creator>Laura M</dc:creator><description>&lt;p&gt;Hello &lt;span&gt;Elfving,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;thank you for your reply. I can now have max 64 buffers.&lt;/p&gt;
&lt;p&gt;Can I increase more? Or is there a limit at 64?&lt;/p&gt;
&lt;p&gt;zb_buf_get_out() is now returning IDs until 64 and then it returns&amp;nbsp;ZB_BUF_INVALID, which is not what I expected.&lt;/p&gt;
&lt;p&gt;I set&amp;nbsp;ZB_CONFIG_IOBUF_POOL_SIZE to 127 since, in zb_mem_config_context.h, there is written &amp;quot;some data structures use 7 bits to address a buffer, so can have up to 127 buffers.&amp;quot;&lt;/p&gt;
&lt;p&gt;Best&lt;/p&gt;
&lt;p&gt;Laura&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ZBOSS buffer</title><link>https://devzone.nordicsemi.com/thread/508386?ContentTypeID=1</link><pubDate>Tue, 29 Oct 2024 14:28:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:90915a8f-3ae1-42ba-9430-ec87112e24db</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello Laura,&lt;/p&gt;
&lt;p&gt;You could increase the amount of in/out buffers by increasing &lt;span&gt;&lt;span dir="ltr"&gt;ZB_CONFIG_IOBUF_POOL_SIZE, which you can&amp;nbsp;&lt;/span&gt;&lt;/span&gt;using a custom memory file (ie. &lt;span&gt;&lt;span dir="ltr"&gt;zb_mem_config_xxx.h&lt;/span&gt;&lt;/span&gt;).&lt;/p&gt;
&lt;p&gt;For more info, &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/zboss/3.12.1.0/group__configurable__mem.html"&gt;see here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>