espressif / esp-now

A connectionless Wi-Fi communication protocol
Apache License 2.0
486 stars 91 forks source link

Bind Limit of 20 (AEGHB-8) #28

Closed tiki30 closed 1 year ago

tiki30 commented 2 years ago

Hi, can you explain exactly what limits the pairing of devices to a maximum of 20 ?. If I need to communicate with more than 20 devices without using broadcast, is there a mechanism to do this ? Many Thanks.

LJYSP commented 2 years ago

The WIFI lib and memory cost limit the pairing of devices to a maximum of 20. If I need to communicate with more than 20 devices without using broadcast, is there a mechanism to do this ? ==> You can add peer address before sending and delete peer address after sending.

espnow_add_peer(src_addr, NULL);
espnow_send();
espnow_del_peer(src_addr);
svdrummer commented 1 year ago

If I broadcast would there be a limit. I can set wifi to 15, however, i am switching to esp_now. I am thinking broadcast is just to one peer FF's in mac. I dont care about the result of the send

lhespress commented 1 year ago

You can ignore the limit of 20 in broadcast mode. We have tested 100 devices as responder which have the max delay timer is 315ms.

lhespress commented 1 year ago

@svdrummer Closing this issue since there has been no update on this. Please feel free to reopen if required.