<?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[ESPNow UIFlow - communication stopps after 10 messages]]></title><description><![CDATA[<p dir="auto">I try ESPNow to connect a M5Stack face to an M5Stack Fire.<br />
Face is sender - Fire is receiver.<br />
This is the send block in Face:<br />
<img src="/assets/uploads/files/1611764909505-face-tx-resized.jpg" alt="0_1611764889538_face tx.jpg" class=" img-fluid img-markdown" /></p>
<p dir="auto">This is the receive block in Fire:<br />
<img src="/assets/uploads/files/1611765037790-fire-resized.jpg" alt="0_1611764963669_fire.jpg" class=" img-fluid img-markdown" /></p>
<p dir="auto">After every send message I'm waiting.</p>
<p dir="auto">It works - but only 10 times.<br />
After the 10 times the received message  is no longer changing.<br />
The programs are working - I can see it on the color change in the small squares.</p>
<p dir="auto">After a new start - again - 10 times chaging the message - then OFF.</p>
<p dir="auto">It feels like a buffer or something like that is full - but -- NO documentation.</p>
<p dir="auto">Can anybody help what's going on in this quit "very complex" software :-)</p>
<p dir="auto">K.D.</p>
]]></description><link>https://community.m5stack.com/topic/2842/espnow-uiflow-communication-stopps-after-10-messages</link><generator>RSS for Node</generator><lastBuildDate>Tue, 17 Mar 2026 12:09:54 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/2842.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 27 Jan 2021 16:34:30 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to ESPNow UIFlow - communication stopps after 10 messages on Sat, 30 Jan 2021 09:44:50 GMT]]></title><description><![CDATA[<p dir="auto">The set.pmk function is used to "encrypt" data transmissions, you set the same key in the transmitter and receiver. I have not had the opportunity or need to test if it works. You can find a library for arduino esp-now on the internet. Practically the functions have the same or similar names as those in python. I think the easiest way would be to send from the transmitter all values separated by commas as text and receive them the same way. in uiflow or in python using split function which will make you a list with separated values</p>
<p dir="auto"><strong>Lists -&gt; make</strong> list from text <strong>with delimiter</strong>.</p>
<p dir="auto">As a delimiter you set your separator character e.g. ","</p>
<p dir="auto">Then you read each value with</p>
<p dir="auto"><strong>Lists -&gt; in list ... get #</strong> item number</p>
<p dir="auto">Translated with <a href="http://www.DeepL.com/Translator" target="_blank" rel="noopener noreferrer nofollow ugc">www.DeepL.com/Translator</a> (free version)</p>
]]></description><link>https://community.m5stack.com/post/12184</link><guid isPermaLink="true">https://community.m5stack.com/post/12184</guid><dc:creator><![CDATA[robalstona]]></dc:creator><pubDate>Sat, 30 Jan 2021 09:44:50 GMT</pubDate></item><item><title><![CDATA[Reply to ESPNow UIFlow - communication stopps after 10 messages on Thu, 28 Jan 2021 13:04:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/5685">@Arno</a>: To set a communication channel was wrong in that sketch. I didn't make the screen shots from the actual version. Both M5Stack are connected to the same WLAN - so you need not set the communication channel.</p>
<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/2460">@robalstona</a>: Thank you for that information - now the communication is working.<br />
One litte question: What does the "Set pmk" do and where can I find it ?</p>
<p dir="auto">When I looked to the MicroPython version of the block I see, that the declaration of, then I find:</p>
<p dir="auto"><em><strong>rx_adresse, _, rx_data = espnow.recv_data(encoder='str')</strong></em></p>
<p dir="auto">There is a encoder declaration with "string". If my interpretation is right, then there should be other encoders more - maybe for numeric values. (If there is only one encoder, then a special declarion of the type would be senseless.</p>
<p dir="auto">Do you know more about this ?<br />
Maybe do you know how to make this with an Arduino sketch ?</p>
<p dir="auto">I want to use the M5Stick joysticks to control a big RC vehicle, like RoverC.<br />
So the best would be to transfer the numerical values.</p>
<p dir="auto">regards<br />
K.D.</p>
]]></description><link>https://community.m5stack.com/post/12087</link><guid isPermaLink="true">https://community.m5stack.com/post/12087</guid><dc:creator><![CDATA[ramaker]]></dc:creator><pubDate>Thu, 28 Jan 2021 13:04:51 GMT</pubDate></item><item><title><![CDATA[Reply to ESPNow UIFlow - communication stopps after 10 messages on Wed, 27 Jan 2021 18:14:33 GMT]]></title><description><![CDATA[<p dir="auto">In your receive callback function you shouldn't use any time delay, this function should be as short as possible. This callback breaks/pause your main program like interrupt and run yours code. Probably in your case one of this callback "runs" time delay function when next receive callback at this moment run the same code as previous callback.</p>
<p dir="auto">In my case there is a small delay 5ms (but in compare to 1 seconds it is almost nothing)</p>
<p dir="auto">I make some receiver code for stickc, ewentually you make some cosmetic changes.</p>
<p dir="auto"><img src="/assets/uploads/files/1611771102995-block.jpeg" alt="0_1611771091348_block.jpeg" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.m5stack.com/post/12068</link><guid isPermaLink="true">https://community.m5stack.com/post/12068</guid><dc:creator><![CDATA[robalstona]]></dc:creator><pubDate>Wed, 27 Jan 2021 18:14:33 GMT</pubDate></item><item><title><![CDATA[Reply to ESPNow UIFlow - communication stopps after 10 messages on Wed, 27 Jan 2021 18:10:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/5337">@ramaker</a> said in <a href="/post/12066">ESPNow UIFlow - communication stopps after 10 messages</a>:</p>
<blockquote>
<p dir="auto">M5Stack face</p>
</blockquote>
<p dir="auto">Try to put the "Set communication channel 6" on the M5Stack face</p>
]]></description><link>https://community.m5stack.com/post/12067</link><guid isPermaLink="true">https://community.m5stack.com/post/12067</guid><dc:creator><![CDATA[Arno]]></dc:creator><pubDate>Wed, 27 Jan 2021 18:10:24 GMT</pubDate></item></channel></rss>