Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions strands_robots/mesh/transport/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
``bytes`` payload. Rather than pick a concrete type and force one transport
to adapt, we declare the **structural protocol** all callers actually use:

sample.key_expr # str — the topic / key the message arrived on
sample.key_expr # str — the topic / key the message arrived on
sample.payload.to_bytes() # bytes — the raw payload

Concrete backends produce objects matching this shape. The MQTT backend ships
Expand Down Expand Up @@ -107,7 +107,7 @@ def declare_subscriber(self, key_expr: str, handler: Callable[[Sample], None]) -

Wildcard translation:
Zenoh ``*`` matches one segment → MQTT ``+``
Zenoh ``**`` matches tail → MQTT ``#``
Zenoh ``**`` matches tail → MQTT ``#``
MQTT-backed implementations translate these on the fly.

Args:
Expand Down
Loading
Loading