openweave / openweave-core

openWeave is a home area network application protocol stack designed to enable asynchronous, symmetric, device-to-device, device-to-mobile and device-to-cloud communications for control path and data path messaging.
Apache License 2.0
233 stars 105 forks source link

Weave Message Capture logic. #686

Closed pidarped closed 2 years ago

pidarped commented 2 years ago

This feature allows an application to formulate an Exchange for capturing Weave messages by setting a WeaveBindiing flag before vending the ExchangeContext. For tunneled messages, they are directed towards a 'capture subnet' as a means of tagging the messages for capturing, as they traverse the underlying network stack and get encapsulated within an [IPv6|UDP] packet. The capture subnet is then reinstated back to the original subnet before the packet is captured and delivered up to the application.