Crate canadensis_udp
source ·Expand description
Cyphal/UDP transport
The current version of the transport is documented in a forum post from 2022-12-02.
If the std
feature is enabled, this implementation requires the std
library for sockets.
How sockets work
Sending
A transport can use one socket to send all outgoing message and service transfers. This socket binds to and an ephemeral UDP port on one network interface.
Outgoing transfers get sent to a multicast address based on the port ID and a fixed UDP port.
Receiving transfers
All transfers are received through one socket, which joins any multicast groups required to receive the correct frames.
Re-exports
pub extern crate embedded_nal;
Modules
Structs
- UDP transport receiver
- The Cyphal/UDP transport
Enums
Constants
- The default UDP port used for communication
- The minimum size of a Cyphal/UDP packet
Type Definitions
- A UDP node ID
- A UDP transfer identifier