mirror of
https://github.com/espressif/openthread.git
synced 2026-06-05 21:14:49 +00:00
754eefabb6
This commit updates `Node::Reset()` in the Nexus platform to correctly set the IPv6 receive callback after the OpenThread `Instance` has been re-initialized via placement `new`. Previously, `otIp6SetReceiveCallback()` was called before the new `Instance` was constructed, meaning the callback registration would be lost when the instance memory was overwritten. Additionally, the callback registration now passes the associated `Node` object as the context.