<?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>Where is the bear handler started?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/90094/where-is-the-bear-handler-started</link><description>Hi support team, 
 Now i am trying to understand the LPN machenism based on the LPN example. I cannot make sure where the bear handler is started. 
 There is a function bearer_handler_start() which is called in nrf_mesh_enable(), but it can be called</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 20 Jul 2022 14:42:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/90094/where-is-the-bear-handler-started" /><item><title>RE: Where is the bear handler started?</title><link>https://devzone.nordicsemi.com/thread/377918?ContentTypeID=1</link><pubDate>Wed, 20 Jul 2022 14:42:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bec9df44-9059-4744-bc58-e00ce2dc20fa</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Yes.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Where is the bear handler started?</title><link>https://devzone.nordicsemi.com/thread/377751?ContentTypeID=1</link><pubDate>Wed, 20 Jul 2022 03:37:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eae2608c-efe7-4434-9209-e3e8aadfedfb</guid><dc:creator>Young</dc:creator><description>&lt;p&gt;Hi tesc,&lt;/p&gt;
&lt;p&gt;Thanks a lot. I saw a macro&amp;nbsp;MESH_FEATURE_LPN_ACT_AS_REGULAR_NODE_OUT_OF_FRIENDSHIP. Setting it to 0 means that even there is no friend nodes in the netowrk, the LPN node can still work under low power&amp;nbsp;&lt;span&gt;consumption， is it right?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Where is the bear handler started?</title><link>https://devzone.nordicsemi.com/thread/377549?ContentTypeID=1</link><pubDate>Tue, 19 Jul 2022 08:57:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3aa28f9e-e2d1-456a-b154-d078ef494bcb</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The Low Power Node always uses the normal ADV bearer for sending messages. The Friendship and the Friend node is only required for receiving messages. It is not required for sending messages, as sending works the same for all nodes (including LPN).&lt;/p&gt;
&lt;p&gt;For the LPN when not in a Friendship, you can choose to operate as nomral node (using a lot of power but getting all messages sent on the network) or you can choose reduced scanning (using less power but not getting all messages sent on the network, since you spend a lot of time not scanning and there is no Friend node to relay messages.)&lt;/p&gt;
&lt;p&gt;In nRF Connect SDK, you enable the low power (reduced scanning) mode through the config &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/kconfig/index.html#CONFIG_BT_MESH_LPN_ESTABLISHMENT"&gt;CONFIG_BT_MESH_LPN_ESTABLISHMENT&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Where is the bear handler started?</title><link>https://devzone.nordicsemi.com/thread/377483?ContentTypeID=1</link><pubDate>Tue, 19 Jul 2022 02:26:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d90b475e-ec6a-4f8c-8695-05c8a99cf4b9</guid><dc:creator>Young</dc:creator><description>&lt;p&gt;Hi tesc,&lt;/p&gt;
&lt;p&gt;We have two projects based on the nRF5 SDK for Mesh stack. Now we temporaly want to use the&amp;nbsp;&lt;span&gt;nRF5 SDK for Mesh stack for this project. I have read the document&amp;nbsp; you mentioned, but when I tried to understand the source code about the lpn feature, I faced&amp;nbsp;the questions.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Actually we are trying to make a battery based switch i the mesh network (just work as a transmitter, not receive any message), so I try to understand the lpn example to get how the node can work under the low power situation.&amp;nbsp; &amp;nbsp;In the real scene, it is quite possible that all friend nodes can be out of the mesh network (turn off) for over poll timeout, so the lpn node will go to high power option without the friendship.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;How to implement this kind of switch which work under low power situation and can also send out the mesh packets to other nodes of the mesh network?&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Is there some clue for those questions above?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I have been stucked in here for a few days, could you give some tips or clue?&amp;nbsp; Thanks in advance!&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: Where is the bear handler started?</title><link>https://devzone.nordicsemi.com/thread/377420?ContentTypeID=1</link><pubDate>Mon, 18 Jul 2022 12:48:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:55183ce0-44fa-41bf-81cb-d8a00e9d181a</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;For new projects, we highly recommend nRF Connect SDK, not the older nRF5 SDK which is now in maintenance mode. See our &lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/nrf-connect-sdk-and-nrf5-sdk-statement"&gt;nRF Connect SDK and nRF5 SDK statement&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Regarding the deep inner workings of the nRF5 SDK for Mesh stack, LPN is best understood at a higher level. For nRF5 SDK for Mesh, I recommend the &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.meshsdk.v5.0.0%2Fmd_doc_user_guide_modules_lpn_concept.html"&gt;Low Power node feature documentation&lt;/a&gt;. It also teaches the general idea behind LPN and friendship, which means it is of value also if you are going to use nRF Connect SDK.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Where is the bear handler started?</title><link>https://devzone.nordicsemi.com/thread/377366?ContentTypeID=1</link><pubDate>Mon, 18 Jul 2022 09:02:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da0aa360-34c3-4f19-8824-531ed3bea91c</guid><dc:creator>Young</dc:creator><description>&lt;p&gt;When and how is the first action in the&amp;nbsp;m_action_queue (bear_handler.c) poped and performanced if there is no need to start a timeslot?&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>