ot::RssAverager::Add() method
Adds a received signal strength (RSS) value to the average. If @p aRss is `Radio::kInvalidRssi`, it is ignored and error status kErrorInvalidArgs is returned. The value of RSS is capped at 0dBm (i.e., for any given RSS value higher than 0dBm, 0dBm is used instead).
Arguments
Received signal strength value (in dBm) to be added to the average.
Return value
kErrorNone New RSS value added to average successfully. kErrorInvalidArgs Value of @p aRss is `Radio::kInvalidRssi`.
ot::RssAverager::Add() reads 7 variables and writes 2 variables:
![]()
ot::RssAverager::Add()