<?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 Mesh Reconnection</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/118753/issue-with-mesh-reconnection</link><description>Hello Nordic Engineer, 
 
 I successfully controlled the 52840 DK through Mesh using my phone. However, after exiting the app and reopening it, I can no longer control the DK. It seems that the connection with the DK is not established. How can I reconnect</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 14 Feb 2025 14:42:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/118753/issue-with-mesh-reconnection" /><item><title>RE: Issue with Mesh Reconnection</title><link>https://devzone.nordicsemi.com/thread/523078?ContentTypeID=1</link><pubDate>Fri, 14 Feb 2025 14:42:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5fa4a227-1be9-4294-8846-3529312758b8</guid><dc:creator>tony55723</dc:creator><description>&lt;p&gt;Thank you so much!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with Mesh Reconnection</title><link>https://devzone.nordicsemi.com/thread/523048?ContentTypeID=1</link><pubDate>Fri, 14 Feb 2025 12:48:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b3148fa-fa89-4651-94e9-493562efc907</guid><dc:creator>Elfving</dc:creator><description>[quote user="tony55723"]What is OOB in Mesh?[/quote]
&lt;p&gt;Out of band - something not related to a specific protocol. Typically you type the amount of LED blinks you see or something like that, I believe that app says what to do.&lt;/p&gt;
[quote user="tony55723"]&lt;p&gt;Besides the 52840 DK and 5340 DK, I also have a Thingy52, but how do I flash it? I couldn’t find the SWD (SWDIO, SWCLK) on it.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;I should start of by mentioning that much like the dongle, the Thingies also don&amp;#39;t have programming ICs, meaning you need to use an external one. There is a programming 10pin connector sticking out on the bottom of it. &lt;a href="https://devzone.nordicsemi.com/guides/short-range-guides/b/mesh-networks/posts/guide-to-the-thingy52-mesh-provisioning-demo"&gt;Have a look here for further details on programming it.&lt;/a&gt;&lt;br /&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/pastedimage1739537198841v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with Mesh Reconnection</title><link>https://devzone.nordicsemi.com/thread/522997?ContentTypeID=1</link><pubDate>Fri, 14 Feb 2025 09:26:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c5230a5-71b4-4349-98b8-4c0c3f121325</guid><dc:creator>tony55723</dc:creator><description>&lt;p&gt;&lt;span&gt;Hello Elfving,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;The issue with the dongle hasn&amp;rsquo;t been resolved, so I switched to testing with the 5340 DK. I only have two more questions, and I should be able to solve the rest myself.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/IMG_5F00_1658.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;Besides the 52840 DK and 5340 DK, I also have a Thingy52, but how do I flash it? I couldn&amp;rsquo;t find the SWD (SWDIO, SWCLK) on it.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/IMG_5F00_1656.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;What is OOB in Mesh?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with Mesh Reconnection</title><link>https://devzone.nordicsemi.com/thread/522863?ContentTypeID=1</link><pubDate>Thu, 13 Feb 2025 13:06:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:648c1975-c0e9-4372-805e-f98f7d21d375</guid><dc:creator>Elfving</dc:creator><description>[quote user="tony55723"]&lt;p&gt;Do I need to create a new &amp;#39;pm_static.yml&amp;#39; file and then copy that address code? I&amp;#39;m sorry, I haven&amp;#39;t used VS Code before, and I&amp;#39;m still learning.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;Precisely. Though another take-away here is that dongles can be a bit difficult to work with when you are new to NCS etc. I would recommend DKs instead. Though one thing dongles are very good at are being &lt;a href="https://www.nordicsemi.com/Products/Development-tools/nRF-Sniffer-for-Bluetooth-LE"&gt;sniffers&lt;/a&gt;.&lt;/p&gt;
[quote user="tony55723"]My initial demonstration showed that the 52840 DK can run Mesh, but after I modified the build settings to change it to &amp;#39;nrf52840dongle/nrf52840&amp;#39; and then downloaded the program to the 52840 DK, the phone can no longer find the DK when scanning.[/quote]
&lt;p&gt;I am not sure if I understand your reasoning here. You should build the project for the hw you have, it won&amp;#39;t work otherwise. That is why something built for&amp;nbsp;&lt;span&gt;nrf52840dongle/nrf52840 doesn&amp;#39;t work for the DK.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Elfving&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with Mesh Reconnection</title><link>https://devzone.nordicsemi.com/thread/522756?ContentTypeID=1</link><pubDate>Thu, 13 Feb 2025 04:10:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4b33319c-4cc3-4c5b-9395-1d3425be48a1</guid><dc:creator>tony55723</dc:creator><description>&lt;p&gt;Hello Elfving,&lt;/p&gt;
&lt;p&gt;Thank you for your reply.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I tried modifying the addresses directly in the partitions.yml file, but the phone still can&amp;#39;t find the dongle when scanning.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/n7.png" /&gt;&lt;/p&gt;
&lt;p&gt;Do I need to create a new &amp;#39;pm_static.yml&amp;#39; file and then copy that address code? I&amp;#39;m sorry, I haven&amp;#39;t used VS Code before, and I&amp;#39;m still learning.&lt;/p&gt;
&lt;p&gt;============================&lt;/p&gt;
&lt;p&gt;I found a problem.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/n8.png" /&gt;&lt;/p&gt;
&lt;p&gt;My initial demonstration showed that the 52840 DK can run Mesh, but after I modified the build settings to change it to &amp;#39;nrf52840dongle/nrf52840&amp;#39; and then downloaded the program to the 52840 DK, the phone can no longer find the DK when scanning.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with Mesh Reconnection</title><link>https://devzone.nordicsemi.com/thread/522493?ContentTypeID=1</link><pubDate>Tue, 11 Feb 2025 15:17:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1674c0e3-4212-47c2-bd6e-9ece246dc3a3</guid><dc:creator>Elfving</dc:creator><description>[quote user="tony55723"]&lt;p&gt;It should be working now. In Mesh, only the proxy node can connect to the phone. After opening nRF Mesh, there’s a ‘proxy’ option in the tab bar at the bottom. I can choose whether to enable automatic connection. Once I agree, the next time I open the app, it will automatically connect for me.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;Correct. Proxy is refering to GATT proxy, meaning that it has the part of the BLE stack making it capable of being connected to. Most BLE Mesh nodes don&amp;#39;t need this, and your phone isn&amp;#39;t a part of the Mesh network, but by conecting to a (any) proxy node you gain access to the network - much like an access point to the internet.&amp;nbsp;&lt;/p&gt;
[quote user="tony55723"]In Mesh, who decides whether a device (e.g., the 52840 DK) becomes a proxy node or a relay node or other node? Is it the phone app, or is it determined during the device’s program download, where the code can set which type of node the device will become in the future?[/quote]
&lt;p&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.9.0/page/nrf/protocols/bt/bt_mesh/configuring.html"&gt;You configure it.&lt;/a&gt;&lt;/p&gt;
[quote user="tony55723"]In this diagram, there are two proxy nodes. Is it possible for the phone to connect to both proxy nodes simultaneously? (Additional context: My intended design is like the diagram, where the phone only connects to one proxy, and then this proxy spreads the data. Also, I’m the app developer, so theoretically, I should be able to control the connection count to be 1.)[/quote]
&lt;p&gt;Hmm.. I am not sure if I see the use-case, but that shouldn&amp;#39;t really matter. This is only limited by memory and the maximum connections BLE-wise. So yeah, that should be possible.&lt;/p&gt;
[quote user="tony55723"]The video previously showed a phone establishing a Mesh with the 52840 DK, and the build configuration was ‘nrf21540dk/nrf52840’. It seems like there’s no issue, but shouldn’t I have selected ‘nrf52840dk/nrf52840’ instead?[/quote]
&lt;p&gt;So this board naming-scheme can be a bit confusing. The first word is referring to the name of the board, which could be &amp;quot;nrf52840dk&amp;quot;, or &amp;quot;myboardisthebestboard&amp;quot;, it doesn&amp;#39;t really matter naming-wise. The second word however, is the name of the SoC that is being programmed, and is then a bit limited in regards to what it can be. nrf21540dk/nrf52840 (or&amp;nbsp;&lt;span&gt;nrf21540dk_nrf52840 for NCS versions that do not use Hardware model 2&lt;/span&gt;) is then referring to the nRF52840 SoC on the board called &lt;a href="https://www.nordicsemi.com/Products/Development-hardware/nRF21540-DB"&gt;nrf21540dk&lt;/a&gt;, which is our front-end module board. I assume the guy who selected this had this board. If not, it might&amp;nbsp;happen to work, but he should build for the board he has.&lt;/p&gt;
[quote user="tony55723"]】Continuing from question 3, I have two 52840 dongles on hand. So, for the build in VS Code, I should select ‘nrf52840dongle/nrf52840’, right?[/quote]
&lt;p&gt;Correct.&lt;/p&gt;
[quote user="tony55723"]&lt;p&gt;I have two 52840 dongles, and I plan to use one of them to implement the Mesh from the previous video with the 52840 DK, but I failed.&lt;/p&gt;
&lt;p&gt;The first screenshot shows that I used to develop with Keil. When I downloaded the BLE Peripheral UART example to the dongle, the phone was able to find the device through the app.&lt;/p&gt;
&lt;p&gt;The second screenshot shows that I erased the program on the dongle and this time used VS Code to download it (I did the same for the 52840 DK previously). The example is the same, but this time the phone can’t find the dongle device. Why is that?&lt;/p&gt;[/quote]
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/96232/ble-mesh-using-nrf52840-dongle-with-sensor_server-sample/408617"&gt;I believe this issue could be related a previous case I got regarding dongles. Please see my response there.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with Mesh Reconnection</title><link>https://devzone.nordicsemi.com/thread/522374?ContentTypeID=1</link><pubDate>Tue, 11 Feb 2025 09:16:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:94d1cc5c-9e41-42b0-9d96-9f5dde3d155f</guid><dc:creator>tony55723</dc:creator><description>&lt;p&gt;Hello Elfving,&lt;/p&gt;
&lt;p&gt;Thank you for your reply.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/IMG_5F00_1651.PNG" /&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/IMG_5F00_1652.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;It should be working now. In Mesh, only the proxy node can connect to the phone. After opening nRF Mesh, there&amp;rsquo;s a &amp;lsquo;proxy&amp;rsquo; option in the tab bar at the bottom. I can choose whether to enable automatic connection. Once I agree, the next time I open the app, it will automatically connect for me.&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;d like to ask a few questions:&lt;/p&gt;
&lt;p&gt;【1】In Mesh, who decides whether a device (e.g., the 52840 DK) becomes a proxy node or a relay node or other node? Is it the phone app, or is it determined during the device&amp;rsquo;s program download, where the code can set which type of node the device will become in the future?&lt;/p&gt;
&lt;p&gt;【2】&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/n1.png" /&gt;&lt;/p&gt;
&lt;p&gt;In this diagram, there are two proxy nodes. Is it possible for the phone to connect to both proxy nodes simultaneously? (Additional context: My intended design is like the diagram, where the phone only connects to one proxy, and then this proxy spreads the data. Also, I&amp;rsquo;m the app developer, so theoretically, I should be able to control the connection count to be 1.)&lt;/p&gt;
&lt;p&gt;【3】&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/n2.png" /&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/n3.png" /&gt;&lt;/p&gt;
&lt;p&gt;The video previously showed a phone establishing a Mesh with the 52840 DK, and the build configuration was &amp;lsquo;nrf21540dk/nrf52840&amp;rsquo;. It seems like there&amp;rsquo;s no issue, but shouldn&amp;rsquo;t I have selected &amp;lsquo;nrf52840dk/nrf52840&amp;rsquo; instead?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;【4】Continuing from question 3, I have two 52840 dongles on hand. So, for the build in VS Code, I should select &amp;lsquo;nrf52840dongle/nrf52840&amp;rsquo;, right?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;【5】&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/n5.png" /&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/n6.png" /&gt;&lt;/p&gt;
&lt;p&gt;I have two 52840 dongles, and I plan to use one of them to implement the Mesh from the previous video with the 52840 DK, but I failed.&lt;/p&gt;
&lt;p&gt;The first screenshot shows that I used to develop with Keil. When I downloaded the BLE Peripheral UART example to the dongle, the phone was able to find the device through the app.&lt;/p&gt;
&lt;p&gt;The second screenshot shows that I erased the program on the dongle and this time used VS Code to download it (I did the same for the 52840 DK previously). The example is the same, but this time the phone can&amp;rsquo;t find the dongle device. Why is that?&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with Mesh Reconnection</title><link>https://devzone.nordicsemi.com/thread/522171?ContentTypeID=1</link><pubDate>Mon, 10 Feb 2025 11:50:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8e5bf94b-418c-4a1c-887e-55f4e7d85f41</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hi Tony,&lt;/p&gt;
&lt;p&gt;I think this should be as a simple as reconnecting to the proxy node with the button the top right. Does that not work for you? Though I am a bit surprised that it acctually says things like &amp;quot;requesting composition data&amp;quot; if it isn&amp;#39;t connected to a node.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with Mesh Reconnection</title><link>https://devzone.nordicsemi.com/thread/522074?ContentTypeID=1</link><pubDate>Sat, 08 Feb 2025 04:22:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:86d959c6-f131-42e9-9b4d-c80ef95039a9</guid><dc:creator>tony55723</dc:creator><description>&lt;p&gt;I converted the video to MP4.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/IMG_5F00_4682-_2800_video_2D00_converter.com_2900_.mp4"&gt;devzone.nordicsemi.com/.../IMG_5F00_4682-_2800_video_2D00_converter.com_2900_.mp4&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/IMG_5F00_4684-_2800_video_2D00_converter.com_2900_.mp4"&gt;devzone.nordicsemi.com/.../IMG_5F00_4684-_2800_video_2D00_converter.com_2900_.mp4&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>