--
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/b646d2a8-7585-4544-a3a8-69509df57ed7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
There is an outstanding PR (openthread/wpantund#239) that allows wpantund to add RLOC address to its network interface.To have the NCP pass up IPv6 datagrams destined to the NCP RLOC address, you will also need to set the THREAD_RLOC16_DEBUG_PASSTHRU property.Hope that helps.--
Jonathan Hui
On Fri, Oct 13, 2017 at 12:37 AM, <ka...@tokateam.com> wrote:
Hi,I'm trying to setup some CoAP communication path from Thread Node to an Linux application running on Border Router device, talking with Thread over spinel/wpantund. So, on BR device (lets assume posix implementation here) I run wpantund with vanilla NCP application from OpenThread. That obviously creates some interface on my machine, like wpan0. It gets some mesh local addresses as expected. Then I have linux app listening on 0.0.0.0 bound to wpan0, and listening on some CoAP server there. So, if some other node sends CoAP request to my BR machine using multicast address or mesh local address, I nicely get the packets on the linux side and can answer them.But, when thread node is sending CoAP requests to my BR using RLOC16 addresses, they are not visible on the linux side. Seems like NCP/spinel/wpantund trio doesn't forward such traffic to the linux side. Is that expected? Is it possible to change it easily?If not, what would be the best option to achieve such thing? Use customized NCP application, which would listen on CoAP and forward request over spinel? (Not sure how to do the spinel part).Thanks in advance.
--
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-use...@googlegroups.com.
To post to this group, send email to openthre...@googlegroups.com.
There is an outstanding PR (openthread/wpantund#239) that allows wpantund to add RLOC address to its network interface.To have the NCP pass up IPv6 datagrams destined to the NCP RLOC address, you will also need to set the THREAD_RLOC16_DEBUG_PASSTHRU property.Hope that helps.--
Jonathan Hui
On Fri, Oct 13, 2017 at 12:37 AM, <ka...@tokateam.com> wrote:
Hi,I'm trying to setup some CoAP communication path from Thread Node to an Linux application running on Border Router device, talking with Thread over spinel/wpantund. So, on BR device (lets assume posix implementation here) I run wpantund with vanilla NCP application from OpenThread. That obviously creates some interface on my machine, like wpan0. It gets some mesh local addresses as expected. Then I have linux app listening on 0.0.0.0 bound to wpan0, and listening on some CoAP server there. So, if some other node sends CoAP request to my BR machine using multicast address or mesh local address, I nicely get the packets on the linux side and can answer them.But, when thread node is sending CoAP requests to my BR using RLOC16 addresses, they are not visible on the linux side. Seems like NCP/spinel/wpantund trio doesn't forward such traffic to the linux side. Is that expected? Is it possible to change it easily?If not, what would be the best option to achieve such thing? Use customized NCP application, which would listen on CoAP and forward request over spinel? (Not sure how to do the spinel part).Thanks in advance.
--
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-use...@googlegroups.com.
To post to this group, send email to openthre...@googlegroups.com.
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/648186c6-11cb-40ae-b26c-4d498b72c83d%40googlegroups.com.