:py:mod:`expliot.plugins.coap.discover` ======================================= .. py:module:: expliot.plugins.coap.discover .. autoapi-nested-parse:: Test for getting data from a CoAP device. Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: expliot.plugins.coap.discover.Discover .. py:class:: Discover Bases: :py:obj:`expliot.core.tests.test.Test` Test for discovering and listing resources available on a CoAP server Output Format: [ { "path": "/foo", # Only Path key is mandatory. "ct": "0", "rt": "observe", "title": "Foo Bar Title" }, #... { "path": "/bar", # Only Path key is mandatory. "sz": "0", "if": "Foo If", }, # ...May be more than one resource entries. Please note # that only the "path" key is mandatory i.e. will be present # in all, other attributes may or may not be present depending # on what was advertised by the CoAP server { "total_resources": 35 }, ] .. py:method:: execute() Execute the test.