<?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>connect to Web Bluetooth</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/63699/connect-to-web-bluetooth</link><description>Hello, 
 I&amp;#39;m trying to connect a bluetooth device (peripheral) with Web Bluetooth (central). I send an addvertising packet and I can see the device in Web Bluetooth but I fail to connect to it. My code looks like this: (MicroPython) 
 ble.gap_advertise</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 13 Jul 2020 16:30:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/63699/connect-to-web-bluetooth" /><item><title>RE: connect to Web Bluetooth</title><link>https://devzone.nordicsemi.com/thread/259749?ContentTypeID=1</link><pubDate>Mon, 13 Jul 2020 16:30:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ce30ab8-a856-42a8-8192-1164d8441587</guid><dc:creator>awneil</dc:creator><description>[quote userid="91893" url="~/f/nordic-q-a/63699/connect-to-web-bluetooth/259670"]with the App nRF Connect it works perfectly[/quote]
&lt;p&gt;So it sounds like the problem is in your browser setup - which is really beyond the scope of this forum.&lt;/p&gt;
&lt;p&gt;You need to look into the diagnostic capabilities of your browser and the platform it&amp;#39;s running on to see what&amp;#39;s going on.&lt;/p&gt;
&lt;p&gt;Compare &amp;amp; contrast the working and non-working cases.&lt;/p&gt;
[quote userid="6462" url="~/f/nordic-q-a/63699/connect-to-web-bluetooth/259664"]What device is the Peripheral[/quote]
&lt;p&gt;You didn&amp;#39;t answer.&lt;/p&gt;
&lt;p&gt;Does it have any diagnostic capabilities to help you?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: connect to Web Bluetooth</title><link>https://devzone.nordicsemi.com/thread/259670?ContentTypeID=1</link><pubDate>Mon, 13 Jul 2020 11:24:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ef3345e-18bc-4c99-9f85-38f138b264ba</guid><dc:creator>luca brandt</dc:creator><description>&lt;p&gt;On my Bluetooth enabled web browser (with JavaScript) I&amp;#39;m requesting a bluetooth device and&amp;nbsp; try to connect to it. I don&amp;#39;t get an error message but it just doesn&amp;#39;t connect. (Code: server = await device.gatt.connect()) The Code stops at that line.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The JavaScript code worked with another bluetooth peripheral. (RN4678) I checked.&amp;nbsp;I exchanged the device name and the service using the filter option. The service I want to access is in the payload. And with the App nRF Connect it works perfectly. I can connect to the peripheral and read and write data.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: connect to Web Bluetooth</title><link>https://devzone.nordicsemi.com/thread/259664?ContentTypeID=1</link><pubDate>Mon, 13 Jul 2020 10:32:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a05c166e-2d64-4998-a52a-81e7d51f2fea</guid><dc:creator>awneil</dc:creator><description>[quote userid="91893" url="~/f/nordic-q-a/63699/connect-to-web-bluetooth"] I fail to connect to it[/quote]
&lt;p&gt;What testing / investigation / debugging have &lt;em&gt;&lt;strong&gt;you&lt;/strong&gt; &lt;/em&gt;done to find&amp;nbsp;what&amp;#39;s going wrong ?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Do you get any error messages?&lt;/p&gt;
&lt;p&gt;Do you have tools on the Central &amp;amp; Peripheral to see what&amp;#39;s happening?&lt;/p&gt;
&lt;p&gt;What are you using as the Central?&lt;/p&gt;
&lt;p&gt;What device is the Peripheral ?&lt;/p&gt;
&lt;p&gt;Have you had any success connecting to other peripherals?&lt;/p&gt;
&lt;p&gt;Have you had any success in establishing a &amp;quot;conventional&amp;quot; BLE connection in MicroPython ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>