Hello
I am contacting you because I have a problem with the "otThreadSendDiagnosticGet()" function.
In my program, I am trying to retrieve the list of RLOC16s of the children of all the routers in the Thread network.
My problem is that the "otThreadSendDiagnosticGet ()" command works once after it doesn't work anymore.
For example, if I have a network with a Leader and 2 routers:
- I get the RLOC16s from the routers on the network via the function "otThreadGetRouterInfo (thread_ot_instance_get (), i, & routerInfo)" (i is the index in the router table)
- I send the command "otThreadSendDiagnosticGet ()" to the first router on my list and wait for the response.
- When I received the response, I send the command "otThreadSendDiagnosticGet()" to the second router ... -> but here I have no more response
Do you have any idea why my other requests are not sending? (whereas if I send normal requests (requests to the "light" resource for example) in addition to diagnostic requests, these requests have no problem and go correctly)
Thank you
