AIOCOAP-CLIENT(1)
π aiocoap-client(1) β the aiocoap manual's main character
okay so bestie, listen. aiocoap-client is a simple command-line tool for interacting with CoAP servers, and it lives in the aiocoap manual (section 1, obviously, she's a user command π
). It's how you go query CoAP servers from your terminal like the icon you are. No cap.
β¨ SYNOPSIS β¨
usage: aiocoap-client [-h] [-v] [-q] [--version] [--interactive] [--color]
[--pretty-print] [--proxy URI]
[--credentials CREDENTIALS] [--no-set-hostname] [--non]
[-m METHOD] [--observe] [--observe-exec CMD]
[--accept MIME] [--payload X]
[--payload-initial-szx SZX] [--content-format MIME]
url
π POSITIONAL ARGUMENTS π
urlβ the CoAP address you wanna fetch. That's the whole vibe. Give her the address, she goes and gets it. π¦
πΈ NAMED ARGUMENTS πΈ
-v,--verboseβ turn the debug output UP. more words, more detail, more chaos. π₯-q,--quietβ turn the debug output DOWN. shhh. quiet hours. π€«--versionβ shows the program's version number and then exits, like a queen leaving the group chat. π--interactiveβ drop into interactive mode. Pro tip from me to you: combine it with--help, or just runhelpinteractively, to see which options apply where β because some of these can be set globally and then overwritten locally. Default:False.--color,--no-colorβ colorize the output. (Default: on for TTYs, but only if all the required modules are installed. no modules, no rainbow, sorry bestie π)--pretty-print,--no-pretty-printβ pretty-print known content formats. (Default: on for TTYs, again only if all the required modules are installed. β¨)--proxyβ relay the CoAP request to a proxy and let it do the executing. outsourcing, iconic behavior. π«Ά--credentialsβ load the credentials you want to use from a given file.--no-set-hostnameβ suppresses transmission of Uri-Host even when the host name isn't an IP literal. Default:True.--nonβ send the request as a non-confirmable (NON) message. Default:False.-m,--methodβ the name or the number of the request method you wanna use (default:'GET'). Default:'GET'.--observeβ register an observation on the resource. she's WATCHING. π Default:False.--observe-execβ run the program you specify every single time the observed resource changes, feeding the response data straight into its stdin. obsessed. π--acceptβ the content format to request.--payloadβ send X as the request payload (eg. with a PUT). And here's the cute part: if X starts with an'@', the rest of it is treated as a file name and read from that file β and'@-'reads from the console instead. Non-file data may get recoded, so peek at--content-formatfor that.--payload-initial-szxβ size exponent to limit the initial block's size (0 β 16 Byte,6 β 1024 Byte).--content-formatβ the content format of the--payloaddata. If a known format is given and--payloadhas a non-file argument, the payload gets converted from CBOR Diagnostic Notation. yes really. π§
π Copyright π
Christian AmsΓΌss and the aiocoap contributors. give them their flowers. π
ngl, that's the whole page, bestie. go forth and CoAP. ππ
0.4 β dated Apr 04, 2026 β that's a wrap on AIOCOAP-CLIENT(1), from the aiocoap era, and yes she ate. periodt. πβ¨
π¦ where this page comes from
- ubuntu stonking: python3-aiocoap 0.4.17-2 Β· MIT/X11
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms