espressif / esp-now

A connectionless Wi-Fi communication protocol
Apache License 2.0
506 stars 93 forks source link

Broadcasting to our own network only #9

Closed ankit-thealchemist closed 2 years ago

ankit-thealchemist commented 2 years ago

Hello,

I was going through the get started example, just want to know how to broadcast message to out own private group. Suppose I have some devices working on esp now and my neighbour would have some devices working on esp now. How the these two network will be separated? Each network will be able to decode only its netwok messages. Thanks!

ljy770 commented 2 years ago

You can separate the devices by RSSI and set device group by espnow_send_group().

ankit-thealchemist commented 2 years ago

@ljy770 Thanks! this sorted out my confusion. Just let me know, when will documentation regarding esp now will be available. Also just a feature request to also support hash of the password for the authentication.