Skip to content

Commit 81d0308

Browse files
committedFeb 25, 2025
#61 merge
1 parent da388af commit 81d0308

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed
 

‎draft-ietf-core-coap-pubsub.md

+4-12
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,7 @@ This document describes a publish-subscribe architecture for the Constrained App
7373

7474
# Introduction {#introduction}
7575

76-
The Constrained Application Protocol (CoAP) {{RFC7252}} supports
77-
machine-to-machine communication across networks of constrained
78-
devices and constrained networks. CoAP uses a request/response model where clients make requests to servers in order to request actions on resources. Depending on the situation the same device may act either as a server, a client, or both.
79-
76+
The Constrained Application Protocol (CoAP) {{RFC7252}} supports machine-to-machine communication across networks of constrained devices and constrained networks. CoAP uses a request/response model where clients make requests to servers in order to request actions on resources. Depending on the situation the same device may act either as a server, a client, or both.
8077
One important class of constrained devices includes devices that are intended to run for years from a small battery, or by scavenging energy from their environment. These devices have limited up-time because they spend most of their time in a sleeping state with no network connectivity. Another important class of nodes are devices with limited reachability due to middle-boxes like Network Address Translators (NATs) and firewalls.
8178

8279
For these nodes, the client/server-oriented architecture of REST can be challenging when interactions are not initiated by the devices themselves. A publish/subscribe-oriented architecture where nodes exchange data via topics through a broker entity might fit these nodes better.
@@ -162,8 +159,7 @@ Topic-data interactions are publish, subscribe, unsubscribe, read, and delete. T
162159

163160
The Broker exports one or more topic collection resources, with resource type "core.ps.coll" defined in {{iana}} of this document. The interfaces for the topic collection resource is defined in {{topic-collection-interactions}}.
164161

165-
A topic collection resource can have topic resources as its child resources, with resource type "core.ps.conf".
166-
Other child resource types are currently not defined for a topic collection resource.
162+
A topic collection resource can have topic resources as its child resources, with resource type "core.ps.conf". Other child resource types are currently not defined for a topic collection resource.
167163

168164
# PubSub Topics {#topics}
169165

@@ -378,12 +374,8 @@ Example:
378374

379375
### Getting topics by Properties {#topic-get-properties}
380376

381-
A client can filter a collection of topics by submitting the
382-
representation of a topic filter (see {{topic-fetch-resource}}) in a FETCH request to the topic collection URI.
383-
384-
On success, the broker returns a 2.05 (Content) response with a
385-
representation of a list of topics in the collection (see
386-
{{topic-discovery}}) that match the filter in CoRE link format {{RFC6690}}.
377+
A client can filter a collection of topics by submitting the representation of a topic filter (see {{topic-fetch-resource}}) in a FETCH request to the topic collection URI.
378+
On success, the broker returns a 2.05 (Content) response with a representation of a list of topics in the collection (see {{topic-discovery}}) that match the filter in CoRE link format {{RFC6690}}.
387379

388380
Upon success, the broker responds with a 2.05 (Content), providing a list of links to topic resources associated with this topic collection that match the request's filter criteria (refer to {{topic-discovery}}). A positive match happens only when each request parameter is present with the indicated value in the topic resource representation.
389381

0 commit comments

Comments
 (0)