Skip to content

Difference between OT_RADIO_CAPS_TRANSMIT_RETRIES & OT_RADIO_CAPS_CSMA_BACKOFF Radio capability #9676

Answered by abtink
AhmedEsmailm asked this question in Q&A
Discussion options

You must be logged in to vote

A radio supporting OT_RADIO_CAPS_TRANSMIT_RETRIES should also already support OT_RADIO_CAPS_CSMA_BACKOFF (and OT_RADIO_CAPS_ACK_TIMEOUT).

I recommend including all these capabilities in the otPlatRadioGetCaps() return value for such a case. This ensures that GetCaps() accurately represents all supported capabilities.

The OT stack may not explicitly check for OT_RADIO_CAPS_CSMA_BACKOFF if OT_RADIO_CAPS_TRANSMIT_RETRIES is present, but it won't be a good idea to assume this in radio platform implementation (and exclude the OT_RADIO_CAPS_CSMA_BACKOFF in GetCaps()).

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by AhmedEsmailm
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants