[border-agent] add logging for border agent events (#6481)

This commit includes several small changes:
- Add logs for Border Agent Start and Stop events to help analysis
  commissioning issues such as openthread/ot-commissioner#193
  (comment).
- Start Border Agent when the native commissioner is stopped.
- Add CLI command ba state to get current Border Agent state.
This commit is contained in:
kangping
2021-04-26 07:09:50 -07:00
committed by GitHub
parent 0656fbc9ed
commit 92335ef4fa
6 changed files with 69 additions and 21 deletions
+3
View File
@@ -170,4 +170,7 @@ expect ": InvalidState"
send "ba port\n"
expect "Done"
send "ba state\n"
expect "Done"
dispose_all