Simple CoAP server/client over yggdrasil.
Add go mod definition
CI: separate build and fetch jobs
Update Go imports: github.com --> git.sr.ht

refs

master
browse log

clone

read-only
https://git.sr.ht/~fnux/yggdrasil-coap-nodes
read/write
git@git.sr.ht:~fnux/yggdrasil-coap-nodes

You can also use your local clone with git send-email.

Yggdrasil CoAP Nodes

builds.sr.ht status

Toy Yggdrasil nodes built using the yggdrasil reference library and yggdrasil-go-coap. Requires Go >= 1.13.

This project is licensed under the LGPLv3 (= license used by yggdrasil-go).

A bug tracker is available on todo.sr.ht.

yggdrasil-coap-server

Usage of ./yggdrasil-coap-server:
  -debug
        dump incoming requests to the standard output
  -genconf
        print a new config to stdout
  -json
        print configuration from -genconf or -normaliseconf as JSON instead of HJSON
  -normaliseconf
        use in combination with either -useconf or -useconffile, outputs your configuration normalised
  -useconf
        read HJSON/JSON config from stdin
  -useconffile string
        read HJSON/JSON config from specified file path

yggdrasil-coap-client

Usage of ./yggdrasil-coap-client:
  -genconf
        print a new config to stdout
  -json
        print configuration from -genconf or -normaliseconf as JSON instead of HJSON
  -normaliseconf
        use in combination with either -useconf or -useconffile, outputs your configuration normalised
  -target string
        Yggdrasil address to contact
  -useconf
        read HJSON/JSON config from stdin
  -useconffile string
        read HJSON/JSON config from specified file path