<?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>Matlab Bluetooth Connection with nRF52</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/60487/matlab-bluetooth-connection-with-nrf52</link><description>Has anyone been able to connect the nRF52 to MATLAB using their new Bluetooth Low Energy Communication interface ( https://www.mathworks.com/help/matlab/bluetooth-low-energy-communication.html )? For me, their &amp;quot;ble&amp;quot; function to connect to a BLE device</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 26 Aug 2020 16:51:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/60487/matlab-bluetooth-connection-with-nrf52" /><item><title>RE: Matlab Bluetooth Connection with nRF52</title><link>https://devzone.nordicsemi.com/thread/266574?ContentTypeID=1</link><pubDate>Wed, 26 Aug 2020 16:51:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d8cb7f0-1a28-422d-8ece-aac4035e71e0</guid><dc:creator>jcondon</dc:creator><description>&lt;p&gt;It was awhile ago, but I believe I had the acceptable connection interval on the device side set beyond what Windows was willing to provide. I was also requiring that Data Length Extension be supported and dropping the connection if it wasn&amp;#39;t. I believe relaxing that requirement solved the problem.&lt;/p&gt;
&lt;p&gt;To solve your problem, I recommend&amp;nbsp;investigating each point of the connection negotiation process and see where the nRF52 fails.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Matlab Bluetooth Connection with nRF52</title><link>https://devzone.nordicsemi.com/thread/266570?ContentTypeID=1</link><pubDate>Wed, 26 Aug 2020 16:25:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:37c639a5-445a-4ba3-992e-e812eea20859</guid><dc:creator>RAA</dc:creator><description>&lt;p&gt;Its so great that you solved the issue! Can you tell more about how you actually solved it? I tried reading about connection parameter negotiation failed, but it all seems really confusing and I am a newbie to all of this. Maybe you can share some link or your solution. Thanks for your help!&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Matlab Bluetooth Connection with nRF52</title><link>https://devzone.nordicsemi.com/thread/266549?ContentTypeID=1</link><pubDate>Wed, 26 Aug 2020 14:33:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cab9745d-5b5b-48ee-9673-27576f6abf0f</guid><dc:creator>jcondon</dc:creator><description>&lt;p&gt;This is entirely not helpful and counterproductive. The issue was a combination of how my code and settings on the nRF52 interacted with Windows and Matlab. Pointing the finger at another company for integration issues is what cheap, poor quality customer support agents do.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Matlab Bluetooth Connection with nRF52</title><link>https://devzone.nordicsemi.com/thread/266546?ContentTypeID=1</link><pubDate>Wed, 26 Aug 2020 14:30:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5f30d1fe-f303-4a98-ad39-e3f7c6b52e03</guid><dc:creator>jcondon</dc:creator><description>&lt;p&gt;I did! I believe the issue was that the connection parameter negotiation failed (e.g. connection interval was outside allowed values). It turns out that MATLAB stalls&amp;nbsp;if that process is complete.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Matlab Bluetooth Connection with nRF52</title><link>https://devzone.nordicsemi.com/thread/266424?ContentTypeID=1</link><pubDate>Wed, 26 Aug 2020 09:40:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:80e96a17-b905-41fd-8856-78446ecd13d4</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Might be better to start a separate thread on that, then.&lt;/p&gt;
&lt;p&gt;You can always give a link to this for reference.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;And from here to your new thread&lt;/p&gt;
&lt;p&gt;Tips here on how to debug BLE connectivity issues:&lt;br /&gt;&lt;br /&gt;&lt;a href="https://www.argenox.com/library/bluetooth-low-energy/ultimate-guide-to-debugging-bluetooth-smart-ble-products/"&gt;https://www.argenox.com/library/bluetooth-low-energy/ultimate-guide-to-debugging-bluetooth-smart-ble-products/&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Matlab Bluetooth Connection with nRF52</title><link>https://devzone.nordicsemi.com/thread/266414?ContentTypeID=1</link><pubDate>Wed, 26 Aug 2020 09:24:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:345cb122-2959-4acc-b347-b36401e6816e</guid><dc:creator>RAA</dc:creator><description>&lt;p&gt;Actually I just verified that its not a Matlab issue. I am facing the same issue if I try to connect using Bluetooth LE explorer app from windows store. The connection is established but the app shows it failed. I wonder where the issue is if its not Matlab, so I am guessing that it could be a Nordic issue.&amp;nbsp; Let&amp;#39;s try to brainstorm and solve the issue instead of finding someone else such as Matlab responsible.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Matlab Bluetooth Connection with nRF52</title><link>https://devzone.nordicsemi.com/thread/266412?ContentTypeID=1</link><pubDate>Wed, 26 Aug 2020 09:16:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d3401e99-2cb1-44cf-8e91-bae0deaf15e5</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;The point is that it&amp;#39;s a matlab question - not really to do with Nordic - so you should be asking matlab.&lt;/p&gt;
&lt;p&gt;Also check the matlab forums to see if &lt;a href="https://devzone.nordicsemi.com/members/jcondon"&gt;jcondon&lt;/a&gt; did re-post the question there ...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Matlab Bluetooth Connection with nRF52</title><link>https://devzone.nordicsemi.com/thread/266409?ContentTypeID=1</link><pubDate>Wed, 26 Aug 2020 09:06:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:863dfed6-d530-4f5a-b892-60d7040cf11a</guid><dc:creator>RAA</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/awneil"&gt;awneil&lt;/a&gt; I know it does. That&amp;#39;s not what I asked. I asked &lt;a href="https://devzone.nordicsemi.com/members/jcondon"&gt;jcondon&lt;/a&gt; if he managed to solve the issue using the answer given (or by any other method for that matter). Let&amp;#39;s wait and hopefully hear from &lt;a href="https://devzone.nordicsemi.com/members/jcondon"&gt;jcondon&lt;/a&gt;&amp;nbsp;if he&amp;#39;s still active on the forum.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Matlab Bluetooth Connection with nRF52</title><link>https://devzone.nordicsemi.com/thread/266390?ContentTypeID=1</link><pubDate>Wed, 26 Aug 2020 08:26:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d9fd514a-dd0a-43b0-bc5b-9aef74114bc3</guid><dc:creator>awneil</dc:creator><description>[quote userid="92979" url="~/f/nordic-q-a/60487/matlab-bluetooth-connection-with-nrf52/266083"]I am having the same issue[/quote]
&lt;p&gt;Then, surely, the same answer as already given also applies?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Matlab Bluetooth Connection with nRF52</title><link>https://devzone.nordicsemi.com/thread/266083?ContentTypeID=1</link><pubDate>Tue, 25 Aug 2020 05:09:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:68d2ec9b-aded-4520-b0b7-81dd3846369d</guid><dc:creator>RAA</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/jcondon"&gt;jcondon&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I am having the same issue. Did you manage to solve this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Matlab Bluetooth Connection with nRF52</title><link>https://devzone.nordicsemi.com/thread/245897?ContentTypeID=1</link><pubDate>Tue, 21 Apr 2020 16:23:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:113e5311-74e6-4449-a4d1-bdad3371b188</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Surely, MATLAB are the people to ask about this?&lt;/p&gt;
&lt;p&gt;As you say yourself, it&amp;#39;s &lt;span style="text-decoration:underline;"&gt;&lt;em&gt;&lt;strong&gt;their&lt;/strong&gt;&lt;/em&gt;&lt;/span&gt; thing!&lt;/p&gt;
&lt;p&gt;EDIT&lt;/p&gt;
[quote userid="13415" url="~/f/nordic-q-a/60487/matlab-bluetooth-connection-with-nrf52"](&lt;a href="https://www.mathworks.com/help/matlab/bluetooth-low-energy-communication.html"&gt;https://www.mathworks.com/help/matlab/bluetooth-low-energy-communication.html&lt;/a&gt;)[/quote]
&lt;p&gt;Have you actually studied all the information linked from that page?&lt;/p&gt;
&lt;p&gt;That defines what MATLAB needs &amp;amp; supports.&lt;/p&gt;
&lt;p&gt;Have you implemented the required Services, Characteristics, etc in your&amp;nbsp;&lt;span&gt;nRF52840 ?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;There is even an example for the Thingy:52:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.mathworks.com/help/matlab/import_export/track-orientation-of-bluetooth-low-energy-device.html"&gt;https://www.mathworks.com/help/matlab/import_export/track-orientation-of-bluetooth-low-energy-device.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>