<?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[ESP NOW worked for 1 year but suddenly stopped after Board&#x2F;Library update!!!]]></title><description><![CDATA[<p dir="auto">Hi, all! I use a M5Stack Core Basic  to communicate with two M5Stamp  boards, in an HVAC app in my home office. (Using the latest Arduino ver 1.8.19) They all worked perfectly together as a stable solution...however...I had updated all my libraries as available. I wanted to edit a screen text and when I uploaded, the source compiled no problems, but the serial error message was "Failed to add peer" and "Error sending the data". (text messages in my code that I put there last year.</p>
<p dir="auto">I had used the official M5Stack board def, so I tried the older ES32 Arduino folder, M5Stack-Core-RSP32, which USED to do the trick. Still no comm and I tried to revert the Board definitions and no joy.<br />
My basic ESP NOW template is here: <a href="https://github.com/teastainGit/ESP_NOWpeer2peer/blob/main/ESPpeer2peer.ino" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/teastainGit/ESP_NOWpeer2peer/blob/main/ESPpeer2peer.ino</a><br />
I put this code into two StickCPlus, with corrected MAC and it used to work. Push the big button on one and the LED on the other comes on, and the same the other way.<br />
I am stuck and need help! Thanks, Terry</p>
]]></description><link>https://community.m5stack.com/topic/4617/esp-now-worked-for-1-year-but-suddenly-stopped-after-board-library-update</link><generator>RSS for Node</generator><lastBuildDate>Mon, 11 May 2026 06:52:57 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/4617.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 19 Sep 2022 20:44:41 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to ESP NOW worked for 1 year but suddenly stopped after Board&#x2F;Library update!!! on Tue, 27 Sep 2022 05:23:30 GMT]]></title><description><![CDATA[<p dir="auto">Thank you for the update.</p>
]]></description><link>https://community.m5stack.com/post/18736</link><guid isPermaLink="true">https://community.m5stack.com/post/18736</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Tue, 27 Sep 2022 05:23:30 GMT</pubDate></item><item><title><![CDATA[Reply to ESP NOW worked for 1 year but suddenly stopped after Board&#x2F;Library update!!! on Mon, 26 Sep 2022 01:44:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/teastain" aria-label="Profile: teastain">@<bdi>teastain</bdi></a> SOLVED!<br />
On one hand it did work for several years with ""esp_now_peer_info_t peerInfo;" placed in the void setup() !!!<br />
After the Board definition, somewhow changed, the project just stopped communicating.<br />
Researching every line of my program revealed that it should have been before the setup() as a declaration.<br />
Whew, my desktop application is back on line!</p>
]]></description><link>https://community.m5stack.com/post/18720</link><guid isPermaLink="true">https://community.m5stack.com/post/18720</guid><dc:creator><![CDATA[teastain]]></dc:creator><pubDate>Mon, 26 Sep 2022 01:44:31 GMT</pubDate></item></channel></rss>