<?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[Gw-node communication on I_ID_Request and I_Pong]]></title><description><![CDATA[<p dir="auto">Hi,<br />
i have several problems and strange issues with the gw-node communication.</p>
<p dir="auto"><strong>First configuration</strong><br />
<strong>GW</strong>: esp8266 1.0 + nrf24 clone (epoxy blob), powered by pc usb. Sketch: mysensors 2.0, examples/gatewayesp8266<br />
<strong>Node</strong> : nano + nrf24 clone (epoxy blob), powered by pc usb. Sketch : mysensors 2.0, examples/lightsensor, modified to send a counter value every 3 seconds.<br />
Distance gw-node: about 60cm</p>
<p dir="auto"><strong>First test</strong>: no communication GW-node, no matter how i set power and speed.<br />
<strong>Second test</strong>: using[getting started example]( https ://codebender.cc/example/RF24/GettingStarted#GettingStarted.ino), GW and node communicate.<br />
<strong>Third Test</strong>: after some investigation, i modified the Rf24.cpp, replacing enablefeatures with:<br />
csn(LOW);<br />
SPI.transfer( ACTIVATE );<br />
SPI.transfer( 0x73 );<br />
csn(HIGH);.<br />
Setting MY_NODE_ID, Gw and node now can communicate, node presents itself and send counter value. i can see the log of messages on gw and on controller. I can also place the node at 6 meters away from the GW, behind a wall, and see the GW logging the counter values received (250kbps, PA_LOW or PA_MAX).<br />
<strong>Fourth Test</strong>: Trying to remove my_debug from node -&gt; no more communication GW-node. Trying to add rf24 debug on GW -&gt; no more communication GW-node<br />
<strong>Fifth test</strong>: trying to remove my_node_id, to get id from controller. Node send find_parent, GW responds, node then send four times i_id_request, no response from GW ( and no log), then node resend find_parent, no more response from GW and no log, it only log sanchk ok. Restarting the GW i get the same situation.</p>
<p dir="auto"><strong>Second configuration</strong><br />
<strong>GW</strong>: uno + nrf24 clone (epoxy blob), powered by pc usb. Sketch: mysensors 2.0, examples/gatewayesp8266<br />
<strong>Node</strong> : nano + nrf24 clone (epoxy blob), powered by pc usb. Sketch : mysensors 2.0, examples/lightsensor, modified to send a counter every 3 seconds.<br />
Distance GW-node: about 60cm</p>
<p dir="auto"><strong>First test</strong>: no communication GW-node, no matter how i set power and speed.<br />
<strong>Second test</strong>: using[getting started example]( https ://codebender.cc/example/RF24/GettingStarted#GettingStarted.ino), GW and node communicates<br />
<strong>Third Test</strong>: using rf24.cpp modified, without my_node_id define, node send find_par, GW responds, node send i_id_req, controller assign an id, node receive the id and send ping. GW receives and fails to send i_pong , with a MAX_RT message. The node resend find_parent and ping, but the GW fails every time on the I_pong message with MAX_RT. (setting my_node_id i get the same situation).<br />
<strong>Fourth test</strong>: also in this case, adding/removing debug define influences the gw-node communication.</p>
<p dir="auto">i can't see any logic in this. The error on i_id_request and i_pong is systematic.<br />
if the problem is the radio module, why they are working with the gettingstarted example, or in the first configuration just defining node_id?<br />
And why adding or removing the debug define, cause the gw-node communication to working (or not)? I read about this issue also in another topic (i don't remember which one).</p>
<p dir="auto">Thanks in advance for your help.</p>
]]></description><link>https://forum.mysensors.org/topic/5528/gw-node-communication-on-i_id_request-and-i_pong</link><generator>RSS for Node</generator><lastBuildDate>Tue, 18 Aug 2026 06:03:46 GMT</lastBuildDate><atom:link href="https://forum.mysensors.org/topic/5528.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 14 Dec 2016 11:14:04 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Gw-node communication on I_ID_Request and I_Pong on Wed, 14 Dec 2016 21:58:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/scalz" aria-label="Profile: scalz">@<bdi>scalz</bdi></a><br />
in the second test i used that getting started code to test the radio modules with a library other than mysensors. and they worked. (That code is not mine, i suppose it use the maniacbug library).<br />
So i did investigate to find the differences between mysensors and that library. Only after replacing, in mysensors, the enablefeatures with that code, i got the communication gw-node.</p>
]]></description><link>https://forum.mysensors.org/post/54571</link><guid isPermaLink="true">https://forum.mysensors.org/post/54571</guid><dc:creator><![CDATA[rhaymo]]></dc:creator><pubDate>Wed, 14 Dec 2016 21:58:46 GMT</pubDate></item><item><title><![CDATA[Reply to Gw-node communication on I_ID_Request and I_Pong on Wed, 14 Dec 2016 19:44:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rhaymo" aria-label="Profile: rhaymo">@<bdi>rhaymo</bdi></a> said:</p>
<blockquote>
<p dir="auto"><strong>Second test</strong>: using[getting started example]( https ://codebender.cc/example/RF24/GettingStarted#GettingStarted.ino), GW and node communicate.<br />
<strong>Third Test</strong>: after some investigation, i modified the Rf24.cpp, replacing enablefeatures with:<br />
csn(LOW);<br />
SPI.transfer( ACTIVATE );<br />
SPI.transfer( 0x73 );<br />
csn(HIGH);.</p>
</blockquote>
<p dir="auto">This was your first mistake i think, I didn't pay attention, but regarding the link you posted above with your changes??<br />
Why did you link the rf24 original lib? Because the code lines you posted were not part of mysensors nrf24 driver. You don't need to do this, mysensors already includes a custom nrf24 driver. As you can see now.</p>
<p dir="auto">About your errors in log, for the moment i can't really tell you, I'm not using nrf24 (but rfm69) so i don't know well its flow, but the "infinite loop" you see is i think, simply waiting (polling registers) for an ack. As you don't get any ACK back, you get a NOREPLY...</p>
]]></description><link>https://forum.mysensors.org/post/54565</link><guid isPermaLink="true">https://forum.mysensors.org/post/54565</guid><dc:creator><![CDATA[scalz]]></dc:creator><pubDate>Wed, 14 Dec 2016 19:44:27 GMT</pubDate></item><item><title><![CDATA[Reply to Gw-node communication on I_ID_Request and I_Pong on Wed, 14 Dec 2016 18:44:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/scalz" aria-label="Profile: scalz">@<bdi>scalz</bdi></a><br />
i have just tested the 2.1.0-beta from dev branch. Sketch from examples/gatewayserial and example/lightsensors<br />
no communication gw-node. gw doesn't receive anything from node. same result if i try to modify the rf24.cpp as in the test above.<br />
And if i enable #define MY_DEBUG_VERBOSE_RF24 on gw, i get an infinite print of this message on the gw serial:<br />
0;255;3;0;9;RF24:read register, reg=23, value=17</p>
<p dir="auto">This is the debug from node</p>
<pre><code>0 MCO:BGN:INIT NODE,CP=RNNNA--,VER=2.1.0-beta
47 TSM:INIT
60 TSF:WUR:MS=0
76 RF24:write register, reg=0, value=14
123 RF24:write register, reg=3, value=3
164 RF24:write register, reg=4, value=95
207 RF24:write register, reg=5, value=76
250 RF24:write register, reg=6, value=39
293 RF24:write register, reg=29, value=6
336 RF24:read register, reg=6, value=39
378 RF24:read register, reg=5, value=76
419 RF24:write register, reg=2, value=2
461 RF24:write register, reg=1, value=0
503 RF24:write register, reg=28, value=3
546 RF24:flushRX
564 RF24:flushTX
582 RF24:write register, reg=7, value=112
626 TSM:INIT:TSP OK
647 TSM:INIT:STATID=3
670 RF24:write register, reg=2, value=3
711 RF24:write register, reg=1, value=1
753 RF24:STRT LIS
773 RF24:write register, reg=0, value=15
815 RF24:write register, reg=10, value=3
858 TSF:SID:OK,ID=3
879 TSM:FPAR
892 RF24:STP LIS
911 RF24:write register, reg=0, value=14
953 RF24:OPEN WPIPE,RCPT=255
984 RF24:write register, reg=10, value=255
1029 RF24:write register, reg=16, value=255
1075 RF24:SND:TO=255,LEN=7
1102 RF24:flushTX
3111 RF24:write register, reg=7, value=48
3155 RF24:STRT LIS
3175 RF24:write register, reg=0, value=15
3219 RF24:write register, reg=10, value=3
3263 TSF:MSG:SEND,3-3-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
3336 RF24:read register, reg=23, value=17
3380 RF24:read register, reg=23, value=17
3424 RF24:read register, reg=23, value=17
3468 RF24:read register, reg=23, value=17
3512 RF24:read register, reg=23, value=17
3556 RF24:read register, reg=23, value=17
3600 RF24:read register, reg=23, value=17
3643 RF24:read register, reg=23, value=17
3687 RF24:read register, reg=23, value=17
3731 RF24:read register, reg=23, value=17
3775 RF24:read register, reg=23, value=17
3819 RF24:read register, reg=23, value=17
3863 RF24:read register, reg=23, value=17
3907 RF24:read register, reg=23, value=17
3951 RF24:read register, reg=23, value=17
3994 RF24:read register, reg=23, value=17
4038 RF24:read register, reg=23, value=17
4082 RF24:read register, reg=23, value=17
4126 RF24:read register, reg=23, value=17
4170 RF24:read register, reg=23, value=17
4214 RF24:read register, reg=23, value=17
4258 RF24:read register, reg=23, value=17
4302 RF24:read register, reg=23, value=17
4345 RF24:read register, reg=23, value=17
4389 RF24:read register, reg=23, value=17
4433 RF24:read register, reg=23, value=17
4477 RF24:read register, reg=23, value=17
4521 RF24:read register, reg=23, value=17
4566 RF24:read register, reg=23, value=17
4610 RF24:read register, reg=23, value=17
4654 RF24:read register, reg=23, value=17
4697 RF24:read register, reg=23, value=17
4741 RF24:read register, reg=23, value=17
4785 RF24:read register, reg=23, value=17
4829 RF24:read register, reg=23, value=17
4873 RF24:read register, reg=23, value=17
4917 RF24:read register, reg=23, value=17
4961 RF24:read register, reg=23, value=17
5005 RF24:read register, reg=23, value=17
5048 RF24:read register, reg=23, value=17
5092 RF24:read register, reg=23, value=17
5136 RF24:read register, reg=23, value=17
5180 RF24:read register, reg=23, value=17
5224 RF24:read register, reg=23, value=17
5268 RF24:read register, reg=23, value=17
5312 RF24:read register, reg=23, value=17
5356 !TSM:FPAR:NO REPLY
5381 TSM:FPAR
5396 RF24:STP LIS
5414 RF24:write register, reg=0, value=14
5458 RF24:OPEN WPIPE,RCPT=255
5490 RF24:write register, reg=10, value=255
5536 RF24:write register, reg=16, value=255
5582 RF24:SND:TO=255,LEN=7
5610 RF24:flushTX
7619 RF24:write register, reg=7, value=48
7663 RF24:STRT LIS
7683 RF24:write register, reg=0, value=15
7727 RF24:write register, reg=10, value=3
7771 TSF:MSG:SEND,3-3-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
</code></pre>
<p dir="auto">Debug from gw</p>
<pre><code>0;255;3;0;9;MCO:BGN:INIT GW,CP=RNNGA--,VER=2.1.0-beta
0;255;3;0;9;TSM:INIT
0;255;3;0;9;TSF:WUR:MS=0
0;255;3;0;9;TSM:INIT:TSP OK
0;255;3;0;9;TSM:INIT:GW MODE
0;255;3;0;9;TSM:READY:ID=0,PAR=0,DIS=0
0;255;0;0;18;2.1.0-beta
0;255;3;0;14;Gateway startup complete.
0;255;0;0;18;2.1.0-beta
0;255;3;0;9;MCO:BGN:STP
0;255;3;0;9;MCO:BGN:INIT OK,TSP=1
</code></pre>
]]></description><link>https://forum.mysensors.org/post/54562</link><guid isPermaLink="true">https://forum.mysensors.org/post/54562</guid><dc:creator><![CDATA[rhaymo]]></dc:creator><pubDate>Wed, 14 Dec 2016 18:44:49 GMT</pubDate></item><item><title><![CDATA[Reply to Gw-node communication on I_ID_Request and I_Pong on Wed, 14 Dec 2016 12:54:56 GMT]]></title><description><![CDATA[<p dir="auto">oki. if i remember well, multiple of issues you got, may be already fixed in the dev branch</p>
]]></description><link>https://forum.mysensors.org/post/54541</link><guid isPermaLink="true">https://forum.mysensors.org/post/54541</guid><dc:creator><![CDATA[scalz]]></dc:creator><pubDate>Wed, 14 Dec 2016 12:54:56 GMT</pubDate></item><item><title><![CDATA[Reply to Gw-node communication on I_ID_Request and I_Pong on Wed, 14 Dec 2016 12:37:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/scalz" aria-label="Profile: scalz">@<bdi>scalz</bdi></a><br />
Mysensors 2.0.0, from master branch</p>
]]></description><link>https://forum.mysensors.org/post/54538</link><guid isPermaLink="true">https://forum.mysensors.org/post/54538</guid><dc:creator><![CDATA[rhaymo]]></dc:creator><pubDate>Wed, 14 Dec 2016 12:37:51 GMT</pubDate></item><item><title><![CDATA[Reply to Gw-node communication on I_ID_Request and I_Pong on Wed, 14 Dec 2016 11:42:10 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">are you using Mysensors 2 Beta ?</p>
]]></description><link>https://forum.mysensors.org/post/54534</link><guid isPermaLink="true">https://forum.mysensors.org/post/54534</guid><dc:creator><![CDATA[scalz]]></dc:creator><pubDate>Wed, 14 Dec 2016 11:42:10 GMT</pubDate></item></channel></rss>