<?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[Receiving data with ESP Now in UIFlow]]></title><description><![CDATA[<p dir="auto">I am trying to do some simple testing with passing integers/numbers from one M5StickC to another using ESPNOW.  Can anyone show me how receive data?</p>
]]></description><link>https://community.m5stack.com/topic/2275/receiving-data-with-esp-now-in-uiflow</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 10:59:50 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/2275.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 06 Sep 2020 17:14:11 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Receiving data with ESP Now in UIFlow on Tue, 15 Sep 2020 01:39:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/clocey" aria-label="Profile: clocey">@<bdi>clocey</bdi></a></p>
<p dir="auto">Here is a simple flow that you can program on each M5StickC device that will send (Tx) and receive (Rx) a counter value using ESPNow.</p>
<p dir="auto"><img src="/assets/uploads/files/1599570466810-screen-shot-2020-09-08-at-9.04.04-am-resized.png" alt="0_1599570461544_Screen Shot 2020-09-08 at 9.04.04 AM.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">I'm using broadcast to send the counter values, so will send data to all devices listening on the ESPNow network.</p>
<p dir="auto">To make it point-to-point, you could use the "Add peer" block with the mac address of the other device within the flow and then use the "Send message with id" block to send data to only a specific device by its mac address.<br />
<img src="/assets/uploads/files/1599571421237-screen-shot-2020-09-08-at-9.17.31-am-resized.png" alt="0_1599571417811_Screen Shot 2020-09-08 at 9.17.31 AM.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">If you had more than two devices on the ESPNow network, you would add multiple "Add peer" blocks (also changing the mac and ID values for each one) and multiple "Receive mac_address" blocks (also adding the specific mac you want to receive data from) to distinguish who was sending the data and who could receive the data.</p>
<p dir="auto">Hope this helps!</p>
]]></description><link>https://community.m5stack.com/post/9998</link><guid isPermaLink="true">https://community.m5stack.com/post/9998</guid><dc:creator><![CDATA[world101]]></dc:creator><pubDate>Tue, 15 Sep 2020 01:39:42 GMT</pubDate></item><item><title><![CDATA[Reply to Receiving data with ESP Now in UIFlow on Sun, 06 Sep 2020 20:42:17 GMT]]></title><description><![CDATA[<p dir="auto">Hi, you should't use the variables "addr" and "data" as shown in the snippets<br />
I think it should work like this:<img src="/assets/uploads/files/1599424919708-058d9528-c151-4ed4-83ef-9a3481853dfc-image.png" alt="0_1599424919910_058d9528-c151-4ed4-83ef-9a3481853dfc-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.m5stack.com/post/9974</link><guid isPermaLink="true">https://community.m5stack.com/post/9974</guid><dc:creator><![CDATA[ardo]]></dc:creator><pubDate>Sun, 06 Sep 2020 20:42:17 GMT</pubDate></item></channel></rss>