Home
last modified time | relevance | path

Searched refs:uri_path (Results 1 – 6 of 6) sorted by relevance

/openthread-latest/tests/scripts/thread-cert/
Dcoap.py209 uri_path=None, argument
218 self._uri_path = uri_path
253 def uri_path(self): member in CoapMessage
267 self.uri_path,
332 def uri_path(self): member in CoapMessageProxy
333 return self._coap_message.uri_path
346 self.uri_path,
356 def add_uri_path_for(self, message_id, token, uri_path): argument
357 self._uri_path_binds[message_id][hexlify(token)] = uri_path
410 uri_path = self._uri_path_from(options)
[all …]
Dtest_coap.py466 uri_path = any_uri_path()
476 uri_path,
480 actual_uri_path = coap_message.uri_path
483 self.assertEqual(uri_path, actual_uri_path)
492 uri_path = any_uri_path()
497 binder.add_uri_path_for(message_id, token, uri_path)
500 self.assertEqual(uri_path, binder.get_uri_path_for(message_id, token))
576 self.assertEqual("/a/as", coap_message.uri_path)
645 self.assertEqual(None, coap_message.uri_path)
Dmessage.py304 def assertCoapMessageRequestUriPath(self, uri_path): argument
308 assert uri_path == self.coap.uri_path
384 def next_coap_message(self, code, uri_path=None, assert_enabled=True): argument
393 if uri_path is not None and m.coap.uri_path != uri_path:
Dv1_2_test_multicast_listener_registration.py653 … logging.info('MLR.rsp %s uri_path=%s, payload=%s', rsp, rsp.coap.uri_path, rsp.coap.payload)
675 …g.info('Check ACK for %s: %s, %s, %s, %s', message_id, msg, msg.coap.message_id, msg.coap.uri_path,
/openthread-latest/tests/scripts/thread-cert/pktverify/
Dpacket_filter.py380 def filter_coap_request(self, uri_path, port=None, confirmable=None, **kwargs): argument
389 assert isinstance(uri_path, str), uri_path
392 lambda p: (p.coap.is_post and p.coap.opt.uri_path_recon == uri_path and
396 def filter_coap_ack(self, uri_path, port=None, **kwargs): argument
405 assert isinstance(uri_path, str), uri_path
408 lambda p: (p.coap.is_ack and p.coap.opt.uri_path_recon == uri_path and
/openthread-latest/tools/otci/otci/
Dotci.py2461 def coap_get(self, addr: Union[str, Ip6Addr], uri_path: str, type: str = "con"):
2465 …def coap_put(self, addr: Union[str, Ip6Addr], uri_path: str, type: str = "con", payload: Optional[…
2473 …def coap_post(self, addr: Union[str, Ip6Addr], uri_path: str, type: str = "con", payload: Optional…
2481 …def coap_delete(self, addr: Union[str, Ip6Addr], uri_path: str, type: str = "con", payload: Option…