-
When using Linux platform simulation, test the software CSMA / Ca function, and the radio function enables ot_ RADIO_ CAPS_ TRANSMIT_ RETRIES |OT_ RADIO_ CAPS_ CSMA_ Backoff function also enables opentread_ CONFIG_ MAC_ SOFTWARE_ CSMA_ BACKOFF_ Enable, but no call to get RSSI or energy scanning function is found. Is the implementation based on the RSSI received in the receive function? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
OpenThread requires the radio to implement Clear Channel Assessment (CCA). As a result, OpenThread itself does not sample the RSSI to determine whether or not to transmit a given message.
|
Beta Was this translation helpful? Give feedback.
-
In other words, opentread itself does not have CCA function. When it needs to be transplanted, it is implemented by the user according to specific hardware. OPENTHREAD_ CONFIG_ MAC_ SOFTWARE_ CSMA_ BACKOFF_ ENABLE |
Beta Was this translation helpful? Give feedback.
-
Which function should be implemented to tell openthead to back off。 |
Beta Was this translation helpful? Give feedback.
OpenThread requires the radio to implement Clear Channel Assessment (CCA). As a result, OpenThread itself does not sample the RSSI to determine whether or not to transmit a given message.
OT_RADIO_CAPS_CSMA_BACKOFF
indicates that the radio implements the CSMA backoff.OT_RADIO_CAPS_TRANSMIT_RETRIES
indicates that the radio implements retransmissions.