<?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>Mesh Anchor , Node and Gateway Example for Nrf52832 dk and how to Approach mesh as beginner ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/99448/mesh-anchor-node-and-gateway-example-for-nrf52832-dk-and-how-to-approach-mesh-as-beginner</link><description>Hi, 
 i am using nrf connect extension in vs code with Zephyr OS build v3.2.99-ncs2 and Nrf connect SDK 2.3.0. Our Application requirement to make Mesh Network. In which Anchor, Node and gateway are placed to cover 2 rooms. 
 
 could you please suggest</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 10 May 2023 05:03:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/99448/mesh-anchor-node-and-gateway-example-for-nrf52832-dk-and-how-to-approach-mesh-as-beginner" /><item><title>RE: Mesh Anchor , Node and Gateway Example for Nrf52832 dk and how to Approach mesh as beginner ?</title><link>https://devzone.nordicsemi.com/thread/424698?ContentTypeID=1</link><pubDate>Wed, 10 May 2023 05:03:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb206d68-fee0-4a25-8b82-0c736ddbc346</guid><dc:creator>starkAbhi</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;a class="internal-link view-user-profile" href="https://devzone.nordicsemi.com/members/hungbui"&gt;Hung Bui&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;Okay, i will come back with technical queries after i get some example&amp;#39;s done.&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Abhishek&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh Anchor , Node and Gateway Example for Nrf52832 dk and how to Approach mesh as beginner ?</title><link>https://devzone.nordicsemi.com/thread/424559?ContentTypeID=1</link><pubDate>Tue, 09 May 2023 12:56:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b034357-4add-4a33-b283-7a193d3276c9</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;What do you meant by&amp;nbsp;&lt;/p&gt;
