ESP8266 Developer Zone The Official ESP8266 Forum 2017-01-20T14:05:53+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=3227 2017-01-20T14:05:53+08:00 2017-01-20T14:05:53+08:00 https://bbs.espressif.com:443/viewtopic.php?t=3227&p=11149#p11149 <![CDATA[Re: ESP-NOW: What happens if all peers are given the same MAC address.]]> But on such a network, assuming that it works as expected in some specific case... is likely to fail when the environment changes. As long as there is a physical layer involved (as is the case with all WiFi devices), having unique MACs is important to ensure data is correctly sent to all devices.
Without unique MAC, how will a transmitter know which device received the message and which device is acknowledging it?

Statistics: Posted by Guest — Fri Jan 20, 2017 2:05 pm


]]>
2017-01-04T23:57:23+08:00 2017-01-04T23:57:23+08:00 https://bbs.espressif.com:443/viewtopic.php?t=3227&p=11021#p11021 <![CDATA[Re: ESP-NOW: What happens if all peers are given the same MAC address.]]>
Thanks for your reply. I understand that having duplicate mac is not the right thing in a wifi network. But when using ESP NOW where there is no router - client relationship ( if i am correct) , how does this impact the network? When i add a peer in the controller and give the same mac to all my slaves, will the controller msg reach all the slaves?


Thanks,
Raju Namburi

Statistics: Posted by rajunamburi — Wed Jan 04, 2017 11:57 pm


]]>
2017-01-04T21:38:32+08:00 2017-01-04T21:38:32+08:00 https://bbs.espressif.com:443/viewtopic.php?t=3227&p=11020#p11020 <![CDATA[Re: ESP-NOW: What happens if all peers are given the same MAC address.]]> Now if you still force the same MAC on multiple units, the behavior will be depending on the switch/router or the internal SDK code (if there is other router connected).
Your data may only reach one, or reach all/many of the devices or just not be sent at all. Some routers will refuse to add another device with same MAC address. And this behavior may change when the software is updated (as there is no standard defined behavior).

So please use a broadcast message using the broadcast IP, or just forward messages individually, whatever the case may be.

Statistics: Posted by Guest — Wed Jan 04, 2017 9:38 pm


]]>
2017-01-04T14:48:18+08:00 2017-01-04T14:48:18+08:00 https://bbs.espressif.com:443/viewtopic.php?t=3227&p=11013#p11013 <![CDATA[ESP-NOW: What happens if all peers are given the same MAC address.]]>
I have been experimenting with ESP NOW and could successfully use it to transfer small data across the controller and slaves. As the transfers are based on mac address and as we can set custom mac address for esp8266, what happens if all the peers are given the same mac address? will the controller send the data to all the peers? can we use this for broadcasting the data?


Thanks,
Raju

Statistics: Posted by rajunamburi — Wed Jan 04, 2017 2:48 pm


]]>