<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Bug in MY_PASSIVE_NODE implementation?]]></title><description><![CDATA[<p dir="auto">Here is what the library says about it:</p>
<pre><code> * @def MY_PASSIVE_NODE
 * @brief If enabled, the node operates fully autonomously, i.e. messages are sent without ACKing.
 *
 * @note All transport-related checks and safety-mechanisms are disabled.
 * @note Requires that @ref MY_NODE_ID is set, @ref MY_PARENT_NODE_ID and
 *       @ref MY_PARENT_NODE_IS_STATIC are optional.
 * @note Singing, registration, and OTA FW update are disabled.
</code></pre>
<p dir="auto">So, I do this at the beginning of my sketch:</p>
<pre><code>#define MY_PASSIVE_NODE
</code></pre>
<p dir="auto">and what arrives at the serial gateway is this:</p>
<pre><code> __  __       ____
|  \/  |_   _/ ___|  ___ _ __  ___  ___  _ __ ___
| |\/| | | | \___ \ / _ \ `_ \/ __|/ _ \| `__/ __|
| |  | | |_| |___| |  __/ | | \__ \  _  | |  \__ \
|_|  |_|\__, |____/ \___|_| |_|___/\___/|_|  |___/
        |___/                      2.2.0-beta

0;255;3;0;9;25 MCO:BGN:INIT CP=RNNGN---
0;255;3;0;9;29 TSF:LRT:OK
0;255;3;0;9;32 TSM:INIT
0;255;3;0;9;34 TSF:WUR:MS=0
0;255;3;0;9;37 TSM:INIT:TSP OK
0;255;3;0;9;40 TSM:INIT:GW MODE
0;255;3;0;9;43 TSM:READY:ID=0,PAR=0,DIS=0
0;255;3;0;9;47 MCO:REG:NOT NEEDED
0;255;3;0;14;Gateway startup complete.
0;255;0;0;18;2.2.0-beta
0;255;3;0;9;56 MCO:BGN:STP
0;255;3;0;9;58 MCO:BGN:INIT OK,TSP=1
0;255;3;0;9;753626 TSF:MSG:READ,0-0-0,s=0,c=0,t=0,pt=0,l=0,sg=0:
0;255;3;0;9;753631 !TSF:MSG:LEN,0!=7
0;255;3;0;9;753810 TSF:MSG:READ,77-77-0,s=255,c=3,t=15,pt=6,l=2,sg=0:0100
0;255;3;0;9;753820 TSF:MSG:SEND,0-0-77-77,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100
0;255;3;0;9;753828 TSF:MSG:READ,77-77-0,s=255,c=0,t=17,pt=0,l=10,sg=0:2.2.0-beta
77;255;0;0;17;2.2.0-beta
0;255;3;0;9;753837 TSF:MSG:READ,77-77-0,s=255,c=3,t=6,pt=1,l=1,sg=0:255
77;255;3;0;6;255
0;255;3;0;9;755808 TSF:MSG:READ,77-77-0,s=255,c=3,t=11,pt=0,l=14,sg=0:MockMySensors 
77;255;3;0;11;MockMySensors 
0;255;3;0;9;755818 TSF:MSG:READ,77-77-0,s=255,c=3,t=12,pt=0,l=4,sg=0:v0.5
77;255;3;0;12;v0.5
0;255;3;0;9;756817 TSF:MSG:READ,77-77-0,s=255,c=3,t=12,pt=0,l=4,sg=0:v0.5
77;255;3;0;12;v0.5
0;255;3;0;9;756825 TSF:MSG:READ,77-77-0,s=255,c=3,t=12,pt=0,l=4,sg=0:v0.5
77;255;3;0;12;v0.5
0;255;3;0;9;756834 TSF:MSG:READ,77-77-0,s=255,c=3,t=12,pt=0,l=4,sg=0:v0.5
77;255;3;0;12;v0.5
0;255;3;0;9;756874 TSF:MSG:READ,77-77-0,s=255,c=3,t=12,pt=0,l=4,sg=0:v0.5
77;255;3;0;12;v0.5
0;255;3;0;9;756882 TSF:MSG:READ,77-77-0,s=255,c=3,t=12,pt=0,l=4,sg=0:v0.5
77;255;3;0;12;v0.5
0;255;3;0;9;1057108 TSF:MSG:READ,77-77-0,s=255,c=3,t=12,pt=0,l=4,sg=0:v0.5
77;255;3;0;12;v0.5
0;255;3;0;9;1057116 TSF:MSG:READ,77-77-0,s=255,c=3,t=12,pt=0,l=4,sg=0:v0.5
77;255;3;0;12;v0.5
0;255;3;0;9;1200001 TSM:READY:NWD REQ
0;255;3;0;9;1200005 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK:
0;255;3;0;9;1357341 TSF:MSG:READ,77-77-0,s=1,c=1,t=4,pt=5,l=4,sg=0:2669
77;1;1;0;4;2669
0;255;3;0;9;1357349 TSF:MSG:READ,77-77-0,s=2,c=1,t=4,pt=5,l=4,sg=0:4795
77;2;1;0;4;4795
0;255;3;0;9;1657575 TSF:MSG:READ,77-77-0,s=2,c=1,t=4,pt=5,l=4,sg=0:4795
77;2;1;0;4;4795
0;255;3;0;9;1657583 TSF:MSG:READ,77-77-0,s=2,c=1,t=4,pt=5,l=4,sg=0:4795
77;2;1;0;4;4795
0;255;3;0;9;1800035 TSF:SRT:OK
0;255;3;0;9;1957809 TSF:MSG:READ,77-77-0,s=2,c=1,t=4,pt=5,l=4,sg=0:4795
77;2;1;0;4;4795
0;255;3;0;9;1957817 TSF:MSG:READ,77-77-0,s=2,c=1,t=4,pt=5,l=4,sg=0:4795
77;2;1;0;4;4795
0;255;3;0;9;2258043 TSF:MSG:READ,77-77-0,s=2,c=1,t=4,pt=5,l=4,sg=0:4795
77;2;1;0;4;4795
0;255;3;0;9;2258051 TSF:MSG:READ,77-77-0,s=2,c=1,t=4,pt=5,l=4,sg=0:4795
77;2;1;0;4;4795
0;255;3;0;9;2400002 TSM:READY:NWD REQ
0;255;3;0;9;2400006 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK:
0;255;3;0;9;2558277 TSF:MSG:READ,77-77-0,s=1,c=1,t=4,pt=5,l=4,sg=0:2659
77;1;1;0;4;2659
0;255;3;0;9;2558285 TSF:MSG:READ,77-77-0,s=2,c=1,t=4,pt=5,l=4,sg=0:4663
77;2;1;0;4;4663
0;255;3;0;9;2858510 TSF:MSG:READ,77-77-0,s=2,c=1,t=4,pt=5,l=4,sg=0:4663
77;2;1;0;4;4663
0;255;3;0;9;2858518 TSF:MSG:READ,77-77-0,s=2,c=1,t=4,pt=5,l=4,sg=0:4663
77;2;1;0;4;4663
0;255;3;0;9;3158744 TSF:MSG:READ,77-77-0,s=2,c=1,t=4,pt=5,l=4,sg=0:4663
77;2;1;0;4;4663
0;255;3;0;9;3158752 TSF:MSG:READ,77-77-0,s=2,c=1,t=4,pt=5,l=4,sg=0:4663
77;2;1;0;4;4663
</code></pre>
<p dir="auto">Therefore, isn't the following "registration" that (according to the above) shouldn't be happening?</p>
<pre><code>0;255;3;0;9;753810 TSF:MSG:READ,77-77-0,s=255,c=3,t=15,pt=6,l=2,sg=0:0100
0;255;3;0;9;753820 TSF:MSG:SEND,0-0-77-77,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100
0;255;3;0;9;753828 TSF:MSG:READ,77-77-0,s=255,c=0,t=17,pt=0,l=10,sg=0:2.2.0-beta
77;255;0;0;17;2.2.0-beta
0;255;3;0;9;753837 TSF:MSG:READ,77-77-0,s=255,c=3,t=6,pt=1,l=1,sg=0:255
77;255;3;0;6;255
0;255;3;0;9;755808 TSF:MSG:READ,77-77-0,s=255,c=3,t=11,pt=0,l=14,sg=0:MockMySensors 
77;255;3;0;11;MockMySensors 
0;255;3;0;9;755818 TSF:MSG:READ,77-77-0,s=255,c=3,t=12,pt=0,l=4,sg=0:v0.5
77;255;3;0;12;v0.5
0;255;3;0;9;756817 TSF:MSG:READ,77-77-0,s=255,c=3,t=12,pt=0,l=4,sg=0:v0.5
77;255;3;0;12;v0.5
0;255;3;0;9;756825 TSF:MSG:READ,77-77-0,s=255,c=3,t=12,pt=0,l=4,sg=0:v0.5
77;255;3;0;12;v0.5
0;255;3;0;9;756834 TSF:MSG:READ,77-77-0,s=255,c=3,t=12,pt=0,l=4,sg=0:v0.5
77;255;3;0;12;v0.5
0;255;3;0;9;756874 TSF:MSG:READ,77-77-0,s=255,c=3,t=12,pt=0,l=4,sg=0:v0.5
77;255;3;0;12;v0.5
0;255;3;0;9;756882 TSF:MSG:READ,77-77-0,s=255,c=3,t=12,pt=0,l=4,sg=0:v0.5
77;255;3;0;12;v0.5
0;255;3;0;9;1057108 TSF:MSG:READ,77-77-0,s=255,c=3,t=12,pt=0,l=4,sg=0:v0.5
77;255;3;0;12;v0.5
0;255;3;0;9;1057116 TSF:MSG:READ,77-77-0,s=255,c=3,t=12,pt=0,l=4,sg=0:v0.5
77;255;3;0;12;v0.5
0;255;3;0;9;1200001 TSM:READY:NWD REQ
0;255;3;0;9;1200005 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK:
</code></pre>
]]></description><link>https://forum.mysensors.org/topic/7364/bug-in-my_passive_node-implementation</link><generator>RSS for Node</generator><lastBuildDate>Wed, 11 Nov 2026 10:03:04 GMT</lastBuildDate><atom:link href="https://forum.mysensors.org/topic/7364.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 16 Aug 2017 18:09:28 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Bug in MY_PASSIVE_NODE implementation? on Thu, 17 Aug 2017 10:35:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/neverdie" aria-label="Profile: NeverDie">@<bdi>NeverDie</bdi></a> Ah, ok. My bad. The method to set the number of retries is apparently not exported for nRF5.<br />
We need to work on our driver interface...</p>
]]></description><link>https://forum.mysensors.org/post/74074</link><guid isPermaLink="true">https://forum.mysensors.org/post/74074</guid><dc:creator><![CDATA[Yveaux]]></dc:creator><pubDate>Thu, 17 Aug 2017 10:35:55 GMT</pubDate></item><item><title><![CDATA[Reply to Bug in MY_PASSIVE_NODE implementation? on Thu, 17 Aug 2017 10:24:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/yveaux" aria-label="Profile: Yveaux">@<bdi>Yveaux</bdi></a> said in <a href="/post/74071">Bug in MY_PASSIVE_NODE implementation?</a>:</p>
<blockquote>
<p dir="auto">RF24_setRetries(retransmits, retransmitDelay);</p>
</blockquote>
<p dir="auto">Doing that produces the error message:</p>
<blockquote>
<p dir="auto">'RF24_setRetries' was not declared in this scope</p>
</blockquote>
<p dir="auto">at compile time.</p>
<p dir="auto">Perhaps that's because the module is an nRF52, not an nRF24?</p>
]]></description><link>https://forum.mysensors.org/post/74073</link><guid isPermaLink="true">https://forum.mysensors.org/post/74073</guid><dc:creator><![CDATA[NeverDie]]></dc:creator><pubDate>Thu, 17 Aug 2017 10:24:47 GMT</pubDate></item><item><title><![CDATA[Reply to Bug in MY_PASSIVE_NODE implementation? on Thu, 17 Aug 2017 10:08:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/neverdie" aria-label="Profile: NeverDie">@<bdi>NeverDie</bdi></a> said in <a href="/post/74069">Bug in MY_PASSIVE_NODE implementation?</a>:</p>
<blockquote>
<blockquote>
<p dir="auto"><strong>the module will consume an order of magnitude less current</strong> than if "MY_PASSIVE_NODE" is left undefined.</p>
</blockquote>
</blockquote>
<p dir="auto">Could that increase in power consumption be caused by auto retry transmissions by the nRF module?</p>
<p dir="auto">As a test you could call the following function (e.g. in setup() )</p>
<pre><code>RF24_setRetries(retransmits, retransmitDelay);
</code></pre>
<p dir="auto">Where retransmits = 0 disables retries completely.<br />
retransmitDelay is 5 (1500us) and  retransmits = 15 by default in MySensors.</p>
<p dir="auto">Your link quality (succes rate of messages sent) is likely to go down when retries are disabled.</p>
]]></description><link>https://forum.mysensors.org/post/74071</link><guid isPermaLink="true">https://forum.mysensors.org/post/74071</guid><dc:creator><![CDATA[Yveaux]]></dc:creator><pubDate>Thu, 17 Aug 2017 10:08:25 GMT</pubDate></item><item><title><![CDATA[Reply to Bug in MY_PASSIVE_NODE implementation? on Thu, 17 Aug 2017 09:59:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/yveaux" aria-label="Profile: Yveaux">@<bdi>Yveaux</bdi></a> said in <a href="/post/74050">Bug in MY_PASSIVE_NODE implementation?</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/neverdie" aria-label="Profile: NeverDie">@<bdi>NeverDie</bdi></a> I'm on a phone so it's hard to compare the logs, but what are you trying to achieve using that define?</p>
</blockquote>
<p dir="auto">Consume much less current.  I've been able to establish that if an nRF52832 node is reporting its Vcc voltage once every 5 minutes, then if  MY_PASSIVE_NODE is defined, <strong>the module will consume an order of magnitude less current</strong> than if "MY_PASSIVE_NODE" is left undefined.</p>
]]></description><link>https://forum.mysensors.org/post/74069</link><guid isPermaLink="true">https://forum.mysensors.org/post/74069</guid><dc:creator><![CDATA[NeverDie]]></dc:creator><pubDate>Thu, 17 Aug 2017 09:59:43 GMT</pubDate></item><item><title><![CDATA[Reply to Bug in MY_PASSIVE_NODE implementation? on Thu, 17 Aug 2017 07:15:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/neverdie" aria-label="Profile: NeverDie">@<bdi>NeverDie</bdi></a> I'm on a phone so it's hard to compare the logs, but what are you trying to achieve using that define?</p>
]]></description><link>https://forum.mysensors.org/post/74050</link><guid isPermaLink="true">https://forum.mysensors.org/post/74050</guid><dc:creator><![CDATA[Yveaux]]></dc:creator><pubDate>Thu, 17 Aug 2017 07:15:26 GMT</pubDate></item></channel></rss>