← Back to the chapter · Previous detail · Next detail →

Technical detail · CoAP Advanced Features

Filtered and group discovery

CoAP resource discovery lists the resource links a server chooses to advertise at /.well-known/core.

16.5.3 Filtered Discovery

16.5.4 Multicast Discovery

A discovery query can request selected resource types rather than the full advertised inventory. The resource-type attribute is rt; the temperature filter uses rt=temperature. Multicast discovery sends a Non-confirmable GET (a request to retrieve data) to the link-local CoAP multicast group and /.well-known/core. Non-confirmable means there is no message-layer acknowledgement or automatic Confirmable retry. Each server returns its own unicast response, addressed to the requester alone, after a randomized Leisure delay that spreads group replies over time. This avoids an acknowledgement storm and spreads replies, but the resulting inventory is not proof of reliable group command delivery.

← Back to the chapter · Previous detail · Next detail →