<?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 Add peer macaddress not possible with vairable]]></title><description><![CDATA[<p dir="auto">In the current UIFLow (offline version 1.0.18 of online version 1.10.1) it is impossible to add a ESPNow peer with the macaddress defined in a variable.</p>
<p dir="auto"><img src="/assets/uploads/files/1658781634801-205b077e-d928-46ba-aa4b-93a783fb1c7c-image.png" alt="0_1658781634276_205b077e-d928-46ba-aa4b-93a783fb1c7c-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">My goal is to dynamicly add peers, when de anounce themselfs to the 'server' after a broadcast.<br />
FLow :</p>
<ul>
<li>Server sends out a broadcast with a Json telling what kind of server it is.</li>
<li>when a 'client' device receives an incomming message, the client directly gets the macaddress of the server in the "Receive mac_addre [addr] data [data]" method and thus should be able to stire the server macaddress and create a peer connection towards only that mac address, reserving this device for this server</li>
<li>when the client has reserved the server on his side, it responses towards the server to let the server know what kind of device the client is (json data), and what mac address is has.</li>
<li>this way, the server,n on his side, can comine the macadress with the device data to enable certain functions and know how to communicate (what json formats) with the client.</li>
</ul>
<p dir="auto">My goal :</p>
<ul>
<li>a M5Papaer as server</li>
<li>multiple Atom Lites as clients, all with different setups, predifined in the program</li>
</ul>
<p dir="auto">So PLEASE, could you enable the 'macaddr' of the 'add peer' function as an variable and not yust a field that has to be fixated in code?</p>
]]></description><link>https://community.m5stack.com/topic/4465/espnow-add-peer-macaddress-not-possible-with-vairable</link><generator>RSS for Node</generator><lastBuildDate>Sun, 19 Apr 2026 08:50:59 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/4465.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 25 Jul 2022 20:43:08 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to EspNow Add peer macaddress not possible with vairable on Tue, 26 Jul 2022 03:15:49 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/22619">@Luc3DSupplies</a></p>
<p dir="auto">you could try to use an <code>Execute code:</code> block like this:</p>
<p dir="auto"><img src="/assets/uploads/files/1658805086183-uiflowespnowpeerpervar_20220726.png" alt="0_1658805084760_UIFlowESPNowPeerPerVar_20220726.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">BTW: The content of the <code>Execute code:</code> block can be found by adding the <code>Add peer</code> block and then switching to the Python tab.</p>
<p dir="auto">Note: Above code is untested.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/18065</link><guid isPermaLink="true">https://community.m5stack.com/post/18065</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Tue, 26 Jul 2022 03:15:49 GMT</pubDate></item></channel></rss>