QCoapResourceDiscoveryReply class holds the data of a CoAP reply for a resource discovery request. More…
This class is used for discovery requests. It emits the
discovered() signal if and when resources are discovered. When using a multicast address for discovery, the
discovered() signal will be emitted once for each response received.
QCoapResourceDiscoveryReply is a
QCoapReply that stores also a list of QCoapResources.
- class PySide6.QtCoap.QCoapResourceDiscoveryReply#
- PySide6.QtCoap.QCoapResourceDiscoveryReply.discovered(reply, resources)#
This signal is emitted whenever a CoAP resource is discovered.
reply parameter contains a pointer to the reply that has just been received, and
resources contains a list of resources that were discovered.
- Return type
Returns the list of resources.