From e9cb5171900a8c3082a368b868f1d33d29f8d295 Mon Sep 17 00:00:00 2001 From: Kai Hudalla Date: Mon, 17 Jun 2024 15:40:53 +0200 Subject: [PATCH] [#181] Use inclusive range definitions only The ranges of valid resource identifiers are now defined by means of inclusive lower and upper boundaries. Fixes #181 --- basics/uattributes.adoc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/basics/uattributes.adoc b/basics/uattributes.adoc index d2e2e3c..0516bab 100644 --- a/basics/uattributes.adoc +++ b/basics/uattributes.adoc @@ -102,7 +102,7 @@ The following table defines attributes that are used for publish messages in add |yes a|A link:uri.adoc[UUri] representing the topic that this message is published to. -* The UUri's `resource_id` *MUST* be set to a value in range `[0x8000, 0xFFFF)`. +* The UUri's `resource_id` *MUST* be set to a value in range `[0x8000, 0xFFFE]`. |=== [#notification-attributes] @@ -122,7 +122,7 @@ The following table defines attributes that are used for notification messages i |yes a|A link:uri.adoc[UUri] representing the component that this notification originates from. -* The UUri's `resource_id` *MUST* be set to a value in range `[0x8000, 0xFFFF)`. +* The UUri's `resource_id` *MUST* be set to a value in range `[0x8000, 0xFFFE]`. |`sink` |yes @@ -155,7 +155,7 @@ a|The link:uri.adoc[UUri] that the service consumer expects to receive the respo |yes a|A link:uri.adoc[UUri] identifying the service provider's method to invoke. -* The UUri's `resource_id` *MUST* be set to a value in range `(0, 0x8000)`. +* The UUri's `resource_id` *MUST* be set to a value in range `[1, 0x7FFF]`. |`priority` |yes @@ -196,7 +196,7 @@ The following table defines attributes that are used for RPC response messages i |yes a|The link:uri.adoc[UUri] identifying the method that has been invoked and which this message is the outcome of. -* The UUri's `resource_id` *MUST* be set to a value in range `(0, 0x8000)`. +* The UUri's `resource_id` *MUST* be set to a value in range `[1, 0x7FFF]`. |`sink` |yes