openthread / ot-br-posix

OpenThread Border Router, a Thread border router for POSIX-based platforms.
https://openthread.io/
BSD 3-Clause "New" or "Revised" License
420 stars 235 forks source link

[thread-host] add set channel max power api #2551

Closed Irving-cl closed 3 weeks ago

Irving-cl commented 1 month ago

This PR adds the SetChannelMaxPower method to ThreadHost.

The PR implements this method for RcpHost. The implementation for NCP will be added later.

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 0% with 13 lines in your changes missing coverage. Please review.

Project coverage is 46.13%. Comparing base (2b41187) to head (104cacd). Report is 849 commits behind head on main.

Files with missing lines Patch % Lines
src/ncp/rcp_host.cpp 0.00% 11 Missing :warning:
src/ncp/ncp_host.cpp 0.00% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2551 +/- ## ========================================== - Coverage 55.77% 46.13% -9.65% ========================================== Files 87 104 +17 Lines 6890 12447 +5557 Branches 0 907 +907 ========================================== + Hits 3843 5742 +1899 - Misses 3047 6394 +3347 - Partials 0 311 +311 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.