-
-
Notifications
You must be signed in to change notification settings - Fork 13
Description
If the named topic development continues roughly along the lines outlined in this post: https://forum.opencyphal.org/t/rfc-zero-configuration-cyphal-with-named-topics/2376/7?u=pavel.kirienko, then it would be desirable to reflect the unification of topics with RPCs in the DSDL language design. Specifically, right now we have two distinct categories of types: message types and RPC types. The former will stay as-is, while the latter may need to be made a subset of message types, where the request part becomes just an ordinary message definition, and the response part becomes the optional response type of the message.
For example, an ordinary message definition implies that no response type is defined for it:
# Message.1.0
float16 value
@sealed
While messages that prescribe a response (whether mandatory or optional) will contain the additional section at the end:
# Message.1.0
float16 value
@sealed
---
# Message.Response.1.0
float16 response_value
@sealed