Skip to content

Commit

Permalink
[api] enable DIAG_GET query function into commissioner
Browse files Browse the repository at this point in the history
This PR adds DIAG_GET query command into the commissioner module, allowing users to query diagnostic TLV (extaddr) from a peer Thread device by setting the device's mesh local address than TLV mask bits flag.

Test:

>> config set pskc 445f2b5ca6f2a93a55ce570a70efeecb
[done]
>> start 192.168.9.2 49154
[done]
>> diag query extaddr
Peer Address: fda1:7966:fc90:d97:0:ff:fe00:bc00
Content: {
    "ExtMacAddr": "6e56946f67040080"
}
[done]
  • Loading branch information
ZhangLe2016 committed Nov 25, 2024
1 parent f64c0c3 commit 22815a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration/test_cli.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ test_execute_diag_command()

start_commissioner "${NON_CCM_CONFIG}"
petition_commissioner
send_command_to_commissioner "diag query extaddr"
send_command_to_commissioner "netdiag query extaddr"
stop_commissioner

stop_daemon
Expand Down

0 comments on commit 22815a6

Please sign in to comment.