usage: aiocoap-client [-h] [--non] [-m METHOD] [--observe]
[--observe-exec CMD] [--accept MIME] [--proxy URI]
[--payload X] [--payload-initial-szx SZX] [--content-format MIME] [--no-set-hostname] [-v] [-q]
[--interactive] [--credentials CREDENTIALS] [--version] [--color] [--pretty-print] url
aiocoap-client is a simple command-line tool for interacting with CoAP servers
positionalarguments:
url CoAP address to fetch
options:-h, --help
show this help message and exit
--non Send request as non-confirmable (NON) message
-m, --method METHOD
Name or number of request method to use (default: GET)
--observe
Register an observation on the resource
--observe-exec CMD
Run the specified program whenever the observed resource changes, feeding the response data to its
stdin
--accept MIME
Content format to request
--proxy URI
Relay the CoAP request to a proxy for execution
--payload X
Send X as request payload (eg. with a PUT). If X starts with an '@', its remainder is treated as a
file name and read from; '@-' reads from the console. Nonfile data may be recoded, see
--content-format.
--payload-initial-szx SZX
Size exponent to limit the initial block's size (0 ??? 16 Byte, 6 ??? 1024 Byte)
--content-format MIME
Content format of the --payload data. If a known format is given and --payload has a non-file
argument, the payload is converted from CBOR Diagnostic Notation.
--no-set-hostname
Suppress transmission of Uri-Host even if the host name is not an IP literal
-v, --verbose
Increase the debug output
-q, --quiet
Decrease the debug output
--interactive
Enter interactive mode
--credentials CREDENTIALS
Load credentials to use from a given file
--version
show program's version number and exit
--color, --no-color
Color output (default on TTYs if all required modules are installed)
--pretty-print, --no-pretty-print
Pretty-print known content formats (default on TTYs if all required modules are installed)