This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Thread - diag command issue

Hi

I used "nRF5_SDK_for_Thread_v0.10.0 - cli sample code and try to test Thread command "diag"

when I type "diag" then it will show "diagnostics mode is disable".

when I type "diag start" then it will crash and cannot type any commands.

Someone has asked this question and Nordic reply need to add below API on cli - main.c "thread_init"

#if OPENTHREAD_ENABLE_DIAG

otDiagInit(p_instance);

#endif

Does need to add OPENTHREAD_ENABLE_DIAG in makefile and openthread library?

Could you help to test this issue?

Thanks. BR Atlas

Related