aiocoap-client1
Query coap servers from the command line aiocoap-client is a simple command-line tool for interacting with coap servers
Positional arguments
url-
CoAP address to fetch
Named arguments
- -v, --verbose
-
Increase the debug output
- -q, --quiet
-
Decrease the debug output
--version-
show program's version number and exit
--interactive-
Enter interactive mode. Combine with --help or run help interactively to see which options apply where; some can be used globally and overwritten locally.
Default:
False
- --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)
--proxy-
Relay the CoAP request to a proxy for execution
--credentials-
Load credentials to use from a given file
--no-set-hostname-
Suppress transmission of Uri-Host even if the host name is not an IP literal
Default:
True
--non-
Send request as non-confirmable (NON) message
Default:
False
- -m, --method
-
Name or number of request method to use (default: 'GET')
Default: 'GET'
--observe-
Register an observation on the resource
Default:
False
--observe-exec-
Run the specified program whenever the observed resource changes, feeding the response data to its stdin
--accept-
Content format to request
--payload-
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. Non-file data may be recoded, see --content-format.
--payload-initial-szx-
Size exponent to limit the initial block's size (0 ≙ 16 Byte, 6 ≙ 1024 Byte)
--content-format-
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.
Releases
3 releases since Debian 10 (Buster); the text changed 2 times.
--accept until Debian 11 (Bullseye);
--content-format until Debian 11 (Bullseye);
--dump until Debian 11 (Bullseye);
--help until Debian 11 (Bullseye);
--interactive until Debian 11 (Bullseye);
--method until Debian 11 (Bullseye);
--observe until Debian 11 (Bullseye);
--observe-exec until Debian 11 (Bullseye);
--payload until Debian 11 (Bullseye);
--proxy until Debian 11 (Bullseye);
--quiet until Debian 11 (Bullseye);
--verbose until Debian 11 (Bullseye);
-h until Debian 11 (Bullseye);
-m until Debian 11 (Bullseye);
-q until Debian 11 (Bullseye);
-v until Debian 11 (Bullseye).