openthread / ot-commissioner

OpenThread Commissioner, a Thread commissioner for joining new Thread devices and managing Thread networks.
https://openthread.io/
BSD 3-Clause "New" or "Revised" License
49 stars 36 forks source link

[api] add API for getting commissioner version #199

Closed wgtdkp closed 3 years ago

wgtdkp commented 3 years ago

This commit adds a new commissioner API that returns the commissioner version. Also add git revision to the version string.

codecov-commenter commented 3 years ago

Codecov Report

Merging #199 (2479687) into main (cea0300) will increase coverage by 0.01%. The diff coverage is 100.00%.

:exclamation: Current head 2479687 differs from pull request most recent head 2601326. Consider uploading reports for the commit 2601326 to get more accurate results

@@            Coverage Diff             @@
##             main     #199      +/-   ##
==========================================
+ Coverage   69.46%   69.47%   +0.01%     
==========================================
Files          52       52              
Lines        4876     4878       +2     
==========================================
+ Hits         3387     3389       +2     
Misses       1489     1489              
Impacted Files Coverage Δ
include/commissioner/commissioner.hpp 46.66% <ø> (ø)
src/app/cli/main.cpp 93.75% <100.00%> (ø)
src/library/commissioner_impl.cpp 76.42% <100.00%> (+0.05%) :arrow_up: