A small command line tool for sending COAP request, with support for DTLS.
Compiler for golang, version 1.11 or higher
$ go get -v github.com/moroen/coapcmd
This will install the coapcmd command in $GOPATH/bin
$ mkdir coapcmd
$ cd coapcmd
$ env GOPATH=`pwd` go get -v github.com/moroen/coapcmd
This will install the coapcmd command in the created bin-directory
$ git clone https://github.com/moroen/coapcmd.git
$ cd coapcmd
$ bash install_coapcmd.sh
Requires compiling within a golang development enviroment
$ cd $GOPATH
$ git clone https://github.com/moroen/coapcmd.git src/coapcmd
$ cd src/coapcmd
$ go get -v
$ go get -v github.com/inconshreveable/mousetrap
$ env GOOS=windows GOARCH=amd64 go build # window 64bit
$ env GOOS=windows GOARCH=386 go build # window 32bit
$ env GOOS=linux GOARCH=arm GOARM=5 go build # arm v5
$ env GOOS=linux GOARCH=arm GOARM=6 go build # arm v6
$ env GOOS=linux GOARCH=arm GOARM=7 go build # arm v7 (Pi 3)
Prebuild binaries for selected architectures are available under releases.