Crate canadensis_udp

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.

Modules§

driver

Structs§

UdpReceiver
UDP transport receiver
UdpSessionData
UdpTransferIds
UdpTransmitter
UdpTransport
The Cyphal/UDP transport

Enums§

Error

Constants§

DEFAULT_PORT
The default UDP port used for communication
MIN_PACKET_SIZE
The minimum size of a Cyphal/UDP packet

Type Aliases§

UdpNodeId
A UDP node ID
UdpTransferId
A UDP transfer identifier