<?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>Issue with peripheral_mds sample not connecting to nRF Memfault application</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/101126/issue-with-peripheral_mds-sample-not-connecting-to-nrf-memfault-application</link><description>I&amp;#39;m finding the peripheral_mds application sample very challenging to get working. I am using nRF extensions in VS code with NCS 2.3.0 and 2.4.0 on the nRF52 DK and the nRF5340 DK. 
 With the nRF52 DK, using the sample with NCS 2.3.0 was not working.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 27 Jun 2023 15:30:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/101126/issue-with-peripheral_mds-sample-not-connecting-to-nrf-memfault-application" /><item><title>RE: Issue with peripheral_mds sample not connecting to nRF Memfault application</title><link>https://devzone.nordicsemi.com/thread/433307?ContentTypeID=1</link><pubDate>Tue, 27 Jun 2023 15:30:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5f4d2882-9157-407c-aaaa-8246c643ad02</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Try to&amp;nbsp;delete the bond information (forget the device from the Bluetooth setting) before pairing it with nRF5340DK, and try reading this characteristic in &lt;a href="https://www.nordicsemi.com/Products/Development-tools/nRF-Connect-for-mobile"&gt;nRF connect for mobile&lt;/a&gt; app and check what is the value.&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with peripheral_mds sample not connecting to nRF Memfault application</title><link>https://devzone.nordicsemi.com/thread/432768?ContentTypeID=1</link><pubDate>Fri, 23 Jun 2023 17:56:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e93bffe5-fb6f-4576-ae00-35a313452499</guid><dc:creator>Anthony W</dc:creator><description>&lt;p&gt;Yes, the same code with the same key worked for the nRF52 DK (for 2.4.0, same error for NCS 2.3.0).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with peripheral_mds sample not connecting to nRF Memfault application</title><link>https://devzone.nordicsemi.com/thread/432763?ContentTypeID=1</link><pubDate>Fri, 23 Jun 2023 17:01:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bccabdc6-4e2e-41a1-a641-dcf985eed960</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Is the product key from&amp;nbsp;&lt;a href="https://app.memfault.com/"&gt;Memfault Dashboards&lt;/a&gt;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with peripheral_mds sample not connecting to nRF Memfault application</title><link>https://devzone.nordicsemi.com/thread/432762?ContentTypeID=1</link><pubDate>Fri, 23 Jun 2023 16:50:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eaeca546-3796-430e-a5c2-4493c4aa4ad5</guid><dc:creator>Anthony W</dc:creator><description>&lt;p&gt;iOS 16.5.1&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1687539006939v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with peripheral_mds sample not connecting to nRF Memfault application</title><link>https://devzone.nordicsemi.com/thread/432760?ContentTypeID=1</link><pubDate>Fri, 23 Jun 2023 16:36:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:399b00b6-c8a7-423c-b08c-a517d9acafd1</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;What is your iOS version?&lt;/p&gt;
[quote user="Anthony W"]that the app immediately fails to connect with that URI error[/quote]
&lt;p&gt;Can you provide the screen shot?&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with peripheral_mds sample not connecting to nRF Memfault application</title><link>https://devzone.nordicsemi.com/thread/432737?ContentTypeID=1</link><pubDate>Fri, 23 Jun 2023 14:50:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:25f904ca-3c26-401a-93f1-b4178f0f2478</guid><dc:creator>Anthony W</dc:creator><description>&lt;p&gt;For the nRF52 DK, using NCS 2.4.0, I&amp;#39;m able to do exactly what you said. I&amp;#39;m not sure why 2.3.0 gives that error. But following the same procedure for the nRF5340 DK the issue I get, from looking at the iOS app and the serial communication, is that the app immediately fails to connect with that URI error, and the serial communication suggests that the device connects, changes the security, then disconnects:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;*** Booting Zephyr OS build v3.3.99-ncs1 ***
Starting Bluetooth Memfault example
Bluetooth initialized
Advertising successfully started
Connected 98:50:2E:25:3A:2B (public)
Security changed: 98:50:2E:25:3A:2B (public) level 2
[00:00:05.097,229] &amp;lt;wrn&amp;gt; bt_l2cap: Ignoring data for unknown channel ID 0x003a
Disconnected (reason 19)
uart:~$&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t change anything about the setup (except that I have to add the heap configuration to the _ns build since it&amp;#39;s not done by default), I just directly build, flash, and run.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Sorry, I forgot I was actually able to pair the device. The error above comes&amp;nbsp;&lt;em&gt;after&lt;/em&gt; pairing the two. The product key is set (I use the same code, different build configuration for the nRF52 DK).&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;*** Booting Zephyr OS build v3.3.99-ncs1 ***
Starting Bluetooth Memfault example
Bluetooth initialized
Advertising successfully started
Connected 47:63:DE:A9:8B:93 (random)
[00:00:10.694,000] &amp;lt;wrn&amp;gt; bt_l2cap: Ignoring data for unknown channel ID 0x003a
Pairing confirmation required for 47:63:DE:A9:8B:93 (random)
Press Button 1 to confirm, Button 2 to reject.
Pairing confirmed
Security changed: 47:63:DE:A9:8B:93 (random) level 2
Pairing completed: 98:50:2E:25:3A:2B (public), bonded: 1
Disconnected (reason 19)
Connected 98:50:2E:25:3A:2B (public)
Security changed: 98:50:2E:25:3A:2B (public) level 2
[00:00:23.744,537] &amp;lt;wrn&amp;gt; bt_l2cap: Ignoring data for unknown channel ID 0x003a
Disconnected (reason 19)
uart:~$ &lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with peripheral_mds sample not connecting to nRF Memfault application</title><link>https://devzone.nordicsemi.com/thread/432736?ContentTypeID=1</link><pubDate>Fri, 23 Jun 2023 14:41:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6e16fde1-0e69-4d82-8bf7-884f91e1a14e</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Do you set the&amp;nbsp;&lt;span&gt;project key in the project settings from&amp;nbsp;&lt;/span&gt;&lt;a href="https://app.memfault.com/"&gt;Memfault Dashboards&lt;/a&gt;? If not, please do it.&amp;nbsp;&lt;/p&gt;
[quote user=""]After pairing, when trying to connect with the nRF Memfault application on iOS, I would always get the error &amp;quot;Unable to Read Device URI&amp;quot;.[/quote]
&lt;p&gt;Do you press Button 1 to confirm pairing? What is the device log when you get the error?&lt;/p&gt;
&lt;p&gt;I have tested nRF5340DK and nRF52DK with NCS v2.4.0, but I could not reproduce that error. Could you elaborate in more detail on how to reproduce it?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>