File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed
Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -36,11 +36,17 @@ start_leader() {
3636spawn ${NON_CCM_CLI} 9
3737send "factoryreset\r\n"
3838sleep 1
39- send "panid 0xface \r\n"
39+ send "dataset init new \r\n"
4040expect "Done"
41- send "ifconfig up\r\n"
41+ send "dataset channel 11\r\n"
42+ expect "Done"
43+ send "dataset panid 0xface\r\n"
4244expect "Done"
43- send "pskc ${PSKC} \r\n"
45+ send "dataset pskc ${PSKC} \r\n"
46+ expect "Done"
47+ send "dataset commit active\r\n"
48+ expect "Done"
49+ send "ifconfig up\r\n"
4450expect "Done"
4551send "thread start\r\n"
4652expect "Done"
@@ -74,8 +80,9 @@ test_native_commissioner() {
7480 # Thread of the daemon node is disabled so that the daemon transmits un-secure
7581 # 15.4 frames to the Border Agent node on behalf of the commissioner.
7682 start_daemon
77- ot_ctl ifconfig up
83+ ot_ctl channel 11
7884 ot_ctl panid 0xface
85+ ot_ctl ifconfig up
7986
8087 start_commissioner " ${NON_CCM_CONFIG} "
8188
You can’t perform that action at this time.
0 commit comments