mirror of
https://github.com/espressif/openthread.git
synced 2026-08-06 02:37:47 +00:00
[CoAP] Adding CLI commands (#1539)
* [CoAP] Adding CLI commands Adds CLI commands for a simple CoAP client and server with one resource
This commit is contained in:
committed by
Jonathan Hui
parent
6c44b0759a
commit
6a520dd63c
@@ -49,6 +49,10 @@
|
||||
#include <cli/cli_server.hpp>
|
||||
#include <common/code_utils.hpp>
|
||||
|
||||
#if OPENTHREAD_ENABLE_APPLICATION_COAP
|
||||
#include <coap/coap_header.hpp>
|
||||
#endif
|
||||
|
||||
#ifndef OTDLL
|
||||
#include <net/icmp6.hpp>
|
||||
#include <common/timer.hpp>
|
||||
@@ -162,6 +166,9 @@ private:
|
||||
void ProcessChild(int argc, char *argv[]);
|
||||
void ProcessChildTimeout(int argc, char *argv[]);
|
||||
void ProcessChildMax(int argc, char *argv[]);
|
||||
#if OPENTHREAD_ENABLE_APPLICATION_COAP
|
||||
void ProcessCoap(int argc, char *argv[]);
|
||||
#endif //OPENTHREAD_ENABLE_APPLICATION_COAP
|
||||
#if OPENTHREAD_ENABLE_COMMISSIONER
|
||||
void ProcessCommissioner(int argc, char *argv[]);
|
||||
#endif // OPENTHREAD_ENABLE_COMMISSIONER
|
||||
|
||||
Reference in New Issue
Block a user