<?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[NRF24 transport status not initialized]]></title><description><![CDATA[<p dir="auto">Hi, I prepared a new node with Arduino Nano (clone) and NRF24.<br />
Everything seems to work, the node connects to the network and sends the presentation info, but then I receive this in the serial log:</p>
<pre><code>MCO:BGN:INIT OK,TSP=0
</code></pre>
<p dir="auto">which using the parser translates into:</p>
<pre><code>Core initialized, transport status 0, (1=initialized, 0=not initialized, NA=not available)
</code></pre>
<p dir="auto">I never had this kind of error with my other node, could someone point me to the meaning of this message (how can it be "not initialized" if it successfully sent the all the presentation messages?) or to the possible cause?<br />
This is the complete log:</p>
<pre><code>2093 TSF:MSG:SEND,21-21-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=1,st=OK:1
2103 TSF:MSG:READ,0-0-21,s=255,c=3,t=25,pt=1,l=1,sg=0:1
2108 TSF:MSG:PONG RECV,HP=1
2111 TSM:UPL:OK
2112 TSM:READY:ID=21,PAR=0,DIS=1
2117 TSF:MSG:SEND,21-21-0-0,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100
2124 TSF:MSG:READ,0-0-21,s=255,c=3,t=15,pt=6,l=2,sg=0:0100
2131 TSF:MSG:SEND,21-21-0-0,s=255,c=0,t=18,pt=0,l=5,sg=0,ft=0,st=OK:2.3.1
2140 TSF:MSG:SEND,21-21-0-0,s=255,c=3,t=6,pt=1,l=1,sg=0,ft=0,st=OK:0
2338 TSF:MSG:READ,0-0-21,s=255,c=3,t=6,pt=0,l=1,sg=0:M
2343 TSF:MSG:ACK REQ
2347 TSF:MSG:SEND,21-21-0-0,s=255,c=3,t=6,pt=0,l=1,sg=0,ft=0,st=OK:M
2356 TSF:MSG:SEND,21-21-0-0,s=255,c=3,t=11,pt=0,l=20,sg=0,ft=0,st=OK:P2 - Velux Cameretta
2366 TSF:MSG:SEND,21-21-0-0,s=255,c=3,t=12,pt=0,l=3,sg=0,ft=0,st=OK:1.0
2374 TSF:MSG:SEND,21-21-0-0,s=1,c=0,t=10,pt=0,l=10,sg=0,ft=0,st=OK:P2 Pioggia
2384 TSF:MSG:SEND,21-21-0-0,s=2,c=0,t=6,pt=0,l=21,sg=0,ft=0,st=OK:OUT Temperatura tetto
2395 TSF:MSG:SEND,21-21-0-0,s=3,c=0,t=5,pt=0,l=18,sg=0,ft=0,st=OK:P2 Velux Cameretta
2405 TSF:MSG:SEND,21-21-0-0,s=4,c=0,t=3,pt=0,l=15,sg=0,ft=0,st=OK:P2 Velux Status
2412 MCO:REG:REQ
2415 TSF:MSG:SEND,21-21-0-0,s=255,c=3,t=26,pt=1,l=1,sg=0,ft=0,st=OK:2
2422 TSF:MSG:READ,0-0-21,s=255,c=3,t=27,pt=1,l=1,sg=0:1
2427 MCO:PIM:NODE REG=1
2429 MCO:BGN:STP
2436 MCO:BGN:INIT OK,TSP=0
2441 TSF:MSG:SEND,21-21-0-0,s=1,c=1,t=6,pt=1,l=1,sg=0,ft=0,st=OK:0
</code></pre>
<p dir="auto">I tried changing the NRF24 with another one which works on another node, I tried changing the IRQ pin, or disabling the IRQ, but still the same errors.</p>
<p dir="auto">Thanks<br />
Daniele</p>
]]></description><link>https://forum.mysensors.org/topic/10529/nrf24-transport-status-not-initialized</link><generator>RSS for Node</generator><lastBuildDate>Sun, 07 Jun 2026 05:32:07 GMT</lastBuildDate><atom:link href="https://forum.mysensors.org/topic/10529.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 09 Jul 2019 19:02:15 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to NRF24 transport status not initialized on Wed, 10 Jul 2019 15:07:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mfalkvidd" aria-label="Profile: mfalkvidd">@<bdi>mfalkvidd</bdi></a> said in <a href="/post/100358">NRF24 transport status not initialized</a>:</p>
<blockquote>
<p dir="auto">I do not know what they were intended for</p>
</blockquote>
<p dir="auto">Tekka's chart says it all; preHwInit() has no serial output, so can be used to e.g. initialize serial devices (some hardware might require this). Then before() is called which starts logging to serial.</p>
]]></description><link>https://forum.mysensors.org/post/100365</link><guid isPermaLink="true">https://forum.mysensors.org/post/100365</guid><dc:creator><![CDATA[Yveaux]]></dc:creator><pubDate>Wed, 10 Jul 2019 15:07:21 GMT</pubDate></item><item><title><![CDATA[Reply to NRF24 transport status not initialized on Wed, 10 Jul 2019 12:40:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tekka" aria-label="Profile: tekka">@<bdi>tekka</bdi></a> - Simply marvellous! - Thank you for that :)<br />
A picture is worth a thousand words. ;) - I'll need to look at this in detail this evening and see what does and what doesn't make sense to me. But it is a great start to explaining these aspects.</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mfalkvidd" aria-label="Profile: mfalkvidd">@<bdi>mfalkvidd</bdi></a> It is great that you still have the passion and patience to help people even when you are as much in the dark as the rest of us. Please never leave! ;)</p>
]]></description><link>https://forum.mysensors.org/post/100362</link><guid isPermaLink="true">https://forum.mysensors.org/post/100362</guid><dc:creator><![CDATA[skywatch]]></dc:creator><pubDate>Wed, 10 Jul 2019 12:40:35 GMT</pubDate></item><item><title><![CDATA[Reply to NRF24 transport status not initialized on Wed, 10 Jul 2019 12:05:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/skywatch" aria-label="Profile: skywatch">@<bdi>skywatch</bdi></a> thanks for explaining</p>
<p dir="auto">I do not know what they were intended for, but if someone knows, it would be great if the information could be added to <a href="https://www.mysensors.org/apidocs/group__MySensorsCoregrp.html#ga6892318cbd6aa933bd2d9e70104652b1" rel="nofollow ugc">https://www.mysensors.org/apidocs/group__MySensorsCoregrp.html#ga6892318cbd6aa933bd2d9e70104652b1</a></p>
]]></description><link>https://forum.mysensors.org/post/100358</link><guid isPermaLink="true">https://forum.mysensors.org/post/100358</guid><dc:creator><![CDATA[mfalkvidd]]></dc:creator><pubDate>Wed, 10 Jul 2019 12:05:27 GMT</pubDate></item><item><title><![CDATA[Reply to NRF24 transport status not initialized on Wed, 10 Jul 2019 15:29:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/skywatch" aria-label="Profile: skywatch">@<bdi>skywatch</bdi></a> Here is a simplified flowchart that illustrates the two most common MySensors bootup scenarios (but as <a class="plugin-mentions-user plugin-mentions-a" href="/user/mfalkvidd" aria-label="Profile: mfalkvidd">@<bdi>mfalkvidd</bdi></a> pointed out, there are many more possibilities depending on the transport configuration and/or defines):</p>
<p dir="auto"><img src="/assets/uploads/files/1562772588785-d16c6501-500b-41f1-9c9a-44c578789a9a-image.png" alt="0_1562772587482_d16c6501-500b-41f1-9c9a-44c578789a9a-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.mysensors.org/post/100357</link><guid isPermaLink="true">https://forum.mysensors.org/post/100357</guid><dc:creator><![CDATA[tekka]]></dc:creator><pubDate>Wed, 10 Jul 2019 15:29:50 GMT</pubDate></item><item><title><![CDATA[Reply to NRF24 transport status not initialized on Wed, 10 Jul 2019 11:39:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mfalkvidd" aria-label="Profile: mfalkvidd">@<bdi>mfalkvidd</bdi></a> But I didn't ask for 'documentation that covers all possible scenarios' - of course I know that would be a huge undetaking.</p>
<p dir="auto">Just a guide that says......</p>
<p dir="auto">PREHInt() This was developed because (reason here)...<br />
Use this for xxxx type data so that (reasons here)....<br />
Here is an example....</p>
<p dir="auto">Done!<br />
Then the same for before() as to me they are one and the same and I can't even begin to think of why you would need both.</p>
]]></description><link>https://forum.mysensors.org/post/100356</link><guid isPermaLink="true">https://forum.mysensors.org/post/100356</guid><dc:creator><![CDATA[skywatch]]></dc:creator><pubDate>Wed, 10 Jul 2019 11:39:41 GMT</pubDate></item><item><title><![CDATA[Reply to NRF24 transport status not initialized on Wed, 10 Jul 2019 10:34:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/skywatch" aria-label="Profile: skywatch">@<bdi>skywatch</bdi></a> What is "correct" depends on a lot of things. I don't think it would be possible to create documentation that covers all possible scenarios. In a way, it is like asking "what is the correct way to write a c program".</p>
<p dir="auto">With that said, we have <a href="https://github.com/mysensors/MySensors/issues/927" rel="nofollow ugc">https://github.com/mysensors/MySensors/issues/927</a> that tries to document which order the functions are executed. But due to MySensors' flexibility, the execution order is different depending on which defines are set, how long time some things take, etc. So something "as simple" as documenting the order of execution is unfortunately overwhelming :-(</p>
]]></description><link>https://forum.mysensors.org/post/100354</link><guid isPermaLink="true">https://forum.mysensors.org/post/100354</guid><dc:creator><![CDATA[mfalkvidd]]></dc:creator><pubDate>Wed, 10 Jul 2019 10:34:55 GMT</pubDate></item><item><title><![CDATA[Reply to NRF24 transport status not initialized on Wed, 10 Jul 2019 09:42:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tekka" aria-label="Profile: tekka">@<bdi>tekka</bdi></a> That is an interesting thing. Is there a document somewhere that explains the <em>correct</em> useage of pre-Hwint() and before() - As they both seem to be the same to me.</p>
]]></description><link>https://forum.mysensors.org/post/100353</link><guid isPermaLink="true">https://forum.mysensors.org/post/100353</guid><dc:creator><![CDATA[skywatch]]></dc:creator><pubDate>Wed, 10 Jul 2019 09:42:06 GMT</pubDate></item><item><title><![CDATA[Reply to NRF24 transport status not initialized on Wed, 10 Jul 2019 12:52:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/danielef" aria-label="Profile: danielef">@<bdi>danielef</bdi></a> alternatively, you can move the setup() code to preHwInit() - this function is called before the any other HW initializes.</p>
]]></description><link>https://forum.mysensors.org/post/100352</link><guid isPermaLink="true">https://forum.mysensors.org/post/100352</guid><dc:creator><![CDATA[tekka]]></dc:creator><pubDate>Wed, 10 Jul 2019 12:52:27 GMT</pubDate></item><item><title><![CDATA[Reply to NRF24 transport status not initialized on Wed, 10 Jul 2019 07:30:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tekka" aria-label="Profile: tekka">@<bdi>tekka</bdi></a> my setup is quite simple:</p>
<pre><code>
void setup() {

  wdt_disable();

  pinMode(RAIN_D_PIN, INPUT_PULLUP);
//  pinMode(REED_PIN, INPUT_PULLUP);

  pinMode(VELUX_UP_PIN, OUTPUT);
  pinMode(VELUX_DOWN_PIN, OUTPUT);

  digitalWrite(VELUX_UP_PIN, RELAY_OFF);
  digitalWrite(VELUX_DOWN_PIN, RELAY_OFF);

  sensors.begin();
  if (!sensors.getAddress(ds18Addr, 0)) 
    Serial.println("************** Unable to find address for Device 0"); 

  sensors.setResolution(ds18Addr, 11);

  wdt_enable(WDTO_8S);

}
</code></pre>
<p dir="auto">the only driver I use is the one from DallasTemperature library, which I used also in other nodes without any issue.<br />
This evening I'll try removong it to see if it has any effect.</p>
<p dir="auto">Regarding radio issues, this node goes completely offline from that message on: it neither sends nor receive any message.</p>
]]></description><link>https://forum.mysensors.org/post/100351</link><guid isPermaLink="true">https://forum.mysensors.org/post/100351</guid><dc:creator><![CDATA[DanieleF]]></dc:creator><pubDate>Wed, 10 Jul 2019 07:30:21 GMT</pubDate></item><item><title><![CDATA[Reply to NRF24 transport status not initialized on Tue, 09 Jul 2019 20:50:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/danielef" aria-label="Profile: danielef">@<bdi>danielef</bdi></a> A driver initialization in setup() interferes with the SPI and/or RF24 radio: <em><strong>TSP=0</strong></em> hints to a failed transport sanity check. I presume you're having radio issues in loop()?</p>
]]></description><link>https://forum.mysensors.org/post/100350</link><guid isPermaLink="true">https://forum.mysensors.org/post/100350</guid><dc:creator><![CDATA[tekka]]></dc:creator><pubDate>Tue, 09 Jul 2019 20:50:24 GMT</pubDate></item><item><title><![CDATA[Reply to NRF24 transport status not initialized on Tue, 09 Jul 2019 20:18:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/danielef" aria-label="Profile: danielef">@<bdi>danielef</bdi></a> would it be possible for you to post the log before 2093ms?</p>
]]></description><link>https://forum.mysensors.org/post/100349</link><guid isPermaLink="true">https://forum.mysensors.org/post/100349</guid><dc:creator><![CDATA[mfalkvidd]]></dc:creator><pubDate>Tue, 09 Jul 2019 20:18:30 GMT</pubDate></item></channel></rss>