Skip to content
Discussion options

You must be logged in to vote

The behavior you are observing is due to the OpenThread core stack intercepting CoAP (UDP) messages before they can be passed to the host network interface.

Technical Explanation

In OpenThread, the IPv6 layer (Ip6::DetermineAction) is responsible for deciding whether an incoming packet should be processed locally or forwarded to the host. If a unicast packet is destined for an IPv6 address that OpenThread considers "local" (such as the Mesh-Local EID, an RLOC, or an OMR address added to the interface), the core stack sets the receive flag to true and the forwardHost flag to false.

Once the packet is handed to the internal UDP stack:

  1. Internal Receivers: OpenThread checks if any internal o…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@jtaySWE
Comment options

@jwhui
Comment options

Answer selected by jtaySWE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants