zhhyu7 opened a new pull request, #2250:
URL: https://github.com/apache/nuttx-apps/pull/2250

   ## Summary
   added support for coap and testing tools.
   
   server:
   when ipv6 is enable:
   ap> coap_server
   only ipv4 is enable, we need to specify the ip address of the network card:
   ap> coap_server -A [ipv4 address]
   
   client:
   ap> coap_client -m get coap://[ipv4/6 address]/time
   Dec 26 06:41:12
   
   Other Examples:
           coap_client -m get coap://[::1]/
           coap_client -m get coap://[::1]/.well-known/core
           coap_client -m get coap+tcp://[::1]/.well-known/core
           coap_client -m get 
coap://%2Funix%2Fdomain%2Fpath%2Fdgram/.well-known/core
           coap_client -m get 
coap+tcp://%2Funix%2Fdomain%2Fpath%2Fstream/.well-known/core
           coap_client -m get coaps://[::1]/.well-known/core
           coap_client -m get coaps+tcp://[::1]/.well-known/core
           coap_client -m get 
coaps://%2Funix%2Fdomain%2Fpath%2Fdtls/.well-known/core
           coap_client -m get 
coaps+tcp://%2Funix%2Fdomain%2Fpath%2Ftls/.well-known/core
           coap_client -m get -T cafe coap://[::1]/time
           echo -n 1000 | coap-client -m put -T cafe coap://[::1]/time -f -
   
   ## Impact
   
   ## Testing
   sim:local
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to