[riot-notifications] [RIOT-OS/RIOT] RDM: The 802.15.4 Radio HAL (#13943)
notifications at github.com
Thu May 14 16:41:52 CEST 2020
Sounds good. I assume `RF_CONFIRM` and `RF_INDICATION` are groups of events, rather than that only the two event values are used?
For `RF_CONFIRM` the advantage of having e.g. `RF_CONFIRM_IDLE`, `RF_CONFIRM_CCA`, etc. might not be so huge, but at least these two:
1. Error detection. (An `assert()` could make sure that only the expected confirmation is received and help finding bugs)
2. An upper layer using the async API directly might come around tracking the state. (E.g. if an `RF_CONFIRM_IDLE` comes in, it does not need to have stored that the device was previously in TRX_OFF.)
But for the indication that could be pretty useful, as e.g. after an `RF_INDICATION_RX_START` (or however this is called) an `RF_INDICATION_RX_FAILURE` or an `RF_INDICATION_RX_DONE` could be received. And it would certainly be beneficial to know which of those two came in.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications