Skip to content

Measuring MLE SendAnnounce time #8662

Closed Answered by jwhui
rretanubun asked this question in Q&A
Jan 17, 2023 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Is my understanding correct? or is there a different spot in code to measure?

The SendTo() method simply schedules the packet for transmission and does not actually wait for the radio to complete transmission. If you want the most accurate time stamping, you'll probably want to do that in the radio driver itself. See the otPlatRadioTransmit and otPlatRadioTxDone platform APIs.

Other than modifying OPENTHREAD_CONFIG_ANNOUNCE_SENDER_INTERVAL is there a network event that can be triggered to cause the Announcement to go out earlier (to aid in collecting statistical data for example).

There isn't a network event that triggers it. Note, however, that the announce messages may be suppressed…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@rretanubun
Comment options

@jwhui
Comment options

Answer selected by rretanubun
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