<?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>Avoid external devices disrupt a Bluetooth connection</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/108567/avoid-external-devices-disrupt-a-bluetooth-connection</link><description>Hi everyone! We&amp;#39;re working on a device that is supposed to use in the operating room (OR). We&amp;#39;re facing a serious problem with BLE connection as there are other wireless devices or sources of electromagnetic radiation in the OR. The system briefly describes</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 25 Mar 2024 21:39:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/108567/avoid-external-devices-disrupt-a-bluetooth-connection" /><item><title>RE: Avoid external devices disrupt a Bluetooth connection</title><link>https://devzone.nordicsemi.com/thread/475760?ContentTypeID=1</link><pubDate>Mon, 25 Mar 2024 21:39:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:474cced0-336b-466d-9ecb-7855d051bcbe</guid><dc:creator>Tai</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/hmolesworth"&gt;hmolesworth&lt;/a&gt;&amp;nbsp;. Sorry for not replying this earlier.&amp;nbsp;Thanks for this tip! We now accepted data loss as long as it&amp;#39;s less than 2% of whole data.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Avoid external devices disrupt a Bluetooth connection</title><link>https://devzone.nordicsemi.com/thread/471168?ContentTypeID=1</link><pubDate>Wed, 28 Feb 2024 04:22:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8e053127-90de-4328-9abd-f4520b24837d</guid><dc:creator>hmolesworth</dc:creator><description>&lt;p&gt;In my testing&amp;nbsp;&lt;span&gt;75 - 100cm height would degrade performance; maybe test at 1-2m to see if it makes a difference ..&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Edit: Worth reviewing this, although short-range OR is not quite the same near-ground can be an issue:&amp;nbsp;&lt;a href="https://www.fanstel.com/testreport"&gt;testreport&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Avoid external devices disrupt a Bluetooth connection</title><link>https://devzone.nordicsemi.com/thread/471153?ContentTypeID=1</link><pubDate>Wed, 28 Feb 2024 00:14:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:256a72ea-1a6b-46cd-871b-c2ea24daabec</guid><dc:creator>Tai</dc:creator><description>[quote userid="15146" url="~/f/nordic-q-a/108567/avoid-external-devices-disrupt-a-bluetooth-connection/471009"]If you think interference is an issue, you could confirm the packet loss, crc-error, etc with a sniffer trace:&amp;nbsp;&lt;a href="https://www.nordicsemi.com/Products/Development-tools/nrf-sniffer-for-bluetooth-le"&gt;https://www.nordicsemi.com/Products/Development-tools/nrf-sniffer-for-bluetooth-le&lt;/a&gt;[/quote]
&lt;p&gt;It&amp;#39;s really hard for us to trace it when testing it in the OR. We tried to reproduce it in the benchtop test by moving the device far away the phone app.&lt;/p&gt;
[quote userid="15146" url="~/f/nordic-q-a/108567/avoid-external-devices-disrupt-a-bluetooth-connection/471009"]If you are creating a custom PCB, we could help review the design. If so, please create a new private case for&amp;nbsp;the PCB review[/quote]
&lt;p&gt;We&amp;#39;re using a third-party one with FCC granted for&amp;nbsp;&lt;span&gt;portable use (body worn).&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Avoid external devices disrupt a Bluetooth connection</title><link>https://devzone.nordicsemi.com/thread/471144?ContentTypeID=1</link><pubDate>Tue, 27 Feb 2024 22:19:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ad22d46-36d9-4b50-8ed3-ebc620441b88</guid><dc:creator>Tai</dc:creator><description>[quote userid="65515" url="~/f/nordic-q-a/108567/avoid-external-devices-disrupt-a-bluetooth-connection/471003"]Some thoughts: Trace antenna/aerial behaves poorly; chip antenna/aerial has much better results. Height above ground can affect performance, eg on bench vs on floor (say sole of foot). FDA and other regulatory bodies (used to) frown on using BLE in the OR so clearance may be an issue.[/quote]
&lt;p&gt;&lt;span&gt;Thanks for suggestions! We&amp;#39;re using chip antenna, and we boosted Tx power to 8 dBm. With benchtop test, we barely get data drops unless we stress the device really hard (e.g., covering it with many isolated layers, moving it far away the phone app....). &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;In the OR setup, we currently put our phone app close to the floor and behind other medical equipment while the device is about 75 - 100cm height. Not sure if it affects the device performance.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;FYI, as far as I know FDA does not have specific comments or regulations solely dedicated to devices using&amp;nbsp;BLE technology in operating rooms.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Avoid external devices disrupt a Bluetooth connection</title><link>https://devzone.nordicsemi.com/thread/471009?ContentTypeID=1</link><pubDate>Tue, 27 Feb 2024 12:42:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:19f9de48-d366-4604-b5ea-31961cd593ad</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;If you think interference is an issue, you could confirm the packet loss, crc-error, etc with a sniffer trace:&amp;nbsp;&lt;a href="https://www.nordicsemi.com/Products/Development-tools/nrf-sniffer-for-bluetooth-le"&gt;https://www.nordicsemi.com/Products/Development-tools/nrf-sniffer-for-bluetooth-le&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;By increasing the&amp;nbsp;&lt;span&gt;queue buffer for notifications, then during&amp;nbsp;interference, you could then be able to &amp;quot;buffer&amp;quot; up packets, and get them through once the interference is lower/gone.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If you are creating a custom PCB, we could help review the design. If so, please create a new private case for&amp;nbsp;the PCB review.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Avoid external devices disrupt a Bluetooth connection</title><link>https://devzone.nordicsemi.com/thread/471003?ContentTypeID=1</link><pubDate>Tue, 27 Feb 2024 12:26:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e6f0fdb-87d1-4db6-98e7-1fca05d762c5</guid><dc:creator>hmolesworth</dc:creator><description>&lt;p&gt;Some thoughts: Trace antenna/aerial behaves poorly; chip antenna/aerial has much better results. Height above ground can affect performance, eg on bench vs on floor (say heel of foot). FDA and other regulatory bodies (used to) frown on using BLE in the OR so clearance may be an issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Avoid external devices disrupt a Bluetooth connection</title><link>https://devzone.nordicsemi.com/thread/470920?ContentTypeID=1</link><pubDate>Tue, 27 Feb 2024 06:20:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0262475b-3899-4447-84a6-c2cde5e135ad</guid><dc:creator>Tai</dc:creator><description>&lt;p&gt;Hmm, we&amp;#39;re developing an IOS application to receive data, and&amp;nbsp;IOS limits number of packets (about 4-6 data packets) being sent for each connection interval. Thus, playing around with those you mentioned won&amp;#39;t be much effective.&lt;/p&gt;
&lt;p&gt;Any suggestions on grounding/shielding the device to prevent it from interference of other devices?Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Avoid external devices disrupt a Bluetooth connection</title><link>https://devzone.nordicsemi.com/thread/470808?ContentTypeID=1</link><pubDate>Mon, 26 Feb 2024 15:35:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:10004b6d-8426-4d1d-9279-f8130211e216</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
[quote user="Tai Le"]From what I understand, this parameter is linked with connection interval, deciding how many packets it can be transmitted during each connection interval.[/quote]
&lt;p&gt;Correct, it also indirectly increase the queue buffer for notifications.&lt;/p&gt;
&lt;p&gt;Alternatively, you can try set the buffer size directly.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;    ble_cfg_t ble_cfg;
    memset(&amp;amp;ble_cfg, 0, sizeof ble_cfg);
    ble_cfg.conn_cfg.conn_cfg_tag           = APP_BLE_CONN_CFG_TAG;
    ble_cfg.conn_cfg.params.gatts_conn_cfg.hvn_tx_queue_size = 50;
    err_code = sd_ble_cfg_set(BLE_CONN_CFG_GATTS, &amp;amp;ble_cfg, ram_start);
    APP_ERROR_CHECK(err_code);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;(should be added to ble_stack_init() in main.c )&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Avoid external devices disrupt a Bluetooth connection</title><link>https://devzone.nordicsemi.com/thread/470518?ContentTypeID=1</link><pubDate>Fri, 23 Feb 2024 18:15:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b211b9a-0ba0-4845-b57f-61af9b5473cf</guid><dc:creator>Tai</dc:creator><description>&lt;p&gt;Thanks for reply,&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/sigurdon"&gt;Sigurd&lt;/a&gt;. I&amp;#39;ve read many posts regarding&amp;nbsp;NRF_SDH_BLE_GAP_EVENT_LENGTH parameter.&amp;nbsp; I&amp;#39;m still confused how much should I increase this parameter? From what I understand, this parameter is linked with connection interval, deciding how many packets it can be transmitted during each connection interval. Since my connection interval is 7.5 ms, I&amp;#39;ve set&amp;nbsp;NRF_SDH_BLE_GAP_EVENT_LENGTH&amp;nbsp;to 6 (6 x 1.25ms = 7.5ms), covering 100% transmission bandwidth.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " height="258" src="https://devzone.nordicsemi.com/resized-image/__size/1178x516/__key/communityserver-discussions-components-files/4/pastedimage1708711744798v1.png" width="589" /&gt;&lt;/p&gt;
&lt;p&gt;I noticed its value is set to 400 (400 x 1.25ms = 500ms) with the following setup in the example of &lt;a href="https://github.com/NordicPlayground/nRF52-ble-long-range-demo/tree/master"&gt;long-range demo&lt;/a&gt;. It seems this number is based on the max acceptable connection interval? Thanks!&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;#define CONN_INTERVAL_MIN               (uint16_t)(MSEC_TO_UNITS(7.5, UNIT_1_25_MS))    /**&amp;lt; Minimum acceptable connection interval, in 1.25 ms units. */
#define CONN_INTERVAL_MAX               (uint16_t)(MSEC_TO_UNITS(500, UNIT_1_25_MS))    /**&amp;lt; Maximum acceptable connection interval, in 1.25 ms units. */&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Avoid external devices disrupt a Bluetooth connection</title><link>https://devzone.nordicsemi.com/thread/470464?ContentTypeID=1</link><pubDate>Fri, 23 Feb 2024 13:14:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef250834-ffa1-4c52-bbb2-a8b658aa1f52</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;You could try to increase the&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></channel></rss>