Hi,
I want to send/receive message to Child from Leader/router, can any one help me in this regard.
here is My Working set-up,
by cli application, configured 1-Leader, 1-Router, 1-Child, where i am
able to work with commands listed in CLI- application. Now i want to
send sample Hi message to Child to Leader (How can child receive send by
leader/Router or How can Leader/Router send message to Child). How i
can integrate messages with leader or Child.
Thanks,
Praveen
--
You received this message because you are subscribed to the Google Groups "openthread-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openthread-users+unsubscribe@googlegroups.com.
To post to this group, send email to openthread-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openthread-users/583a815b-d71d-4ee3-8c3f-1aee58d4be1e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi all,
In cli.cpp I have added a command called udp and process for it also.
Inside the udp process, initially checking mode of operation Leader/Child
if leader :
opening port and sending udpmsg by functions --- otOpenUdpSocket(), otSendUdp().
If child:
opening port and bind by functions----- otOpenUdpSocket(), otBindUdpSocket().
Problem is, when opening port I am unable to understand how argument should be passed as function handler, and weather I should write “otUdpReceive aCallback” function.
Please any one let me know.
Is this approach is ok or not, let me know.
Thanks and Regards,
Praveen.