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.
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
- wendynet-display
- wendynet-wifi
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
go test ./pkg/...
tinygo test ./pkg/...
pkg/link follows the session in wendy-lite components/wendy_net_peer/src/peer.c and router_session.c.
- Both sides send the hello preamble and check the other's.
- The leaf describes its certificate chain and announces its signed manifest with gossip HAVE. The router fetches it with WANT.
- 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.
- IPv6 packets travel as fragment datagrams.
internal/liteinterop runs tink against wendy-lite's C code built for the host. See its README.md.
