<?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>Led blink in mesh network</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/14057/led-blink-in-mesh-network</link><description>Hi all, 
 I can able to blink led in mesh synchronously, but some time it fails in synchronization. when a new node enters into mesh it takes current mesh value, but for me it should not happen. when i send data through this function rbc_mesh_value_set</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 31 May 2016 08:42:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/14057/led-blink-in-mesh-network" /><item><title>RE: Led blink in mesh network</title><link>https://devzone.nordicsemi.com/thread/53753?ContentTypeID=1</link><pubDate>Tue, 31 May 2016 08:42:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:32a5c2f6-ef55-4a68-a96e-339078ace6b3</guid><dc:creator>Trond Einar Snekvik</dc:creator><description>&lt;p&gt;You might want to investigate disabling handles. If you set the TX-event flag (by calling &lt;code&gt;rbc_mesh_tx_event_set()&lt;/code&gt;), you will get an event each time your value is transmitted. You can use this event to safely disable the handle you just transmitted (with &lt;code&gt;rbc_mesh_value_disable()&lt;/code&gt;). This stops the handle from being retransmitted forever, and you can safely know that whenever you receive a message, it&amp;#39;s been set quite recently. If you experience messages dropping off or disappearing when you do this, consider waiting for at least 2-3 tx-events per handle before disabling. A disabled handle will automatically be reenabled for each new value it receives.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Led blink in mesh network</title><link>https://devzone.nordicsemi.com/thread/53752?ContentTypeID=1</link><pubDate>Wed, 25 May 2016 12:58:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c0e444c5-453e-4a3f-884f-802f34ac1561</guid><dc:creator>Manjunath</dc:creator><description>&lt;p&gt;NO, i tested by commenting rbc_mesh_value_enable().&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Led blink in mesh network</title><link>https://devzone.nordicsemi.com/thread/53751?ContentTypeID=1</link><pubDate>Wed, 25 May 2016 12:53:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6b1c515-5789-4431-b902-e95896ba2d37</guid><dc:creator>Trond Einar Snekvik</dc:creator><description>&lt;p&gt;I see. Are you calling &lt;code&gt;rbc_mesh_value_enable()&lt;/code&gt; at any point?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Led blink in mesh network</title><link>https://devzone.nordicsemi.com/thread/53750?ContentTypeID=1</link><pubDate>Wed, 25 May 2016 12:51:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:29dad166-aee4-411a-b9f4-6ec7b3e49885</guid><dc:creator>Manjunath</dc:creator><description>&lt;p&gt;thanks for reply
Each time i needs to send same data for every 30 seconds. then it always go to RBC_MESH_EVENT_UPDATE_VAL not to RBC_MESH_EVENT_NEW_VAL. So at this time, how can i control led synchronisatzation. So can you please tell me what to do.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Led blink in mesh network</title><link>https://devzone.nordicsemi.com/thread/53749?ContentTypeID=1</link><pubDate>Wed, 25 May 2016 11:44:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0eecf834-4cd0-467d-820c-ed845a4421e5</guid><dc:creator>Trond Einar Snekvik</dc:creator><description>&lt;p&gt;Hi,
the mesh will keep broadcasting it current state for each handle forever. So when one of your devices do &lt;code&gt;rbc_mesh_value_set(1, mesh_data, 1)&lt;/code&gt;, mesh_data will be broadcasted until someone calls value_set again with new data. The node that wakes up, will see these broadcasts, and propagate an event to its application. The first time you see a value, the event will have type &lt;code&gt;RBC_MESH_EVENT_NEW_VAL&lt;/code&gt;. When you get an update to a value you already know, the event will be &lt;code&gt;RBC_MESH_EVENT_UPDATE_VAL&lt;/code&gt;. You can use this difference to make sure you only accept data that has changed.&lt;/p&gt;
&lt;p&gt;Also make sure you don&amp;#39;t call &lt;code&gt;rbc_mesh_value_enable()&lt;/code&gt; first, as this will make the first broadcast you see an update. This is because &lt;code&gt;value_enable&lt;/code&gt; sets the value in your database, and therefore counts as the &amp;quot;new&amp;quot; value.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>