Skip to content
Back to skills

Dds Knowledge Patch

ASecurity

Data Distribution Service (DDS)

  • 25 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 5, 2026
ai-agentsapibackend

Works with

  • api

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned December 1, 2026

npx -y skills add Nevaberry/nevaberry-plugins --skill dds-knowledge-patch --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Dds Knowledge Patch?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Dds Knowledge Patch
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nevaberry-dds-knowledge-patch-nevaberry-plugins/badge)](https://www.skillsdirectory.com/skills/nevaberry-dds-knowledge-patch-nevaberry-plugins)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: dds-knowledge-patch
description: Data Distribution Service (DDS)
version: "DDSI-RTPS 2.5"
license: MIT
metadata:
  author: Nevaberry
---


# Data Distribution Service (DDS)

Load this skill when checking DDS endpoint matching, status handling,
RTPS discovery and repair, implementation configuration, or ROS 2 RMW behavior.
Use the references for configuration examples and topic-specific guidance.

## Reference index

| Reference | Topics |
| --- | --- |
| [Core DDS semantics](references/core-dds-semantics.md) | Status counts and flags, QoS compatibility, partition matching, group discovery metadata |
| [RTPS discovery and reliability](references/rtps-discovery-reliability.md) | Submessage context, byte order, locators, participant removal, sequence and fragment repair |
| [Implementation configuration](references/implementation-configuration.md) | Cyclone DDS configuration and discovery, liveliness and writer deletion; Fast DDS discovery and profiles; Connext DDS peer acceptance |
| [ROS 2 RMW behavior](references/ros2-rmw.md) | Discovery-dependent QoS, implementation defaults, optional backend capabilities |

## Endpoint matching and status handling

### Latency budget

`LATENCY_BUDGET` is a scheduling hint that also participates in
requested-versus-offered compatibility. If discovered endpoints stay unmatched,
check the last incompatible policy in the requested or offered incompatible QoS status.

### Destination order

`DESTINATION_ORDER` participates in requested-versus-offered compatibility.
When relying on `BY_SOURCE_TIMESTAMP` across writers, use comparable writer clocks:
DDS orders by timestamps supplied by or assigned at the writers.

### Liveliness compatibility

DDS checks both the assertion kind and the lease duration when matching `LIVELINESS`.
The kinds are ordered from automatic to manual by participant to manual by topic.

### Partitions and match updates

For wildcard matching, use a literal on one side, such as publisher partition
`plant/east` with subscriber partition `plant/*`.
Changing `PARTITION` on an enabled publisher or subscriber can add or remove
matches for its endpoints.

### Status counts and flags

Reading a status can consume its count change, and listener dispatch or taking
data can clear the relevant status flag.
Track occurrences across `WaitSet` wakeups using the cumulative count when the
status provides one.

### Group discovery metadata

Set `GROUP_DATA` on a publisher or subscriber to attach opaque application bytes
that DDS can propagate through discovery.

## RTPS discovery and reliability

### Discovery and user-data paths

SPDP advertises metatraffic locators for discovery, default locators, and built-in
endpoint availability. If participants are visible but endpoints are missing,
check for reliable SEDP publication and subscription announcements over the
discovery path, then verify reachability of advertised user-data locators separately.

### Participant removal

When the participant lease advertised in SPDP expires or the participant explicitly
disposes of its discovery data, remove the remote participant proxy and its
dependent endpoint matches.

### Sequence gaps and duplicate control messages

Use `GAP` to mark writer sequence numbers a reader should stop requesting,
including changes filtered out for that reader or already removed from writer history.
`ACKNACK` uses a sequence-number bitmap to report missing changes.
Control-message count fields distinguish newer messages from duplicates.

### Fragment repair

When a sample spans `DATA_FRAG` submessages, `HEARTBEAT_FRAG` and `NACK_FRAG`
support repair of missing fragments within that writer change.

### Submessage context and byte order

Decode each submessage header and its fields using that submessage's endianness flag.
Apply `INFO_SRC`, `INFO_DST`, and `INFO_TS` to update the source, destination, and
timestamp context for subsequent submessages.
The serialized payload has its own encapsulation identifying its representation
and byte order.

## Implementation configuration

### Cyclone DDS configuration scope

`CYCLONEDDS_URI` can select multiple configuration resources, including files and
inline XML. `Domain/@Id` selects which participant domain receives the settings;
`any` applies them across domains.
See the implementation reference for inline XML and peer configuration examples.

### Cyclone DDS unicast peers

Configure `Discovery/Peers/Peer` addresses to seed SPDP when multicast is unavailable.
If unicast discovery fails, check reachability in both directions and the
participant-index search limit used with the DDSI port mapping.

### Cyclone DDS discovery service

Cyclone DDS offers a discovery service in supported releases.
Verify support across implementations before using the service for centralized
discovery in a mixed deployment.

### Cyclone DDS liveliness support

The Cyclone DDS discovery guide documents `AUTOMATIC` liveliness.
Verify support in the deployed release before configuring either manual liveliness kind.

### Cyclone DDS reliable writer deletion

Writer linger can defer final deletion of a reliable writer to give readers time
to acknowledge pending data. Delete writers in an orderly shutdown to give that
mechanism a chance to run before process exit.

### Fast DDS static endpoint discovery

Static EDP gets endpoint definitions from XML.
Configure consistent static IDs and endpoint definitions on all participating sides.

### Fast DDS manual discovery

Manual discovery APIs let the application assert selected remote entities directly.

### Fast DDS default profiles

Set `FASTDDS_DEFAULT_PROFILES_FILE` to select a file for automatic loading.
Profiles marked `is_default_profile="true"` can affect ordinary entity creation.
The default filename lookup varies by release, and supported releases provide
`SKIP_DEFAULT_XML` to disable default-profile loading.

### Connext DDS peer acceptance

Initial peers specify where to send discovery probes.
Set Discovery QoS `accept_unknown_peers` to control whether participant announcements
from addresses outside the configured peer set are accepted.

## ROS 2 RMW behavior

### Discovery-dependent QoS and defaults

Where supported, `BEST_AVAILABLE` selects QoS policy values based on discovered endpoints.
`SYSTEM_DEFAULT` delegates policy values to the active RMW, so set explicit values
when behavior needs to stay consistent across implementations.

### Optional backend capabilities

Check RMW support for unique network flow requirements and content filtering,
and handle unsupported results.
When switching implementations, verify support for loaned messages and
shared-memory delivery on the new backend.

Files in this skill

  • SKILL.md9.2 KB
  • coverage.json656 B
  • references/core-dds-semantics.md5.4 KB
  • references/implementation-configuration.md6.2 KB
  • references/ros2-rmw.md1.5 KB
  • references/rtps-discovery-reliability.md4.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.