<?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>IPhone BLE paired to nrf52840 running at full bandwidth. How many of these systems (IPhone paired to nrf52840s) can be in one room?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/73034/iphone-ble-paired-to-nrf52840-running-at-full-bandwidth-how-many-of-these-systems-iphone-paired-to-nrf52840s-can-be-in-one-room</link><description>I have many of these types of systems running in a single room but when I try to run more than 8 I start start to get errors. How many systems should be able to run in the same room at the same time?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 26 Mar 2021 15:04:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/73034/iphone-ble-paired-to-nrf52840-running-at-full-bandwidth-how-many-of-these-systems-iphone-paired-to-nrf52840s-can-be-in-one-room" /><item><title>RE: IPhone BLE paired to nrf52840 running at full bandwidth. How many of these systems (IPhone paired to nrf52840s) can be in one room?</title><link>https://devzone.nordicsemi.com/thread/302190?ContentTypeID=1</link><pubDate>Fri, 26 Mar 2021 15:04:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b3a10ff9-221d-4884-b816-b05b04436140</guid><dc:creator>Sigurd</dc:creator><description>[quote user="Markl"]I guess we really just want to know if eight device pairs is an expected number that can be supported with regard to high speed BLE data transfer, or if there is some parameters(s) we can try adjusting to improve the situation.&amp;nbsp;[/quote]
&lt;p&gt;&amp;nbsp;If you are sending a lot of data, i.e., spending the entire connection event to send packets, and there is no &amp;quot;radio idle&amp;quot; time between connection events/intervals, and you have 8 devices that does this, the&amp;nbsp;channel utilization&amp;nbsp;starts to get high, packet collision can happen, and that will reduce the throughput &amp;amp; bandwidth. The SoftDevice will try to retransmit packets that are not ack’ed on the link layer, so if your application is continuing pushing packets to the SoftDevice, the internal SoftDevice buffer might get full. If that happens, the function sd_ble_gatts_hvx() will return NRF_ERROR_RESOURCES. Over time the central(phone in this case) might be able to set a channel map that reduces the probability of packet collisions. But the application needs to gracefully be able to handle the NRF_ERROR_RESOURCES return code. That said, it might also help to increase the SD buffer, e.g. by increasing the value of&amp;nbsp; NRF_SDH_BLE_GAP_EVENT_LENGTH in sdk_config.h&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IPhone BLE paired to nrf52840 running at full bandwidth. How many of these systems (IPhone paired to nrf52840s) can be in one room?</title><link>https://devzone.nordicsemi.com/thread/301779?ContentTypeID=1</link><pubDate>Wed, 24 Mar 2021 19:49:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:278afcbb-1716-42a5-bb1f-dd8f36771c4a</guid><dc:creator>Markl</dc:creator><description>&lt;p&gt;Each of the 8 devices is transmitting data to the phone at max data rate (2Mbit). If we run nine or more devices simultaneously in a common space we begin to see an avalanche of packet collisions. These collisions seem to manifest in at least one of the devices&amp;#39; uP getting trapped in the soft device ISR, which leads to real-time failures such as watchdog timeout and starvation of other real time critical devices. One of our engineers characterized the issue as garbage collection taking a long time at highest priority ISR level, which locks out all other interrupts. I guess we really just want to know if eight device pairs is an expected number that can be supported with regard to high speed BLE data transfer, or if there is some parameters(s) we can try adjusting to improve the situation.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IPhone BLE paired to nrf52840 running at full bandwidth. How many of these systems (IPhone paired to nrf52840s) can be in one room?</title><link>https://devzone.nordicsemi.com/thread/301400?ContentTypeID=1</link><pubDate>Tue, 23 Mar 2021 11:25:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:713c7994-9410-4238-8a9a-7387d8a5a896</guid><dc:creator>Sigurd</dc:creator><description>[quote user="day1ok"]The error is loss of data [/quote]
&lt;p&gt;&amp;nbsp;How do you measure that? If you are in a very noisy 2.4GHz environment there might be packet collision, so that some packets might need to be re-transmitted, but you should not lose the data.&lt;/p&gt;
&lt;p&gt;Also, can you explain what you mean by&amp;nbsp;&amp;quot;running at full bandwidth&amp;quot; ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IPhone BLE paired to nrf52840 running at full bandwidth. How many of these systems (IPhone paired to nrf52840s) can be in one room?</title><link>https://devzone.nordicsemi.com/thread/301089?ContentTypeID=1</link><pubDate>Sun, 21 Mar 2021 16:41:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a734e315-f742-4911-a06a-132a518aea26</guid><dc:creator>day1ok</dc:creator><description>&lt;p&gt;Yes, eight iphones connected to eight nRF52840.&amp;nbsp;&lt;br /&gt;1) Iphone #1 paired to nrf52840 #1&lt;br /&gt;2) Iphone #2 paired to nrf52840 #2&lt;br /&gt;etc...&lt;/p&gt;
&lt;p&gt;Each system (one iphone paired to 1 nrf52840) is within a few feet of each other and the room is 10&amp;#39;x10&amp;#39;.&lt;br /&gt;&lt;br /&gt;The error is loss of data that is being transmitted from the nRF to the iphone and this only happens when we have more than eight of these systems in a room.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Yes, the iphones are also using wifi&lt;br /&gt;&lt;br /&gt;It is an office environment and yes there are other wifi and bluetooth devices nearby no more than 10 computers, mice, phones, wireless headphones, etc.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IPhone BLE paired to nrf52840 running at full bandwidth. How many of these systems (IPhone paired to nrf52840s) can be in one room?</title><link>https://devzone.nordicsemi.com/thread/301025?ContentTypeID=1</link><pubDate>Sat, 20 Mar 2021 00:40:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5022a324-01a1-4a38-85b2-2d3b71832b00</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Just to be clear: is that eight iPhones and eight nRF52840, with each iPhone connected to one nRF52840?&lt;/p&gt;
&lt;p&gt;How big is the room?&lt;/p&gt;
[quote userid="102802" url="~/f/nordic-q-a/73034/iphone-ble-paired-to-nrf52840-running-at-full-bandwidth-how-many-of-these-systems-iphone-paired-to-nrf52840s-can-be-in-one-room"]I start start to get errors.[/quote]
&lt;p&gt;What kinds of errors, exactly?&lt;/p&gt;
&lt;p&gt;Presumably, these iPhones are also using WiFi?&lt;/p&gt;
&lt;p&gt;Are there also other WiFi and/or BLE devices?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>