Skip to content
hybridgroupPublic

About

Go and TinyGo packages for tiny devices to join wendy-net wireless mesh networks based on the Wendy platform for robotics and physical AI.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

39 Commits

Folders and files

Repository files navigation

tink

CI coverage

tink gopher

Go and TinyGo packages for tiny devices to join wendy-net wireless mesh networks based on the Wendy platform for robotics and physical AI.

Runs on boards with Espressif esp32c3 and esp32s3 processors.

Quick Start

You must have the latest development version of TinyGo installed.

You also must have the needed Wendy device credentials to authenticate to wendy-net.

tinygo flash -target xiao-esp32c3 -ldflags="-X main.ssid=SSID -X main.password=PASS" -monitor ./examples/wendynet-wifi

Examples

  • wendynet-display
  • wendynet-wifi

Development

Use a go.work file to point at local checkouts of lcrypto, lneto and espradio.

go work init .
go work use ../../tinygo/lcrypto ../../tinygo/lneto ../../tinygo/espradio

Testing

go test ./pkg/...
tinygo test ./pkg/...

Leaf session

pkg/link follows the session in wendy-lite components/wendy_net_peer/src/peer.c and router_session.c.

  1. Both sides send the hello preamble and check the other's.
  2. The leaf describes its certificate chain and announces its signed manifest with gossip HAVE. The router fetches it with WANT.
  3. Babel Hello, IHU and Update keep the link and the leaf /128 route up. Lite accepts the route once its routerId and seqno match the manifest.
  4. IPv6 packets travel as fragment datagrams.

Testing against wendy-lite

internal/liteinterop runs tink against wendy-lite's C code built for the host. See its README.md.

About

Go and TinyGo packages for tiny devices to join wendy-net wireless mesh networks based on the Wendy platform for robotics and physical AI.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages