Hello everyone,
I created a simple network based on 1 Border router 1.2 as Leader (with a Raspberry Pi 4 and an Ot-RCP on a thunderboard sense2) and 1 ot-cli-ftd 1.2 as router.
My aim would be to get informations of a network (thanks to the networkdiagnostic commands throught the leader device) from my computer with a python script which start a SSH session with the raspberry pi.
However, depending on whether i'm inside or outside of the Thread stack, diagnostics responses aren't the same.
(picture 1)
(picture 2)
So :
1 - Is there a way to get the full diagnostic response (picture 2) but without "entering" in the stack ?
2- If no , is there a way to enter in the Thread stack from SSh command line ?
(I tried with paramiko to send command as "sudo ot-ctl \r networkdiagnostic get ff03::1 5" but it doesn't work).
3 - I tried with libcoap to send diagnostic command as
coap:[<dest_address>]:61631/d/dg
but it doesn't work , is the port 61631 internal to the thread instance ?
Best regards,