How to create custom OpenThread message on OpenThread NCP. #10757
-
Hello OpenThread Team,
Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
You can check the openthread/src/ncp/ncp_base.hpp Lines 554 to 614 in b42be4c You can also check src/ncp/example_vendor_hook.cpp which is an example of how vendor hook can be implemented. There are allocated ranges for |
Beta Was this translation helpful? Give feedback.
Spinel is a protocol for communication between two components on the same device, such as an NCP and a host through an interface like UART or SPI. It's not designed for communication between two NCPs (i.e., between two devices).
It is not clear to me what your question is.
If you want to learn how to implement a vendor-specific NCP/spinel commands (send commands, etc), the best place to look and learn from would be the
ncp_base_*
source files and how different command/get/set handlers are implemented.If you want to communicate between two devices, you can use IPv6 messages. Thread is a networking protocol …