You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2020/01/24 18:16:18 UTC
[GitHub] [mynewt-newtmgr] ccollins476ad opened a new pull request #154: res:
Allow file to specify payload
ccollins476ad opened a new pull request #154: res: Allow file to specify payload
URL: https://github.com/apache/mynewt-newtmgr/pull/154
The `res` (resource) command sends a generic CoAP request. By default, the CoAP payload is specified as a series of command line arguments.
This commit allows newt to read the payload from a file instead. There are three new command line options:
```
-B, --binfile string Name of file containing bytes to encode as a byte string for the CoAP message body
-J, --jsonfile string Name of file containing JSON for the CoAP message body
-R, --rawfile string Name of file containing the raw CoAP message body
```
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [mynewt-newtmgr] ccollins476ad merged pull request #154: res: Allow
file to specify payload
Posted by GitBox <gi...@apache.org>.
ccollins476ad merged pull request #154: res: Allow file to specify payload
URL: https://github.com/apache/mynewt-newtmgr/pull/154
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services