/openthread-3.7.0/tests/scripts/thread-cert/ |
D | test_coap_observe.py | 74 response = self.nodes[ROUTER].coap_observe(mleid, 'test', con=con) 76 first_observe = response['observe'] 78 self.assertEqual(response['payload'], 'Test123') 79 self.assertEqual(response['source'], mleid) 91 response = self.nodes[ROUTER].coap_wait_response() 92 self.assertGreater(response['observe'], first_observe) 93 self.assertEqual(response['payload'], content) 94 self.assertEqual(response['source'], mleid) 100 response = self.nodes[ROUTER].coap_wait_response() 101 self.assertIsNone(response['observe']) [all …]
|
D | test_coap_block.py | 75 response = self.nodes[ROUTER].coap_get_block(mleid, 'test', size=32) 76 response_payload = response['payload']
|
D | mle.py | 237 def __init__(self, response): argument 238 self._response = response 241 def response(self): member in Response 247 return self.response == other.response 250 return "Response(response={})".format(hexlify(self.response)) 256 response = data.read() 257 return Response(response)
|
D | command.py | 494 response=CheckType.OPTIONAL, 510 check_mle_optional_tlv(command_msg, response, mle.Response) 623 response = assert_contains_tlv(tlvs, CheckType.CONTAIN, mesh_cop.DiscoveryResponse) 626 assert response.version == config.THREAD_VERSION_1_1 628 assert response.version == config.THREAD_VERSION_1_2 634 check_type = (CheckType.CONTAIN if response.native_flag else CheckType.OPTIONAL)
|
D | test_mle.py | 561 response = any_response() 563 response_obj = mle.Response(response) 566 actual_response = response_obj.response 569 self.assertEqual(response, actual_response) 576 response = any_response() 580 data = response 587 self.assertEqual(response, actual_response.response)
|
/openthread-3.7.0/tools/tcat_ble_client/cli/ |
D | base_commands.py | 64 response = await bless.send_with_resp(data) 65 if not response: 67 tlv_response = TLV.from_bytes(response) 83 response = await bless.send_with_resp(data) 84 if not response: 86 tlv_response = TLV.from_bytes(response) 100 response = await bless.send_with_resp(data) 101 if not response: 103 tlv_response = TLV.from_bytes(response) 116 response = await bless.send_with_resp(data) [all …]
|
/openthread-3.7.0/src/core/coap/ |
D | coap.cpp | 797 Message *response = nullptr; in ProcessBlock1Request() local 814 VerifyOrExit((response = NewMessage()) != nullptr, error = kErrorFailed); in ProcessBlock1Request() 815 response->Init(kTypeAck, kCodeContinue); in ProcessBlock1Request() 816 response->SetMessageId(aMessage.GetMessageId()); in ProcessBlock1Request() 817 … IgnoreReturnValue(response->SetToken(AsConst(aMessage).GetToken(), aMessage.GetTokenLength())); in ProcessBlock1Request() 819 response->SetBlockWiseBlockNumber(aMessage.GetBlockWiseBlockNumber()); in ProcessBlock1Request() 820 response->SetMoreBlocksFlag(aMessage.IsMoreBlocksFlagSet()); in ProcessBlock1Request() 821 response->SetBlockWiseBlockSize(aMessage.GetBlockWiseBlockSize()); in ProcessBlock1Request() 823 …SuccessOrExit(error = response->AppendBlockOption(Message::kBlockType1, response->GetBlockWiseBloc… in ProcessBlock1Request() 824 response->IsMoreBlocksFlagSet(), in ProcessBlock1Request() [all …]
|
/openthread-3.7.0/tools/harness-simulation/harness/Thread_Harness/Sniffer/ |
D | SimSniffer.py | 259 …response = self._stub.Start(sniffer_pb2.StartRequest(channel=self.channel, includeEthernet=include… 260 if response.status != sniffer_pb2.OK: 261 raise RuntimeError('startSniffer error: %s' % sniffer_pb2.Status.Name(response.status)) 272 for response in self._stub.TransferPcapng(sniffer_pb2.TransferPcapngRequest()): 273 f.write(response.content) 281 response = self._stub.Stop(sniffer_pb2.StopRequest()) 282 if response.status != sniffer_pb2.OK: 283 raise RuntimeError('stopSniffer error: %s' % sniffer_pb2.Status.Name(response.status)) 297 response = self._stub.FilterNodes(request) 298 if response.status != sniffer_pb2.OK: [all …]
|
/openthread-3.7.0/src/core/net/ |
D | dns_client.cpp | 597 for (const Response *response = this; response != nullptr; response = response->mNext) in GetServiceInfo() local 599 Name name(*response->mQuery, kNameOffsetInQuery); in GetServiceInfo() 604 info.ReadFrom(*response->mQuery); in GetServiceInfo() 612 IgnoreError(response->FindHostAddress(kAnswerSection, name, /* aIndex */ 0, in GetServiceInfo() 638 error = response->ReadServiceInfo(srvSection, name, aServiceInfo); in GetServiceInfo() 647 SuccessOrExit(error = response->ReadTxtRecord(txtSection, name, aServiceInfo)); in GetServiceInfo() 666 for (const Response *response = this; response != nullptr; response = response->mNext) in GetHostAddress() local 671 info.ReadFrom(*response->mQuery); in GetHostAddress() 686 error = response->FindHostAddress(section, Name(aHostName), aIndex, aAddress, aTtl); in GetHostAddress() 1217 Response response; in FinalizeQuery() local [all …]
|
D | dnssd_server.cpp | 161 Response response(GetInstance()); in ProcessQuery() local 182 SuccessOrExit(response.AllocateAndInitFrom(aRequest)); in ProcessQuery() 191 SuccessOrExit(rcode = response.AddQuestionsFrom(aRequest)); in ProcessQuery() 194 response.Log(); in ProcessQuery() 198 switch (response.ResolveBySrp()) in ProcessQuery() 214 ResolveByProxy(response, *aRequest.mMessageInfo); in ProcessQuery() 219 response.SetResponseCode(rcode); in ProcessQuery() 222 response.Send(*aRequest.mMessageInfo); in ProcessQuery() 1113 Response response(GetInstance()); in HandleDiscoveredServiceInstance() local 1115 RemoveQueryAndPrepareResponse(query, info, response); in HandleDiscoveredServiceInstance() [all …]
|
D | srp_server.cpp | 1476 Message *response = nullptr; in SendResponse() local 1481 response = GetSocket().NewMessage(); in SendResponse() 1482 VerifyOrExit(response != nullptr, error = kErrorNoBufs); in SendResponse() 1488 SuccessOrExit(error = response->Append(header)); in SendResponse() 1490 SuccessOrExit(error = GetSocket().SendTo(*response, aMessageInfo)); in SendResponse() 1505 FreeMessageOnError(response, error); in SendResponse() 1515 Message *response = nullptr; in SendResponse() local 1521 response = GetSocket().NewMessage(); in SendResponse() 1522 VerifyOrExit(response != nullptr, error = kErrorNoBufs); in SendResponse() 1529 SuccessOrExit(error = response->Append(header)); in SendResponse() [all …]
|
D | dns_dso.cpp | 1029 Message *response = NewMessage(); in SendErrorResponse() local 1032 VerifyOrExit(response != nullptr); in SendErrorResponse() 1039 SuccessOrExit(response->Prepend(header)); in SendErrorResponse() 1041 otPlatDsoSend(this, response); in SendErrorResponse() 1042 response = nullptr; in SendErrorResponse() 1045 FreeMessage(response); in SendErrorResponse()
|
/openthread-3.7.0/src/posix/platform/ |
D | resolver.cpp | 190 char response[kMaxDnsMessageSize]; in ForwardResponse() local 195 VerifyOrExit((readSize = read(aTxn->mUdpFd, response, sizeof(response))) > 0); in ForwardResponse() 199 SuccessOrExit(error = otMessageAppend(message, response, readSize)); in ForwardResponse()
|
/openthread-3.7.0/src/cli/ |
D | README_COAP.md | 29 coap response from [fdde:ad00:beef:0:2780:9423:166c:1aac] with payload: 30 32 coap response from [fdde:ad00:beef:0:2780:9423:166c:1aac] 41 coap response sent 43 coap response sent 109 …non-con" for Non-confirmable (default). Use "block-<block-size>" if the response should be transfe… 138 - type: "request" for CoAP requests and "response" for CoAP responses.
|
D | README_COAPS.md | 52 coaps response from fdde:ad00:beef:0:9903:14b:27e0:5744 with payload: 68656c6c6f576f726c6400 55 coaps response from fdde:ad00:beef:0:9903:14b:27e0:5744 64 coaps response sent 66 coaps response sent 162 …non-con" for Non-confirmable (default). Use "block-<block-size>" if the response should be transfe…
|
D | README.md | 161 Configure the response status for DUA.req with meshLocalIid in payload. Without meshLocalIid, simpl… 226 ### bbr mgmt mlr response \<status\> 228 Configure the response status for the next MLR.req. 242 > bbr mgmt mlr response 2 1262 - Response timeout in msec (wait time to rx response) 1287 ### dns config \[DNS server IP\] \[DNS server port\] \[response timeout (ms)\] \[max tx attempts\] … 1331 ### dns resolve \<hostname\> \[DNS server IP\] \[DNS server port\] \[response timeout (ms)\] \[max … 1341 > DNS response for ipv6.google.com - 2a00:1450:401b:801:0:0:0:200e TTL: 300 1351 DNS response for example.com. - fd4c:9574:3720:2:0:0:5db8:d822 TTL:20456 1355 ### dns resolve4 \<hostname\> \[DNS server IP\] \[DNS server port\] \[response timeout (ms)\] \[max… [all …]
|
/openthread-3.7.0/third_party/mbedtls/repo/programs/ |
D | README.md | 65 …ple DTLS client program, which sends one datagram to the server and reads one datagram in response. 67 …, which expects one datagram from the client and writes one datagram in response. This program sup… 71 …c`](ssl/ssl_client1.c): a simple HTTPS client that sends a fixed request and displays the response. 73 ….c): a simple HTTPS server using one process per client to send a fixed response. This program req… 77 …r.c): a simple HTTPS server using one thread per client to send a fixed response. This program req… 79 * [`ssl/ssl_server.c`](ssl/ssl_server.c): a simple HTTPS server that sends a fixed response. It ser… 85 …client2.c): an HTTPS client that sends a fixed request and displays the response, with options to … 87 * [`ssl/ssl_server2.c`](ssl/ssl_server2.c): an HTTPS server that sends a fixed response, with optio…
|
/openthread-3.7.0/src/core/api/ |
D | coap_api.cpp | 58 Coap::Message &response = AsCoapMessage(aResponse); in otCoapMessageInitResponse() local 61 response.Init(MapEnum(aType), MapEnum(aCode)); in otCoapMessageInitResponse() 62 response.SetMessageId(request.GetMessageId()); in otCoapMessageInitResponse() 64 return response.SetTokenFromMessage(request); in otCoapMessageInitResponse()
|
/openthread-3.7.0/tests/scripts/expect/ |
D | tun-sntp.exp | 40 expect -re {SNTP response - Unix time: \d+ \(era: \d+\)}
|
/openthread-3.7.0/src/core/thread/ |
D | network_data_leader_ftd.cpp | 211 Coap::Message *response = nullptr; in HandleTmf() local 215 response = Get<Tmf::Agent>().NewPriorityResponseMessage(aMessage); in HandleTmf() 216 VerifyOrExit(response != nullptr); in HandleTmf() 233 SuccessOrExit(subTlv->AppendTo(*response)); in HandleTmf() 245 SuccessOrExit(response->AppendBytes(dataTlv->GetValue(), dataTlv->GetLength())); in HandleTmf() 249 SuccessOrExit(Get<Tmf::Agent>().SendMessage(*response, aMessageInfo)); in HandleTmf() 250 response = nullptr; // `SendMessage` takes ownership on success in HandleTmf() 255 FreeMessage(response); in HandleTmf()
|
D | network_diagnostic.cpp | 800 Coap::Message *response = nullptr; in HandleTmf() local 807 response = Get<Tmf::Agent>().NewResponseMessage(aMessage); in HandleTmf() 808 VerifyOrExit(response != nullptr, error = kErrorNoBufs); in HandleTmf() 810 IgnoreError(response->SetPriority(aMessage.GetPriority())); in HandleTmf() 811 SuccessOrExit(error = AppendRequestedTlvs(aMessage, *response)); in HandleTmf() 812 SuccessOrExit(error = Get<Tmf::Agent>().SendMessage(*response, aMessageInfo)); in HandleTmf() 815 FreeMessageOnError(response, error); in HandleTmf()
|
/openthread-3.7.0/tests/unit/ |
D | test_dns_client.cpp | 370 const Dns::Client::BrowseResponse &response = AsCoreType(aResponse); in BrowseCallback() local 382 …SuccessOrQuit(response.GetServiceName(sBrowseInfo.mServiceName, sizeof(sBrowseInfo.mServiceName))); in BrowseCallback() 390 error = response.GetServiceInstance(index, instLabel, sizeof(instLabel)); in BrowseCallback() 436 const Dns::Client::ServiceResponse &response = AsCoreType(aResponse); in ServiceCallback() local 445 …SuccessOrQuit(response.GetServiceName(instLabel, sizeof(instLabel), serviceName, sizeof(serviceNam… in ServiceCallback() 453 SuccessOrQuit(response.GetServiceInfo(sResolveServiceInfo.mInfo)); in ServiceCallback() 460 error = response.GetHostAddress(sResolveServiceInfo.mInfo.mHostNameBuffer, index, in ServiceCallback()
|
/openthread-3.7.0/src/core/meshcop/ |
D | tcat_agent.cpp | 364 bool response = false; in HandleSingleTlv() local 410 response = true; in HandleSingleTlv() 419 if (!response) in HandleSingleTlv()
|
/openthread-3.7.0/tools/harness-thci/ |
D | OpenThread_BR.py | 188 response = [] 199 return response 201 response.append(line)
|
D | OpenThread_WpanCtl.py | 228 response = [] 242 response.append(str(stderr_line.strip())) 251 response.append(str(stdout_line.strip())) 252 response.append(self.prompt) 253 return response 260 response.append(line) 273 return response
|