我必须将周期数据从 ns_CoAP_node 发送到边界路由器。 我需要哪些所有函数?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
我必须将周期数据从 ns_CoAP_node 发送到边界路由器。 我需要哪些所有函数?
尊敬的 Sajal:
CoAP 协议使用客户端服务器模型。 ns_coap_node 项目使用 LED 资源托管一台 CoAP 服务器。
这允许 spinel-CLI +边界路由器向 LED 资源发送获取/放置请求。 这是 CoAP 节点示例的默认行为。
定期向边界路由器获取数据的最简单方法是从边界路由器轮询此数据。
但如果您需要启动从 CoAP 节点到边界路由器的通信、 然后我们需要在 spinel-CLI 中模拟服务器。 然后使用 CoAP_SERVICE_Request_send ()到该模拟 CoAP 服务器。
我们正在研究即将推出的 SimpleLink Academy。
此致、
SID