<?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[Help understanding addressing and log messages]]></title><description><![CDATA[<p dir="auto">Hello to all,</p>
<p dir="auto">I'm new to this forum and find this project awesome!<br />
I've used the old RF24 library (maniacbug) for a long while. a lot of code lines now replaced by this great library.</p>
<p dir="auto">I've only some doubts and I'm really confused with logging. I've used an arduino as MQTT gateway. I'm seeing these messages on the serial console. Could someone explain me how to understand it correctly?</p>
<p dir="auto">Example1:<br />
0;0;3;0;9;read: 21-20-0 s=0,c=1,t=0,pt=7,l=5:16.7</p>
<p dir="auto">Example2:<br />
0;0;3;0;9;read: 20-20-0 s=5,c=1,t=1,pt=7,l=5:54.0</p>
<p dir="auto">Example3:<br />
0;0;3;0;9;send: 0-0-20-20 s=2,c=1,t=2,pt=0,l=1,st=ok:0</p>
<p dir="auto">Example4<br />
MyMQTT/21/3/V_HUM<br />
.&gt;&gt; 30 17 00 11 4D 79 4D 51 54 54 2F 32 31 2F 33 2F 56 5F 48 55 4D 34 37 2E 32<br />
This last should be MQTT a message.</p>
<p dir="auto">Thanks for help!</p>
<p dir="auto">Simon</p>
]]></description><link>https://forum.mysensors.org/topic/866/help-understanding-addressing-and-log-messages</link><generator>RSS for Node</generator><lastBuildDate>Sun, 08 Nov 2026 08:24:30 GMT</lastBuildDate><atom:link href="https://forum.mysensors.org/topic/866.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 23 Jan 2015 18:50:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Help understanding addressing and log messages on Fri, 24 Apr 2015 10:45:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/pete1450" aria-label="Profile: pete1450">@<bdi>pete1450</bdi></a> said:</p>
<blockquote>
<p dir="auto">Based on this: <a href="http://www.mysensors.org/build/serial_api" rel="nofollow ugc">http://www.mysensors.org/build/serial_api</a></p>
<p dir="auto">Example 1<br />
id Node-id 0<br />
Child-id 0<br />
internal message<br />
no ack<br />
payload is type I_LOG_MESSAGE<br />
and your actual payload is "read: 21-20-0 s=0,c=1,t=0,pt=7,l=5:16.7"</p>
<p dir="auto">EDIT: I'm not sure if there is an easier place to get this, but I looked in the <a href="https://github.com/mysensors/Arduino/blob/master/libraries/MySensors/MySensor.cpp" rel="nofollow ugc">code</a> for process where it prints "read" messages and found this to describe the payload. Send is also in there.</p>
</blockquote>
<p dir="auto">Mysensor.cpp Line 221-222</p>
]]></description><link>https://forum.mysensors.org/post/13114</link><guid isPermaLink="true">https://forum.mysensors.org/post/13114</guid><dc:creator><![CDATA[vikasjee]]></dc:creator><pubDate>Fri, 24 Apr 2015 10:45:04 GMT</pubDate></item><item><title><![CDATA[Reply to Help understanding addressing and log messages on Sun, 28 Feb 2016 21:07:50 GMT]]></title><description><![CDATA[<p dir="auto">Based on this: <a href="http://www.mysensors.org/build/serial_api" rel="nofollow ugc">http://www.mysensors.org/build/serial_api</a></p>
<p dir="auto">Example 1<br />
id Node-id 0<br />
Child-id 0<br />
internal message<br />
no ack<br />
payload is type I_LOG_MESSAGE<br />
and your actual payload is "read: 21-20-0 s=0,c=1,t=0,pt=7,l=5:16.7"</p>
<p dir="auto">EDIT: I'm not sure if there is an easier place to get this, but I looked in the <a href="https://github.com/mysensors/Arduino/blob/59550410a3f55f11b39aacfcaaa2dd8926682673/libraries/MySensors/MySensor.cpp#L481" rel="nofollow ugc">code</a> for process where it prints "read" messages and found this to describe the payload. Send is also in there.</p>
<p dir="auto">msg.sender<br />
-msg.last<br />
-msg.destination<br />
s=msg.sensor<br />
c=mGetCommand(msg)<br />
t=msg.type<br />
pt=mGetPayloadType(msg)<br />
l=mGetLength(msg)<br />
:msg.getString(convBuf));</p>
]]></description><link>https://forum.mysensors.org/post/9114</link><guid isPermaLink="true">https://forum.mysensors.org/post/9114</guid><dc:creator><![CDATA[pete1450]]></dc:creator><pubDate>Sun, 28 Feb 2016 21:07:50 GMT</pubDate></item></channel></rss>