i am using VS code, nrf Connect SDK version 1.7.0, (2) nrf 5340 DK boards. Running the CLI example.
uart:~$ ot diag start
failed
error 13 invalid state
uart:~$ ot diag
diagnostic mode is disabled
done
How do I enable diagnostics?
Which CLI example were you running on 5340`? I can give it a try on the uart to quickly test it.
nrf/samples/openthread/cli
I did get diagnostics to work. I had the openthread enabled when the diagnostics cannot be enabled. I disabled the open thread and the diagnostics could then be enabled and used.