- Content-Type |
+ Content Type |
Content Coding |
ID |
Reference |
@@ -2522,8 +2520,6 @@
TBD9 is to be assigned from the space 256..999.¶
-In the registry the column "Content-Type" is called "Media type" and the
-column "Content Coding" is called "Encoding". This paragraph to be removed by RFC editor.¶
@@ -2532,7 +2528,24 @@
IANA is asked to register the following entries in the subregistry of the "Constrained RESTful Environments (CoRE) Parameters" registry group.¶
-
The registry is initially populated with the entries in Figure 5 of Section 4.¶
+
This specification establishes the "Pubsub Topic Configuration Parameters" IANA registry within the "Constrained RESTful Environments (CoRE)
+Parameters" registry group.¶
+
The columns of this registry are:¶
+
+-
+
Name: This is a descriptive name that enables easier reference to the item. The name MUST be unique. It is not used in the encoding.¶
+
+ -
+
CBOR Key: This is the value used as CBOR key of the item. These values MUST be unique. The value can be a positive integer, a negative integer, or a text string. Different ranges of values use different registration policies [RFC8126]. Integer values from -256 to 255 as well as text strings of length 1 are designated as "Standards Action With Expert Review". Integer values from -65536 to -257 and from 256 to 65535, as well as text strings of length 2 are designated as "Specification Required". Integer values greater than 65535 as well as text strings of length greater than 2 are designated as "Expert Review". Integer values less than -65536 are marked as "Private Use".¶
+
+ -
+
CBOR Type: This contains the CBOR type of the item, or a pointer to the registry that defines its type, when that depends on another item.¶
+
+ -
+
Reference: This contains a pointer to the public specification for the item.¶
+
+
+
The registry is initially populated with the entries in Figure 5 of Section 4.¶
-Marco provided thorough reviews and guidance on the last versions of this document.¶
+Marco provided very thorough reviews and guidance on the last versions of this document.¶
diff --git a/ps-rev/draft-ietf-core-coap-pubsub.txt b/ps-rev/draft-ietf-core-coap-pubsub.txt
index 933272c..3720de5 100644
--- a/ps-rev/draft-ietf-core-coap-pubsub.txt
+++ b/ps-rev/draft-ietf-core-coap-pubsub.txt
@@ -107,7 +107,7 @@ Table of Contents
5. Security Considerations
6. IANA Considerations
6.1. Media Type
- 6.2. Content Format
+ 6.2. Content-Format
6.3. CoAP Pubsub Parameters
6.4. Resource Types
Acknowledgements
@@ -368,7 +368,7 @@ Table of Contents
* 'media-type': An optional field used to indicate the media type of
the topic-data resource for the topic. It encodes the media type
as a this information as the integer identifier of the CoAP
- content format (e.g., value is "50" for "application/json").
+ content-format (e.g., value is "50" for "application/json").
* 'topic-type': An optional field used to indicate the attribute or
property of the topic-data resource for the topic. It encodes the
@@ -866,8 +866,8 @@ Table of Contents
instead MUST return a 2.01 (Created) response and set the topic in
the fully-created state (see Section 3.1).
- If the request does not have an acceptable content format, the server
- returns a 4.15 (Unsupported Content Format) response.
+ If the request does not have an acceptable content-format, the server
+ returns a 4.15 (Unsupported Content-Format) response.
If the client is sending publications too fast, the server returns a
4.29 (Too Many Requests) response [RFC8516].
@@ -1071,18 +1071,18 @@ Table of Contents
when these parameters are transported in the respective message
fields.
- +-----------------+-----------+--------------+------------+
- | Name | CBOR Key | CBOR Type | Reference |
- |-----------------|-----------|--------------|------------|
- | topic-name | TBD1 | tstr | [RFC-XXXX] |
- | topic-data | TBD2 | tstr | [RFC-XXXX] |
- | resource-type | TBD3 | tstr | [RFC-XXXX] |
- | media-type | TBD4 | uint (opt) | [RFC-XXXX] |
- | topic-type | TBD5 | tstr (opt) | [RFC-XXXX] |
- | expiration-date | TBD6 | tstr (opt) | [RFC-XXXX] |
- | max-subscribers | TBD7 | uint (opt) | [RFC-XXXX] |
- | observer-check | TBD8 | uint (opt) | [RFC-XXXX] |
- +-----------------+-----------+--------------+------------+
+ +-----------------+-----------+-----------+------------+
+ | Name | CBOR Key | CBOR Type | Reference |
+ |-----------------|-----------|-----------|------------|
+ | topic-name | TBD1 | tstr | [RFC-XXXX] |
+ | topic-data | TBD2 | tstr | [RFC-XXXX] |
+ | resource-type | TBD3 | tstr | [RFC-XXXX] |
+ | media-type | TBD4 | uint | [RFC-XXXX] |
+ | topic-type | TBD5 | tstr | [RFC-XXXX] |
+ | expiration-date | TBD6 | tstr | [RFC-XXXX] |
+ | max-subscribers | TBD7 | uint | [RFC-XXXX] |
+ | observer-check | TBD8 | uint | [RFC-XXXX] |
+ +-----------------+-----------+-----------+------------+
Figure 5: CoAP Pubsub Parameters
@@ -1161,12 +1161,10 @@ Table of Contents
Security considerations: Section 5 of RFC XXXX
Interoperability considerations: none
Published specification: Section 6.1 of RFC XXXX
- Applications that use this media type: Clients and servers in the
- Internet of Things
- Fragment identifier considerations: The syntax and semantics of
- fragment identifiers is as specified for "application/cbor". (At
- publication of RFC XXXX, there is no fragment identification
- syntax defined for "application/cbor".)
+ Applications that use this media type: This type is used by clients
+ that create, retrieve, and update topic configurations at servers
+ acting as a pub-sub broker.
+ Fragment identifier considerations: N/A
Person & email address to contact for further information: CoRE WG
mailing list (core@ietf.org), or IETF Applications and Real-Time
Area (art@ietf.org)
@@ -1175,7 +1173,7 @@ Table of Contents
Author/Change controller: IETF
Provisional registration: no
-6.2. Content Format
+6.2. Content-Format
IANA has added the following Content-Formats to the "CoAP
Content-Formats" sub-registry, within the "Constrained RESTful
@@ -1183,7 +1181,7 @@ Table of Contents
follows:
+=========================+================+======+===========+
- | Content-Type | Content Coding | ID | Reference |
+ | Content Type | Content Coding | ID | Reference |
+=========================+================+======+===========+
| application/pubsub+cbor | - | TBD9 | RFC XXXX |
+-------------------------+----------------+------+-----------+
@@ -1192,16 +1190,41 @@ Table of Contents
TBD9 is to be assigned from the space 256..999.
- In the registry the column "Content-Type" is called "Media type" and
- the column "Content Coding" is called "Encoding".
- // This paragraph to be removed by RFC editor.
-
6.3. CoAP Pubsub Parameters
IANA is asked to register the following entries in the subregistry of
the "Constrained RESTful Environments (CoRE) Parameters" registry
group.
+ This specification establishes the "Pubsub Topic Configuration
+ Parameters" IANA registry within the "Constrained RESTful
+ Environments (CoRE) Parameters" registry group.
+
+ The columns of this registry are:
+
+ * Name: This is a descriptive name that enables easier reference to
+ the item. The name MUST be unique. It is not used in the
+ encoding.
+
+ * CBOR Key: This is the value used as CBOR key of the item. These
+ values MUST be unique. The value can be a positive integer, a
+ negative integer, or a text string. Different ranges of values
+ use different registration policies [RFC8126]. Integer values
+ from -256 to 255 as well as text strings of length 1 are
+ designated as "Standards Action With Expert Review". Integer
+ values from -65536 to -257 and from 256 to 65535, as well as text
+ strings of length 2 are designated as "Specification Required".
+ Integer values greater than 65535 as well as text strings of
+ length greater than 2 are designated as "Expert Review". Integer
+ values less than -65536 are marked as "Private Use".
+
+ * CBOR Type: This contains the CBOR type of the item, or a pointer
+ to the registry that defines its type, when that depends on
+ another item.
+
+ * Reference: This contains a pointer to the public specification for
+ the item.
+
The registry is initially populated with the entries in Figure 5 of
Section 4.
@@ -1330,6 +1353,11 @@ Informative References
September 2023, .
+ [RFC8126] Cotton, M., Leiba, B., and T. Narten, "Guidelines for
+ Writing an IANA Considerations Section in RFCs", BCP 26,
+ RFC 8126, DOI 10.17487/RFC8126, June 2017,
+ .
+
[RFC8288] Nottingham, M., "Web Linking", RFC 8288,
DOI 10.17487/RFC8288, October 2017,
.
@@ -1341,8 +1369,8 @@ Contributors
Email: marco.tiloca@ri.se
- Marco provided thorough reviews and guidance on the last versions of
- this document.
+ Marco provided very thorough reviews and guidance on the last
+ versions of this document.
Authors' Addresses