<?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>how to limit the number of packet in each connection event?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/82441/how-to-limit-the-number-of-packet-in-each-connection-event</link><description>Now I&amp;#39;m using nrf52840 as a master and some other ble chips as multi peripherals. 
 As I know, in ble link layer data header, there is a tag: MD(More Data) , by which, every peripheral can indicate the master : I has more data or not can be sent. 
 On</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 06 Dec 2021 13:39:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/82441/how-to-limit-the-number-of-packet-in-each-connection-event" /><item><title>RE: how to limit the number of packet in each connection event?</title><link>https://devzone.nordicsemi.com/thread/342090?ContentTypeID=1</link><pubDate>Mon, 06 Dec 2021 13:39:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e105c7c-0012-4eb1-8814-c622079f78e8</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;I am glad to hear it worked. Thanks for letting me know &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: how to limit the number of packet in each connection event?</title><link>https://devzone.nordicsemi.com/thread/342085?ContentTypeID=1</link><pubDate>Mon, 06 Dec 2021 13:27:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a61789e-1fa2-495a-9f25-259f37e1e6eb</guid><dc:creator>roamv</dc:creator><description>&lt;p&gt;By using &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/kconfig/CONFIG_SDC_MAX_CONN_EVENT_LEN_DEFAULT.html"&gt;SDC_MAX_CONN_EVENT_LEN_DEFAULT&lt;/a&gt; and set it to 2500, the master is working perfectly now.&lt;/p&gt;
&lt;p&gt;Very appreciate your help!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks again!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to limit the number of packet in each connection event?</title><link>https://devzone.nordicsemi.com/thread/342024?ContentTypeID=1</link><pubDate>Mon, 06 Dec 2021 10:18:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a3d2594-b803-4823-9065-4be840a42bf7</guid><dc:creator>roamv</dc:creator><description>&lt;p&gt;Got you, I&amp;#39;ll have a try and let you know the result.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to limit the number of packet in each connection event?</title><link>https://devzone.nordicsemi.com/thread/342015?ContentTypeID=1</link><pubDate>Mon, 06 Dec 2021 09:49:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c175686c-5660-46c9-9e30-e38e943750f1</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;This configuration were only in earlier SoftDevice versions, and is no longer available. In recent SoftDevice versions you control this by configuring the event length, and that is also what you need to do in the nRF Connect SDK. In that case&amp;nbsp;you can use &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/kconfig/CONFIG_SDC_MAX_CONN_EVENT_LEN_DEFAULT.html"&gt;SDC_MAX_CONN_EVENT_LEN_DEFAULT &lt;/a&gt;and set that to a low value.&lt;/p&gt;
&lt;p&gt;Another alternative could be to send data as indications instead of other methods. With indications there are never more than one per connection event (unlike with notifications).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to limit the number of packet in each connection event?</title><link>https://devzone.nordicsemi.com/thread/341999?ContentTypeID=1</link><pubDate>Mon, 06 Dec 2021 09:01:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:edfb202c-53c0-4263-8775-eeba91465d2d</guid><dc:creator>roamv</dc:creator><description>&lt;p&gt;it&amp;#39;s from here: &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/16742/limit-packet-number-per-connection-interval"&gt;devzone.nordicsemi.com/.../limit-packet-number-per-connection-interval&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to limit the number of packet in each connection event?</title><link>https://devzone.nordicsemi.com/thread/341998?ContentTypeID=1</link><pubDate>Mon, 06 Dec 2021 08:59:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:548b51e1-9737-47c4-b625-c743a6664262</guid><dc:creator>roamv</dc:creator><description>&lt;p&gt;Hi Einar Thorsrud, thanx for your reply.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I read from an other thread said sd_ble_opt_set can be used to limit the sender(in my project they are peripherals) to send only 1 packet in each connection event.&lt;/p&gt;
&lt;p&gt;If I ask my customer to change the peripherals chips to nrf52832, is that possible to use sd_ble_opt_set to fullfill the requirement?&lt;/p&gt;
&lt;p&gt;By the way, I&amp;#39;m developing under Zephyr, if this can work, which API should be used instead of sd_ble_opt_set?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to limit the number of packet in each connection event?</title><link>https://devzone.nordicsemi.com/thread/341992?ContentTypeID=1</link><pubDate>Mon, 06 Dec 2021 08:33:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b6e81517-a772-4c02-b2a3-4bc045c19585</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;There is no&amp;nbsp;API for limiting this explicitly. What you can do however, is to configure a short event length. It is only possible/allowed to send more packets within the connection event, and if you make the event short enough to only fit one packet then that should do the trick (though if you need to fit one large packet it may be possible to get e.g. two very small packets through in the same event length).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>