<?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>Windows and Microsoft Teams hijacks connection to bonded BLE peripheral, preventing custom Windows application access</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/92012/windows-and-microsoft-teams-hijacks-connection-to-bonded-ble-peripheral-preventing-custom-windows-application-access</link><description>We have a nRF52840 peripheral using the S140 SoftDevice on the SDK15.3. 
 Our peripheral is configured to advertise with the following advertising data: flags (BLE_GAP_ADV_FLAGS_LE_ONLY_GENERAL_DISC_MODE only), 128-bit custom service UUIDs, and a name</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 04 Nov 2022 13:13:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/92012/windows-and-microsoft-teams-hijacks-connection-to-bonded-ble-peripheral-preventing-custom-windows-application-access" /><item><title>RE: Windows and Microsoft Teams hijacks connection to bonded BLE peripheral, preventing custom Windows application access</title><link>https://devzone.nordicsemi.com/thread/394158?ContentTypeID=1</link><pubDate>Fri, 04 Nov 2022 13:13:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:48b7b966-d9d2-4399-a373-cbec17521a6d</guid><dc:creator>SwRa</dc:creator><description>&lt;p&gt;Hi Bret,&lt;/p&gt;
&lt;p&gt;Thank you for sharing the workaround..&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Swathy&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Windows and Microsoft Teams hijacks connection to bonded BLE peripheral, preventing custom Windows application access</title><link>https://devzone.nordicsemi.com/thread/394018?ContentTypeID=1</link><pubDate>Thu, 03 Nov 2022 20:09:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c68fb18c-be6a-486f-b905-f69016194e8c</guid><dc:creator>BretH</dc:creator><description>&lt;p&gt;We&amp;#39;ve found a workaround using the Windows API. Our Windows code was using a &lt;a href="https://github.com/microsoft/Windows-universal-samples/blob/main/Samples/BluetoothAdvertisement/cs/Scenario1_Watcher.xaml.cs"&gt;&lt;span class="pl-en"&gt;BluetoothLEAdvertisementWatcher&lt;/span&gt;&lt;/a&gt;&lt;span class="pl-en"&gt;, but if MS Teams connects, there is no way for this watcher to receive an advertisement. Instead, a &lt;a href="https://github.com/microsoft/Windows-universal-samples/blob/main/Samples/BluetoothLE/cs/Scenario1_Discovery.xaml.cs"&gt;DeviceInformation&lt;/a&gt; watcher can obtain a handle to an already connected device, allowing the ability to create the &lt;span&gt;&lt;code class="code css-1xivnph" data-renderer-mark="true"&gt;BluetoothLEDevice&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Windows and Microsoft Teams hijacks connection to bonded BLE peripheral, preventing custom Windows application access</title><link>https://devzone.nordicsemi.com/thread/389451?ContentTypeID=1</link><pubDate>Wed, 05 Oct 2022 14:21:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7f82726-028e-4cde-a852-98bfa454b3ff</guid><dc:creator>BretH</dc:creator><description>&lt;p&gt;Our team had a discussion with MS Teams support, but they claimed innocence because it &amp;quot;&lt;span&gt;could not be a Teams issue because Teams is not a BT device&lt;/span&gt;&amp;quot; which we&amp;#39;ve shown is demonstrably false (behavior is 100% correlated and reproducible to teams being open or not). Teams isn&amp;#39;t necessarily doing anything illegal, but it also isn&amp;#39;t being a good neighbor by requesting connections to peripherals it never uses. It&amp;#39;s also possible that the Windows OS is doing something strange based on the APIs used by MS Teams.&lt;/p&gt;
&lt;p&gt;Regardless, we&amp;#39;ve found an alternative Windows API using the DeviceInformation class that allows our Windows application to &amp;quot;connect&amp;quot; and obtain a handle to our BLE peripheral even when Windows has already connected to our peripheral from outside of our Windows application.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Windows and Microsoft Teams hijacks connection to bonded BLE peripheral, preventing custom Windows application access</title><link>https://devzone.nordicsemi.com/thread/389449?ContentTypeID=1</link><pubDate>Wed, 05 Oct 2022 14:13:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:481400bf-8a84-4bcb-9e70-7da1769c92b3</guid><dc:creator>BretH</dc:creator><description>[quote userid="107732" url="~/f/nordic-q-a/92012/windows-and-microsoft-teams-hijacks-connection-to-bonded-ble-peripheral-preventing-custom-windows-application-access/389433"]Could you tell me what the&amp;nbsp;BT audio device is connected to.? To your PC.?[/quote]
&lt;p&gt;Windows 10/11 PC and any &lt;em&gt;classic &lt;/em&gt;BT audio device such as air pods, a wireless headset, speaker, etc.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Windows and Microsoft Teams hijacks connection to bonded BLE peripheral, preventing custom Windows application access</title><link>https://devzone.nordicsemi.com/thread/389433?ContentTypeID=1</link><pubDate>Wed, 05 Oct 2022 13:38:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea693ec1-1619-465e-a6b7-c2000eff573e</guid><dc:creator>SwRa</dc:creator><description>&lt;p&gt;Hi Bret,&lt;/p&gt;
[quote user=""]we have observed that if another BT audio device is connected AND Microsoft teams is open[/quote]
&lt;p&gt;Could you tell me what the&amp;nbsp;BT audio device is connected to.? To your PC.?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Swathy&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Windows and Microsoft Teams hijacks connection to bonded BLE peripheral, preventing custom Windows application access</title><link>https://devzone.nordicsemi.com/thread/386961?ContentTypeID=1</link><pubDate>Mon, 19 Sep 2022 20:36:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4276aadf-0a01-4ee0-b857-db887d7d19b6</guid><dc:creator>BretH</dc:creator><description>&lt;p&gt;I have reproduced this issue using Nordic example projects and the NRF52840DK. I tried ble_app_hrs and MS Teams always auto-connected to the nordic peripheral. If I quit MS Teams, Windows drops the connection and will not attempt to reconnect.&lt;/p&gt;
&lt;p&gt;I also modified the ble_app_hrs example to advertise with the NUS service and only include NUS in the GATT table. Same results. I did this rather than using ble_app_uart because I wanted bonding.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Windows and Microsoft Teams hijacks connection to bonded BLE peripheral, preventing custom Windows application access</title><link>https://devzone.nordicsemi.com/thread/386670?ContentTypeID=1</link><pubDate>Fri, 16 Sep 2022 13:24:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60d5163c-286e-4ad3-beda-81e62fdcdd67</guid><dc:creator>SwRa</dc:creator><description>&lt;p&gt;Hi Bret,&lt;/p&gt;
&lt;p&gt;I discussed it with a few of my colleagues and they have not observed this issue before.. I will however ask around a bit more..&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Swathy&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>