Expand description
Structs and methods associated with the Thread networking layer.
This represents a first attempt in Tock to support Thread
networking. The current implementation successfully joins a Tock
device as a child node to a Thread parent (tested using
OpenThread). This Thread capsule is a client to the UDP Mux. The
associated ThreadNetwork struct must be created in the
thread_network.rs
component.
The Userland interface is incredibly simple at this juncture. An application can begin the Thread child/parent joining by issuing a syscall command with the MLE/MAC key as an argument. Only one userspace application can use/join the Thread network. Once a userspace application has joined the Thread network, the Thread network is considered locked. After the Thread network is “locked”, other userspace applications attempting to join the network will return a failure. This is temporary and will eventually be replaced.