.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.2. .TH AIOCOAP-CLIENT "1" "April 2022" "aiocoap-client 0.4.3" "User Commands" .SH NAME aiocoap-client \- A simple command-line tool for interacting with CoAP servers .SH DESCRIPTION usage: aiocoap\-client [\-h] [\-\-non] [\-m METHOD] [\-\-observe] .TP [\-\-observe\-exec CMD] [\-\-accept MIME] [\-\-proxy HOST[:PORT]] [\-\-payload X] [\-\-payload\-initial\-szx SZX] [\-\-content\-format MIME] [\-\-no\-set\-hostname] [\-v] [\-q] [\-\-interactive] [\-\-credentials CREDENTIALS] [\-\-version] [\-\-color] [\-\-pretty\-print] url .PP aiocoap\-client is a simple command\-line tool for interacting with CoAP servers .SS "positional arguments:" .TP url CoAP address to fetch .SS "options:" .TP \fB\-h\fR, \fB\-\-help\fR show this help message and exit .TP \fB\-\-non\fR Send request as non\-confirmable (NON) message .TP \fB\-m\fR METHOD, \fB\-\-method\fR METHOD Name or number of request method to use (default: GET) .TP \fB\-\-observe\fR Register an observation on the resource .TP \fB\-\-observe\-exec\fR CMD Run the specified program whenever the observed resource changes, feeding the response data to its stdin .TP \fB\-\-accept\fR MIME Content format to request .TP \fB\-\-proxy\fR HOST[:PORT] Relay the CoAP request to a proxy for execution .TP \fB\-\-payload\fR 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 \fB\-\-content\-format\fR. .TP \fB\-\-payload\-initial\-szx\fR SZX Size exponent to limit the initial block's size (0 ??? 16 Byte, 6 ??? 1024 Byte) .TP \fB\-\-content\-format\fR MIME Content format of the \fB\-\-payload\fR data. If a known format is given and \fB\-\-payload\fR has a non\-file argument, conversion is attempted (currently only JSON/Pythonliterals to CBOR). .TP \fB\-\-no\-set\-hostname\fR Suppress transmission of Uri\-Host even if the host name is not an IP literal .TP \fB\-v\fR, \fB\-\-verbose\fR Increase the debug output .TP \fB\-q\fR, \fB\-\-quiet\fR Decrease the debug output .TP \fB\-\-interactive\fR Enter interactive mode .TP \fB\-\-credentials\fR CREDENTIALS Load credentials to use from a given file .TP \fB\-\-version\fR show program's version number and exit .TP \fB\-\-color\fR, \fB\-\-no\-color\fR Color output (default on TTYs if all required modules are installed) .TP \fB\-\-pretty\-print\fR, \fB\-\-no\-pretty\-print\fR Pretty\-print known content formats (default on TTYs if all required modules are installed) .SH "SEE ALSO" The full documentation for .B aiocoap-client is maintained as a Texinfo manual. If the .B info and .B aiocoap-client programs are properly installed at your site, the command .IP .B info aiocoap-client .PP should give you access to the complete manual.