I am attempting to create a packet sniffer for an openthread application. I intend for it to run by sitting on the network and processing all packets with the coap_deafult_handler function (as set by otCoapSetDefaultHandler).
Is there a way to extract the Uri-Path from the header when the message is received by the packet sniffer?
If there is not would it be possible to extract any other information stored in by the message to determine what the message is and where it is from?
Thanks,
Richard