tree: e0be2d7df8133d9f81e34a79c18977e580cbe5be
  1. border_router/
  2. pktverify/
  3. __init__.py
  4. addon_test_channel_manager_autocsl.py
  5. call_dbus_method.py
  6. coap.py
  7. command.py
  8. common.py
  9. config.py
  10. debug.py
  11. dtls.py
  12. find_border_agents.py
  13. ipv6.py
  14. lowpan.py
  15. mac802154.py
  16. mcast6.py
  17. mesh_cop.py
  18. message.py
  19. mle.py
  20. net_crypto.py
  21. network_data.py
  22. network_diag.py
  23. network_layer.py
  24. node.py
  25. pcap.py
  26. README.md
  27. requirements.in
  28. requirements.txt
  29. run_cert_suite.py
  30. simulator.py
  31. sniffer.py
  32. sniffer_transport.py
  33. Test_Cli.py
  34. test_coap.py
  35. test_common.py
  36. test_crypto.py
  37. test_diag.py
  38. test_ipv6.py
  39. test_lowpan.py
  40. test_mac802154.py
  41. test_mle.py
  42. test_network_data.py
  43. test_network_layer.py
  44. test_tcat_tmf_enable_req.py
  45. thread_cert.py
  46. tlvs_parsing.py
  47. udp_send_host.py
  48. wpan.py
tests/scripts/thread-cert/README.md

OpenThread Certification Tests

Inspector

Inspect nodes status by the following modification:

  1. Insert the inspector to where you want to inspect.
import debug
debug.Inspector(self).inspect()
  1. Run the test and it will stop at the line above and prompt #.
./script/test clean build cert tests/scripts/thread-cert/Cert_5_1_01_RouterAttach.py
  1. Inspect
#
# 1
> state
leader
> exit
# 2
> panid
face
> exit
# exit

CLI reference

# mode

This is selection mode. You may select the node to inspect here.

  • list - list available nodes.
  • exit - end inspecting, continue running test case.
  • <number> - select the node with id <number>. This will result in entering > mode.

> mode

This is node mode. You may run OpenThread CLI here.

  • exit - go back to # mode.