[quote user="starkAbhi"]are there any API to know device unicast address after provision is completed? it definitely print primary address[/quote]
&lt;p&gt;The address of the primary element is the unicast address of the device. If you have 2 element you will have the next +1 address is the unicast address of the element.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;As I mentioned, please study mesh, we can&amp;#39;t just answer any question without you actually do the work.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh Anchor , Node and Gateway Example for Nrf52832 dk and how to Approach mesh as beginner ?</title><link>https://devzone.nordicsemi.com/thread/424536?ContentTypeID=1</link><pubDate>Tue, 09 May 2023 12:23:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de4708db-a8f3-4382-a0a3-9e4689668287</guid><dc:creator>starkAbhi</dc:creator><description>&lt;p&gt;Hi &lt;a class="internal-link view-user-profile" href="https://devzone.nordicsemi.com/members/hungbui"&gt;Hung Bui&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;Thanks for your support. I found the buffer method in mesh example to send string on data. are there any API to know device unicast address after provision is completed? it definitely print primary address . how can i get access&amp;nbsp;of it&amp;#39;s address?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Abhishek&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh Anchor , Node and Gateway Example for Nrf52832 dk and how to Approach mesh as beginner ?</title><link>https://devzone.nordicsemi.com/thread/424525?ContentTypeID=1</link><pubDate>Tue, 09 May 2023 12:17:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f3a3ed2f-5ab1-4d10-9eff-64c479c5436d</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;br /&gt;Please try the mesh chat example.&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/bluetooth/mesh/chat/sample_description.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/bluetooth/mesh/chat/sample_description.html#&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;But my suggestion is to study the light and light switch example as well. The mesh chat example doesn&amp;#39;t use a server.&amp;nbsp;&lt;br /&gt;Also please study the mesh specification.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh Anchor , Node and Gateway Example for Nrf52832 dk and how to Approach mesh as beginner ?</title><link>https://devzone.nordicsemi.com/thread/424503?ContentTypeID=1</link><pubDate>Tue, 09 May 2023 11:44:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb56acbd-7ef4-4cda-8bbc-027614d3f5a6</guid><dc:creator>starkAbhi</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;a class="internal-link view-user-profile" href="https://devzone.nordicsemi.com/members/hungbui"&gt;Hung Bui&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;Agreed, i want to learn to work with mesh. I read about simple message model in mesh to send string of data from 1 node to another node. where can i get the example code to work with it? it&amp;#39;s requirement of my Application to send string of data.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Abhishek&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh Anchor , Node and Gateway Example for Nrf52832 dk and how to Approach mesh as beginner ?</title><link>https://devzone.nordicsemi.com/thread/424500?ContentTypeID=1</link><pubDate>Tue, 09 May 2023 11:36:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6998530f-11dd-46c6-93d9-9cb9386b4b87</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Abhishek,&amp;nbsp;&lt;br /&gt;As I mentioned, please get familiar with the mesh source code, try testing with the sample, how you can use model etc before moving to the real application of using rssi.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You&amp;nbsp;can run the rssi client on the gateway and then collect the rssi data of each of the node, In this case you collect data from Node 2, to see the RSSI between Node 1 and Node2. Then you collect data from Node 3 to see RSSI between Node 2 and Node 3.&amp;nbsp;&lt;br /&gt;The Anchor only a relay device, it doesn&amp;#39;t need to know anything about the nodes around it or which node is connected to it.&lt;br /&gt;&lt;br /&gt;You can choose to do your own implementation, you can choose to have a database on the Anchor, but it&amp;#39;s your design choice. We provide you the mesh network. The application, and how you design it is up to you.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh Anchor , Node and Gateway Example for Nrf52832 dk and how to Approach mesh as beginner ?</title><link>https://devzone.nordicsemi.com/thread/424459?ContentTypeID=1</link><pubDate>Tue, 09 May 2023 09:43:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0049beee-cee4-449f-9df6-9ef47f0cca34</guid><dc:creator>starkAbhi</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Hung Bui,&lt;/span&gt;&lt;/p&gt;
[quote userid="2121" url="~/f/nordic-q-a/99448/mesh-anchor-node-and-gateway-example-for-nrf52832-dk-and-how-to-approach-mesh-as-beginner/424445"]&lt;p&gt;There isn&amp;#39;t a RSSI model example on nRF Connect SDK. However, you can have a look at our concept and implementation in nRF5 SDK (legacy SDK , no longer in development)&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.meshsdk.v5.0.0/md_models_vendor_rssi_monitor_doc_rssi_model.html?cp=9_2_2_4_5_2_0"&gt;https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.meshsdk.v5.0.0/md_models_vendor_rssi_monitor_doc_rssi_model.html?cp=9_2_2_4_5_2_0&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The idea is that it collect the RSSI value of any mesh packet arrives. Then store it in a database. The client then can request that database from the server.&amp;nbsp;&lt;/p&gt;[/quote]
&lt;p&gt;&lt;span&gt;It is useful model. but as a beginner. i do not know where i&amp;nbsp; can start?&lt;/span&gt;&lt;/p&gt;
[quote userid="2121" url="~/f/nordic-q-a/99448/mesh-anchor-node-and-gateway-example-for-nrf52832-dk-and-how-to-approach-mesh-as-beginner/424445"]The Anchor should request the RSSI database of the node.&amp;nbsp;It can be that the only gateway can collect the RSSI value of each node in the whole network.&amp;nbsp;[/quote]
&lt;p&gt;&lt;span&gt;did you mean Gateway request anchors for rssi of individual nodes. gateway(client-request rssi)-&amp;gt;anchor(client-database rssi)(server-rssi)-&amp;gt;nodes(server-rssi).?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&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/anchor_5F00_nodes_5F00_gataway_5F00_example.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;or i am confused?&lt;/span&gt;&lt;/p&gt;
[quote userid="2121" url="~/f/nordic-q-a/99448/mesh-anchor-node-and-gateway-example-for-nrf52832-dk-and-how-to-approach-mesh-as-beginner/424445"]I would suggest to get familiar with the mesh set up and how you can use the standard model, before you start implementing your RSSI model.&amp;nbsp;[/quote]
&lt;p&gt;&lt;span&gt;where i can learn to implement models in mesh?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;please provide some basic examples on mesh with context of my application.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regard&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Abhishek&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh Anchor , Node and Gateway Example for Nrf52832 dk and how to Approach mesh as beginner ?</title><link>https://devzone.nordicsemi.com/thread/424445?ContentTypeID=1</link><pubDate>Tue, 09 May 2023 09:00:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ccdde14-2231-4c6a-b417-14c7dd3e2f3a</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Abhishek,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;There isn&amp;#39;t a RSSI model example on nRF Connect SDK. However, you can have a look at our concept and implementation in nRF5 SDK (legacy SDK , no longer in development)&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.meshsdk.v5.0.0/md_models_vendor_rssi_monitor_doc_rssi_model.html?cp=9_2_2_4_5_2_0"&gt;https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.meshsdk.v5.0.0/md_models_vendor_rssi_monitor_doc_rssi_model.html?cp=9_2_2_4_5_2_0&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The idea is that it collect the RSSI value of any mesh packet arrives. Then store it in a database. The client then can request that database from the server.&amp;nbsp;&lt;/p&gt;
[quote user="starkAbhi"]how each nodes after provision know the address of anchor to send specifically their rssi to anchor only?[/quote]
&lt;p&gt;The Anchor should request the RSSI database of the node.&amp;nbsp;It can be that the only gateway can collect the RSSI value of each node in the whole network.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I would suggest to get familiar with the mesh set up and how you can use the standard model, before you start implementing your RSSI model.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh Anchor , Node and Gateway Example for Nrf52832 dk and how to Approach mesh as beginner ?</title><link>https://devzone.nordicsemi.com/thread/424411?ContentTypeID=1</link><pubDate>Tue, 09 May 2023 06:38:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fa17939d-b2a8-43de-8abd-4275c8ded7a4</guid><dc:creator>starkAbhi</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;a class="internal-link view-user-profile" href="https://devzone.nordicsemi.com/members/hungbui"&gt;Hung Bui&lt;/a&gt;,&lt;/p&gt;
[quote userid="2121" url="~/f/nordic-q-a/99448/mesh-anchor-node-and-gateway-example-for-nrf52832-dk-and-how-to-approach-mesh-as-beginner/424295"]&lt;p&gt;Please be aware that mesh relay node is not low power. Your Anchors won&amp;#39;t be able to last for more than a few hours with the CR2032 if it does relay role.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you can connect the Anchor to main power supply then it&amp;#39;s OK.&amp;nbsp;&lt;/p&gt;[/quote]
&lt;p&gt;Got it, Anchor should be on main power supply.&lt;/p&gt;
[quote userid="2121" url="~/f/nordic-q-a/99448/mesh-anchor-node-and-gateway-example-for-nrf52832-dk-and-how-to-approach-mesh-as-beginner/424295"]As your end nodes doesn&amp;#39;t need to do relay, they can be configured as low power nodes (no relay). This require the Anchor nodes to be in the range of other anchor nodes.&amp;nbsp;[/quote]
&lt;p&gt;Yes, Anchor nodes are in range.&lt;/p&gt;
[quote userid="2121" url="~/f/nordic-q-a/99448/mesh-anchor-node-and-gateway-example-for-nrf52832-dk-and-how-to-approach-mesh-as-beginner/424295"]Regarding your question about rssi.&amp;nbsp;There isn&amp;#39;t a standard model to collect the RSSI of the original node (I assume you want the RSSI of original node with the nearest neighbor node). You would need to implement your own RSSI server that collect the RSSI value of all nodes around it. The standard RSSI value in a mesh package only show the rssi of the last hop.&amp;nbsp;[/quote]
&lt;p&gt;Yes, I discovered that rssi receive only last hope. how to make rssi collector server on mesh network? could you please share us some example code regarding custom server application?&lt;/p&gt;
&lt;p&gt;how each nodes after provision know the address of anchor to send specifically their rssi to anchor only?&lt;/p&gt;
&lt;p&gt;does anchor get status of all nodes in network and collect their rssi with address?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh Anchor , Node and Gateway Example for Nrf52832 dk and how to Approach mesh as beginner ?</title><link>https://devzone.nordicsemi.com/thread/424295?ContentTypeID=1</link><pubDate>Mon, 08 May 2023 13:14:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fbf78482-495d-44ef-b440-03007afffe4a</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Abhishek,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please be aware that mesh relay node is not low power. Your Anchors won&amp;#39;t be able to last for more than a few hours with the CR2032 if it does relay role.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you can connect the Anchor to main power supply then it&amp;#39;s OK.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As your end nodes doesn&amp;#39;t need to do relay, they can be configured as low power nodes (no relay). This require the Anchor nodes to be in the range of other anchor nodes.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regarding your question about rssi.&amp;nbsp;There isn&amp;#39;t a standard model to collect the RSSI of the original node (I assume you want the RSSI of original node with the nearest neighbor node). You would need to implement your own RSSI server that collect the RSSI value of all nodes around it. The standard RSSI value in a mesh package only show the rssi of the last hop.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh Anchor , Node and Gateway Example for Nrf52832 dk and how to Approach mesh as beginner ?</title><link>https://devzone.nordicsemi.com/thread/424283?ContentTypeID=1</link><pubDate>Mon, 08 May 2023 12:50:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35082a86-9840-4b63-9ecf-7ebe13050ad2</guid><dc:creator>starkAbhi</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;a class="internal-link view-user-profile" href="https://devzone.nordicsemi.com/members/hungbui"&gt;Hung Bui&lt;/a&gt;,&lt;/p&gt;
[quote userid="2121" url="~/f/nordic-q-a/99448/mesh-anchor-node-and-gateway-example-for-nrf52832-dk-and-how-to-approach-mesh-as-beginner/424207"]Could you give some more information about your application ?&amp;nbsp;&lt;br /&gt;[/quote]
&lt;p&gt;Anchors are stationary wall mounted device operated on 3v-CR2032 Cell. nodes are also battery operated device. our application requirement to build mesh network of nodes to cover a range of room. each node sends their rssi value to the anchor. anchor collects the rssi value and send to the gateway. anchors would be in range to each other. Node relay rssi and address to the anchor periodically.&lt;/p&gt;
[quote userid="2121" url="~/f/nordic-q-a/99448/mesh-anchor-node-and-gateway-example-for-nrf52832-dk-and-how-to-approach-mesh-as-beginner/424207"]What&amp;#39;s the distance between the Anchors ? And the distance between Gateway and Anchor. Would all the anchors&amp;nbsp;be&amp;nbsp;in the range of the Gateway ?&amp;nbsp;[/quote]
&lt;p&gt;Distance between the Anchors: 15 - 20 meters. Distance between Gateway and Anchor :&amp;nbsp;&lt;span&gt;10 - 15 meters. not all Anchors are in range of gateway.&lt;/span&gt;&amp;nbsp;actually gateway has power source to run on full receive mode. we want what is standard range of ble devices. low energy max distance possible.&lt;/p&gt;
[quote userid="2121" url="~/f/nordic-q-a/99448/mesh-anchor-node-and-gateway-example-for-nrf52832-dk-and-how-to-approach-mesh-as-beginner/424207"]Have you tried with our mesh sample in the SDK for example&amp;nbsp;\nrf\samples\bluetooth\mesh\light and&amp;nbsp;\nrf\samples\bluetooth\mesh\light_switch ?&amp;nbsp;[/quote]
&lt;p&gt;yes, currently using mesh example and provision them by nrf mesh network app. issue is that received rssi value is not of original sender. ow relay the rssi data? could please enlighten me on this? could not able to find meaningful tutorials and demo examples.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Abhishek&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh Anchor , Node and Gateway Example for Nrf52832 dk and how to Approach mesh as beginner ?</title><link>https://devzone.nordicsemi.com/thread/424207?ContentTypeID=1</link><pubDate>Mon, 08 May 2023 10:28:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a6e652a-4c90-4142-bb91-a08a23d70463</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Abhishek,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you give some more information about your application ?&amp;nbsp;&lt;br /&gt;What kind of data the node is collecting ? Would the node running on a battery or it&amp;#39;s main supplied ?&amp;nbsp;&lt;br /&gt;Would the anchor node in the range of each other or they can be out of range and would require the node(s) to relay message ?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;What&amp;#39;s the distance between the Anchors ? And the distance between Gateway and Anchor. Would all the anchors&amp;nbsp;be&amp;nbsp;in the range of the Gateway ?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Have you tried with our mesh sample in the SDK for example&amp;nbsp;\nrf\samples\bluetooth\mesh\light and&amp;nbsp;\nrf\samples\bluetooth\mesh\light_switch ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>