<?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>How many device can be connected in mesh light switch example.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/114920/how-many-device-can-be-connected-in-mesh-light-switch-example</link><description>Hi, 
 I am working on mesh network. i need to control 10 nodes in the mesh network with having one main node. I have taken the light switch sample as an example. 
 The process which i created is like in two development kits in one i flashed the light</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 30 Sep 2024 19:09:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/114920/how-many-device-can-be-connected-in-mesh-light-switch-example" /><item><title>RE: How many device can be connected in mesh light switch example.</title><link>https://devzone.nordicsemi.com/thread/504427?ContentTypeID=1</link><pubDate>Mon, 30 Sep 2024 19:09:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9a9f744b-7eb3-4e96-a543-307c5d3721ff</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Check out &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/kconfig/index.html#CONFIG_BT_MESH_FRIEND_LPN_COUNT"&gt;CONFIG_BT_MESH_FRIEND_LPN_COUNT&lt;/a&gt;&lt;span&gt;.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How many device can be connected in mesh light switch example.</title><link>https://devzone.nordicsemi.com/thread/504250?ContentTypeID=1</link><pubDate>Sat, 28 Sep 2024 11:19:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ae198abb-86d8-42c4-95e7-dc5c754bc473</guid><dc:creator>cyriactoms</dc:creator><description>&lt;p&gt;&lt;strong&gt;[00:02:31.869,659] &amp;lt;wrn&amp;gt; bt_mesh_friend: No free Friend contexts for new LPN&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;i got this message from friend node i have created.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I need to connect atleast 6 LPN nodes to the friend node. What is to be configured to connect that much lpn to the friend node.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How many device can be connected in mesh light switch example.</title><link>https://devzone.nordicsemi.com/thread/504178?ContentTypeID=1</link><pubDate>Fri, 27 Sep 2024 12:48:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:043d313e-8958-48cc-9a7c-a19d3bc9cab1</guid><dc:creator>cyriactoms</dc:creator><description>&lt;p&gt;Is there any examples in nrf sdk to know how friend node , relay node, proxy node communicates other than light switch sample&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How many device can be connected in mesh light switch example.</title><link>https://devzone.nordicsemi.com/thread/504087?ContentTypeID=1</link><pubDate>Fri, 27 Sep 2024 06:56:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b0826eff-2404-4e3e-bf4b-72d4090b5d03</guid><dc:creator>cyriactoms</dc:creator><description>&lt;p&gt;Thank You for the valuable answers.&amp;nbsp; &amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How many device can be connected in mesh light switch example.</title><link>https://devzone.nordicsemi.com/thread/504056?ContentTypeID=1</link><pubDate>Thu, 26 Sep 2024 19:48:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cec09c88-eb6b-4a03-a1e9-28b1786f4c83</guid><dc:creator>Amanda Hsieh</dc:creator><description>[quote user="cyriactoms"]&lt;strong&gt;CONFIG_BT_MESH_RELAY=y&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/strong&gt;it is given like this. is this only enough or should i need to do any other configuration other than this .[/quote]
