-
Hi, In scenarios where coexistence mechanisms are in place (e.g., Wi-Fi/BLE coex), and a transmission (TX) attempt fails because another activity is ongoing on the air, what is the expected error code should be returned to OpenThread stack from radio driver? Specifically, should it be OT_ERROR_CHANNEL_ACCESS_FAILURE, OT_ERROR_ABORT, or any other error? Thank you for your guidance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The Note that the list of accepted errors is documented in |
Beta Was this translation helpful? Give feedback.
The
OT_ERROR_ABORT
is the suggested error in such a case.Note that the list of accepted errors is documented in
platform/radio.h
forotPlatRadioTxDone()
. Other errors MUST not be returned and there are strict checks (asserts
) within OT core modules for this, e.g., inSubMac::HandleTransmitDone()
.