Scroll to navigation

AIOCOAP-CLIENT(1) User Commands AIOCOAP-CLIENT(1)

NAME

aiocoap-client - A simple command-line tool for interacting with CoAP servers

DESCRIPTION

usage: aiocoap-client [-h] [--non] [-m METHOD] [--observe]

[--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

aiocoap-client is a simple command-line tool for interacting with CoAP servers

positional arguments:

CoAP address to fetch

options:

show this help message and exit
Send request as non-confirmable (NON) message
Name or number of request method to use (default: GET)
Register an observation on the resource
Run the specified program whenever the observed resource changes, feeding the response data to its stdin
Content format to request
Relay the CoAP request to a proxy for execution
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.
Size exponent to limit the initial block's size (0 ??? 16 Byte, 6 ??? 1024 Byte)
Content format of the --payload data. If a known format is given and --payload has a non-file argument, conversion is attempted (currently only JSON/Pythonliterals to CBOR).
Suppress transmission of Uri-Host even if the host name is not an IP literal
Increase the debug output
Decrease the debug output
Enter interactive mode
Load credentials to use from a given file
show program's version number and exit
Color output (default on TTYs if all required modules are installed)
Pretty-print known content formats (default on TTYs if all required modules are installed)

SEE ALSO

The full documentation for aiocoap-client is maintained as a Texinfo manual. If the info and aiocoap-client programs are properly installed at your site, the command

info aiocoap-client

should give you access to the complete manual.

April 2022 aiocoap-client 0.4.3