-
Notifications
You must be signed in to change notification settings - Fork 187
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expose src_addr and des_addr in espnow recv cb
Currently the espnow bindings for `register_recv_cb` only give a handle on the src_addr from the sending peer. This makes it impossible to determine if the frame was sent on the BROADCAST address. This change updates the first argument to the receive cb to accept a new ReceiveInfo struct containing `src_addr` and `des_addr`. The terminology was taken directly from the esp-idf docs.
- Loading branch information
1 parent
fb39090
commit b4424f3
Showing
1 changed file
with
27 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters