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.
Modules§
Structs§
- UdpReceiver
- UDP transport receiver
- UdpSession
Data - UdpTransfer
Ids - UdpTransmitter
- UdpTransport
- The Cyphal/UDP transport
Enums§
Constants§
- DEFAULT_
PORT - The default UDP port used for communication
- MIN_
PACKET_ SIZE - The minimum size of a Cyphal/UDP packet
Type Aliases§
- UdpNode
Id - A UDP node ID
- UdpTransfer
Id - A UDP transfer identifier