mirror of
https://github.com/espressif/openthread.git
synced 2026-09-19 15:40:07 +00:00
The Peer-to-Peer (P2P) and Wake-up (Wake-up End Device / Wake-up Initiator / Wake-up Listener) features were originally introduced in OpenThread as experimental prototypes prior to the finalization of the Thread Direct specification. As the Thread Direct design has since evolved significantly, this legacy code is obsolete and no longer compliant with the spec. This commit removes the legacy implementations to make room for a clean implementation of Thread Direct. The focus of this PR is strictly on the core modules (`src/core/`), removing the internal implementations while keeping external interfaces in place. Public APIs (`otP2p*`, `otThreadWakeup`, and `otLink*Wakeup*`), existing configurations, and CLI/NCP interfaces remain unchanged, with the underlying API functions returning `OT_ERROR_NOT_IMPLEMENTED` (or empty/false).