-
Notifications
You must be signed in to change notification settings - Fork 172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is replier_id always needed in Reply? #709
Comments
It seems the |
Linking C structure in zenoh-pico: z_reply_data_t |
IIRC, the distinction is there so that storages that reply can be identified, while the sample would retain its original SourceInfo. @OlivierHecart? |
@Mallets @OlivierHecart But it seems that this field is unrelated to |
|
@OlivierHecart also mentioned, that it's probably better to use |
Imho the fields/structs source_id & replier_id should either be reliable or removed. |
@stepkun thank you for your thoughts |
Describe the release item
Reply includes a mandatory
replier_id
of type ZenohId.However, the Sample accepted in the reply() contains a SourceInfo containing an optional ZenohId.
In the light of this, shouldn't
replier_id
be of typeOption<ZenohId>
instead ofZenohId
? IfZenohId
is always present in the Reply, then who is setting it all the time? Is this behaviour compatible with zenoh-pico?The text was updated successfully, but these errors were encountered: