Skip to content

Command Line Tools

Thomas Amberg edited this page Apr 13, 2019 · 27 revisions

coap

Install CoAP-CLI

Usage

  • Get
    $ coap get coap://coap.me/.well-known/core
  • Post
    $ coap post -p '...' coap://...
  • Put
    $ coap put -p '...' coap://...

curl

Install cURL

Usage

Resources

mqtt

Install MQTT.js CLI

Usage

  • Publish
    $ mqtt pub -t 'mytopic' -h 'test.mosquitto.org' -m 'Hello, world!'
  • Subscribe
    $ mqtt sub -t 'mytopic' -h 'test.mosquitto.org'
Clone this wiki locally