Skip to content

Commit

Permalink
[#181] Use inclusive range definitions only
Browse files Browse the repository at this point in the history
The ranges of valid resource identifiers are now defined by means of
inclusive lower and upper boundaries.

Fixes #181
  • Loading branch information
sophokles73 committed Jun 17, 2024
1 parent 43369a1 commit e9cb517
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions basics/uattributes.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit e9cb517

Please sign in to comment.