expliot.plugins.coap.discover

Test for getting data from a CoAP device.

Module Contents

Classes

Discover

Test for discovering and listing resources available on a CoAP server

class expliot.plugins.coap.discover.Discover

Bases: 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

},

]

execute()

Execute the test.