SSPDP and SEDP are the two core discovery protocols that enable nodes to find and communicate with each other automatically.
Protocol
Full Name
Role
SPDP
Simple Participant Discovery Protocol
Discovers other DDS participants (nodes) on the network
SEDP
Simple Endpoint Discovery Protocol
Discovers the publishers and subscribers (topics, types, QoS) within each participant
SPDP (Simple Participant Discovery Protocol)
is the first step in DDS discovery. It:
12345
- Broadcasts participant info (GUID, capabilities) using multicast on UDP port 7400 (domain 0).
- Helps nodes find each other without a centralized registry.
- Uses periodic announcements.
- In CycloneDDS:
- SPDP is what shows up in tcpdump as packets to 239.255.0.1:7400 (default multicast group).
SEDP (Simple Endpoint Discovery Protocol):
Once SPDP discovers participants, SEDP kicks in to share:
123
- What topics each node publishes or subscribes to
- Message types
- QoS policies