You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Separate type and instance of ue_id in Zenoh key (#259)
* Separate type and instance of ue_id in Zenoh key
Signed-off-by: ChenYing Kuo <evshary@gmail.com>
* Fix the ignore part in Zenoh key for publish type.
Signed-off-by: ChenYing Kuo <evshary@gmail.com>
* Incorporate the review's comment.
Signed-off-by: ChenYing Kuo <evshary@gmail.com>
---------
Signed-off-by: ChenYing Kuo <evshary@gmail.com>
* `up/`: Zenoh key **MUST** always start with `up/`, which can be used to identify the uProtocol traffic.
96
96
* `authority_name`: The authority_name defined in link:../basics/uri.adoc#3-mapping-to-uri[URI spec] is mapped into Zenoh key directly.
97
97
If the authority_name is omitted in UUri, it **MUST** be filled with UAuthority which is initialized while creating UPClienZenoh.
98
-
* `ue_id`, `ue_version_major` and `resource_id`: They **MUST** be mapped to the upper-case base16 encoding.
98
+
* `ue_type`, `ue_instance`, `ue_version_major` and `resource_id`: They **MUST** be mapped to the upper-case base16 encoding without any leading 0.
99
99
100
-
Note that in Publish use case, there is no sink UURI.
101
-
We **MUST** use `{}` to replace the empty `authority_name`, `ue_id`, `ue_version_major`, and `resource_id`.
100
+
Note:
101
+
102
+
* In Publish use case, there is no sink UURI. We **MUST** use `{}` to replace the empty `authority_name`, `ue_type`, `ue_instance`, `ue_version_major`, and `resource_id`.
103
+
* The wildcard values in each part of UUri is mapped to the asterisk (+++*+++).
| Receive all Requests | //+++*+++/FFFFFFFF/FF/FFFF | //my-host2/CD/4/B | up/+++*+++/+++*+++/+++*+++/+++*+++/+++*+++/my-host2/CD/0/4/B
117
+
| Receive all messages to a device | //+++*+++/FFFFFFFF/FF/FFFF | //[::1]/FFFFFFFF/FF/FFFF | up/+++*+++/+++*+++/+++*+++/+++*+++/+++*+++/[::1]/+++*+++/+++*+++/+++*+++/+++*+++
0 commit comments