&lt;p&gt;That&amp;#39;s correct.&amp;nbsp;&lt;a title="(in Kconfig reference v&amp;amp;nbsp;)" href="https://docs.nordicsemi.com/bundle/ncs-latest/page/kconfig/index.html#CONFIG_BT_MESH_RELAY"&gt;&lt;code&gt;&lt;span&gt;CONFIG_BT_MESH_RELAY&lt;/span&gt;&lt;/code&gt;&lt;/a&gt;&lt;span&gt;&amp;nbsp;can&lt;/span&gt;&amp;nbsp;enable message relaying.&lt;/p&gt;
[quote user="cyriactoms"]does the friend node needs a relay node to communicate or it can communicate directly in mesh.?[/quote]
&lt;p&gt;A Friend node can communicate directly with LPNs without a Relay node.&amp;nbsp;However, if a mesh network only contains LPNs, the messages will not be relayed through the network without the use of a Relay node. This is because LPNs are in sleep mode most of the time and cannot relay messages when they are asleep. Relay nodes are responsible for forwarding messages in the network, extending the range of the network, and allowing messages to hop between multiple relay nodes.&amp;nbsp;Therefore, in a mesh network composed only of LPNs, a Relay node would be necessary to ensure that messages are relayed through the network.&amp;nbsp;&lt;span&gt;See&amp;nbsp;&lt;/span&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/protocols/bt/bt_mesh/overview/topology.html"&gt;Bluetooth Mesh network topology and concepts&lt;/a&gt;&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/pastedimage1727380124028v1.png" alt=" " /&gt;&lt;/p&gt;
[quote user="cyriactoms"]what is the use of proxy and gatt bearer.?[/quote]
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;The &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/protocols/bt/bt_mesh/overview/topology.html#proxy_nodes"&gt;Proxy node&lt;/a&gt; and GATT bearer allow Bluetooth LE devices that do not possess a Bluetooth mesh stack to interact with nodes in a mesh network. The Proxy node enables a legacy Bluetooth LE device to participate in the mesh network by establishing a GATT connection to a mesh device that has the proxy feature enabled. The GATT bearer is used for tunneling mesh messages over the Bluetooth LE GATT protocol.&amp;nbsp;&lt;/div&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: How many device can be connected in mesh light switch example.</title><link>https://devzone.nordicsemi.com/thread/503871?ContentTypeID=1</link><pubDate>Thu, 26 Sep 2024 05:47:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:776f6ee2-a2b8-43bb-9356-f9f1025f69a4</guid><dc:creator>cyriactoms</dc:creator><description>[quote userid="77782" url="~/f/nordic-q-a/114920/how-many-device-can-be-connected-in-mesh-light-switch-example/503828"]configure the second DK to act as the Relay node.[/quote]
&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;will it automatically act as relay node or should i need to add any configurations?&lt;/p&gt;
&lt;p&gt;in prj.conf&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;strong&gt;CONFIG_BT_MESH_RELAY=y&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/strong&gt;it is given like this. is this only enough or should i need to do any other configuration other than this .&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Also i have doubt on friend node does the friend node needs a relay node to communicate or it can communicate directly in mesh.? if the mesh network only contains lpn nodes so the message will be relayed through friend node without the use of relay node.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;what is the use of proxy and gatt bearer.?&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How many device can be connected in mesh light switch example.</title><link>https://devzone.nordicsemi.com/thread/503828?ContentTypeID=1</link><pubDate>Wed, 25 Sep 2024 17:44:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:218d601d-b92e-44b7-8f10-daf4640a83c5</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="cyriactoms"]Since i have to send data to the third dk the message with pass through the first and second dk. So which dk will act as the Relay node in it ?[/quote]
&lt;p&gt;The Relay node is responsible for receiving and forwarding messages to extend the range of the network.&lt;/p&gt;
&lt;p&gt;If you have three DKs and want to send a message from the first to the third, you could configure the second DK to act as the Relay node. In this setup, when the first DK sends a message, the second DK (as the Relay node) receives and forwards the message to the third DK.&lt;/p&gt;
[quote user="cyriactoms"]&lt;p&gt;For LPN&lt;/p&gt;
&lt;p&gt;in the mesh circuit the friend node will be always connected to relay node and&amp;nbsp; the LP node will be connected to friend node is it correct?&lt;/p&gt;
&lt;p&gt;so if i am implementing LPN one dk will be relay node one will be freind node and the last will be LPN.&lt;/p&gt;[/quote]
&lt;p&gt;&lt;span&gt;LPNs primarily interact with the mesh network through a Friend node, which is responsible for relaying any messages directed to the LPN. The LPN saves power by keeping its radio turned off, and only wakes up to either send messages or poll the Friend node for the incoming messages.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;However, a Relay node can be beneficial in a mesh network as it extends the network range and allows messages to hop between multiple relay nodes, potentially improving the reliability and reach of the network.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;A Proxy node can enable communication between a Bluetooth Mesh network and devices that use the Bluetooth Low Energy GATT protocol, such as smartphones. If your application requires this functionality, it needs a Proxy node in your network.&lt;/p&gt;
&lt;div&gt;So, the necessary nodes for an LPN in a Bluetooth Mesh network are primarily a Friend node, and optionally a Relay node or a Proxy node, depending on the specific requirements of your application.&lt;/div&gt;
&lt;p&gt;See&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/protocols/bt/bt_mesh/overview/topology.html"&gt;Bluetooth Mesh network topology and concepts&lt;/a&gt;&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: How many device can be connected in mesh light switch example.</title><link>https://devzone.nordicsemi.com/thread/503666?ContentTypeID=1</link><pubDate>Wed, 25 Sep 2024 06:53:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f26809c4-07b1-44c3-82f9-cc61aab5bfb4</guid><dc:creator>cyriactoms</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks for the valuable answer.&lt;/p&gt;
&lt;p&gt;Since i have to send data to the third dk the message with pass through the first and second dk. So which dk will act as the Relay node in it ?.&lt;/p&gt;
&lt;p&gt;For LPN&lt;/p&gt;
&lt;p&gt;in the mesh circuit the friend node will be always connected to relay node and&amp;nbsp; the LP node will be connected to friend node is it correct?&lt;/p&gt;
&lt;p&gt;so if i am implementing LPN one dk will be relay node one will be freind node and the last will be LPN.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How many device can be connected in mesh light switch example.</title><link>https://devzone.nordicsemi.com/thread/503422?ContentTypeID=1</link><pubDate>Mon, 23 Sep 2024 13:57:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c04c761-3add-4df1-9a82-f14fbe6e0b19</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;To control multiple nodes, you need to pair each node with the &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/bluetooth/mesh/light_switch/README.html#bluetooth-mesh-light-switch"&gt;&lt;span&gt;Bluetooth Mesh: Light switch&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&amp;nbsp;sample&lt;/span&gt;&amp;nbsp;running in the same mesh network. Each node in the network will be a server running the &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/bluetooth/mesh/light/README.html#bluetooth-mesh-light"&gt;&lt;span&gt;Bluetooth Mesh: Light&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&amp;nbsp;sample&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;The communication range in a mesh network is not limited to the Bluetooth connectivity radius. In a mesh network, data is relayed from one node to another. So, even if the light switch node is out of the Bluetooth range from a light node, it can still control the light node as long as there is at least one node within the Bluetooth range that can relay the data.&lt;/p&gt;
&lt;p&gt;In those two samples, if you have three light nodes placed 10m apart from each other and a light switch node 30m away from the third light node, the light switch node can still control the third light node. When the light switch node sends a command, the command is relayed through the first and second light nodes to reach the third light node.&lt;/p&gt;
&lt;p&gt;Here are the steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;&lt;span&gt;Flash the &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/bluetooth/mesh/light_switch/README.html#bluetooth-mesh-light-switch"&gt;&lt;span&gt;Light switch&lt;/span&gt;&lt;/a&gt;&amp;nbsp;sample to one development kit and the &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/bluetooth/mesh/light/README.html#bluetooth-mesh-light"&gt;&lt;span&gt;Light&lt;/span&gt;&lt;/a&gt; sample to the other development kits.&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;&lt;span&gt;Use the&amp;nbsp;&lt;a href="https://www.nordicsemi.com/Software-and-Tools/Development-Tools/nRF-Mesh"&gt;nRF Mesh mobile app&lt;/a&gt; to provision each node. During provisioning, an address range is assigned to each device and it is added to the mesh network.&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;&lt;span&gt;Configure the Generic OnOff Client model on the light switch node and the Generic OnOff Server model on each light node using the nRF Mesh mobile app.&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;&lt;span&gt;Once the provisioning and configuration are complete, you can control the LEDs on the light nodes using the buttons on the light switch node.&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;For more detailed instructions, please refer to &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/bluetooth/mesh/light_switch/README.html#testing" rel="noopener noreferrer" target="_blank"&gt;Light Switch Sample Testing&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/bluetooth/mesh/light/README.html#testing" rel="noopener noreferrer" target="_blank"&gt;Light Sample Testing&lt;/a&gt;.&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>