You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After calling the esp_mesh_lite_espnow_send to send an espnow message, the esp-mesh-lite removes the peer. There is no documentation or rationale for such action.
Unjustified peer deletion causes overhead to the user, that needs to re-add the peer after every send.
Proposed solution
Either remove the peer deletion or document the rationale/need.
The text was updated successfully, but these errors were encountered:
github-actionsbot
changed the title
esp-mesh-lite espnow deleting peers after send
esp-mesh-lite espnow deleting peers after send (AEGHB-770)
Aug 9, 2024
Hello, the new mesh lite component has been updated, and the peer will no longer be deleted in esp_mesh_lite_espnow_send. At the same time, an API to delete the peer after sending is added: esp_mesh_lite_espnow_send_and_del_peer.
Description
After calling the
esp_mesh_lite_espnow_send
to send an espnow message, the esp-mesh-lite removes the peer. There is no documentation or rationale for such action.The peer deletion is here:
esp-mesh-lite/components/mesh_lite/src/esp_mesh_lite_espnow.c
Line 84 in e65961b
Problem
Unjustified peer deletion causes overhead to the user, that needs to re-add the peer after every send.
Proposed solution
Either remove the peer deletion or document the rationale/need.
The text was updated successfully, but these errors were encountered: