/openthread-3.7.0/src/cli/ |
D | cli_srp_server.cpp | 75 OutputLine("unicast"); in Process() 79 OutputLine("anycast"); in Process() 151 OutputLine("%s", otSrpServerGetDomain(GetInstancePtr())); in Process() 194 OutputLine("%s", Stringify(otSrpServerGetState(GetInstancePtr()), kStateStrings)); in Process() 236 OutputLine("min ttl: %lu", ToUlong(ttlConfig.mMinTtl)); in Process() 237 OutputLine("max ttl: %lu", ToUlong(ttlConfig.mMaxTtl)); in Process() 280 OutputLine("min lease: %lu", ToUlong(leaseConfig.mMinLease)); in Process() 281 OutputLine("max lease: %lu", ToUlong(leaseConfig.mMaxLease)); in Process() 282 OutputLine("min key-lease: %lu", ToUlong(leaseConfig.mMinKeyLease)); in Process() 283 OutputLine("max key-lease: %lu", ToUlong(leaseConfig.mMaxKeyLease)); in Process() [all …]
|
D | cli.cpp | 183 OutputLine("Error %u: %s", aError, otThreadErrorToString(aError)); in OutputResult() 195 OutputLine("Done"); in OutputResult() 199 OutputLine("Error %u: %s", aError, otThreadErrorToString(aError)); in OutputResult() 244 OutputLine("%s", otGetVersionString()); in Process() 259 OutputLine("%u", OPENTHREAD_API_VERSION); in Process() 327 … OutputLine("under diagnostics mode, execute 'diag stop' before running any other commands."); in ProcessLine() 411 OutputLine("%hu", otBorderAgentGetUdpPort(GetInstancePtr())); in Process() 435 OutputLine("%s", Stringify(otBorderAgentGetState(GetInstancePtr()), kStateStrings)); in Process() 490 OutputLine("%sactive", otBorderAgentIsEphemeralKeyActive(GetInstancePtr()) ? "" : "in"); in Process() 673 … OutputLine("PrefixManager: %s", kNat64State[otNat64GetPrefixManagerState(GetInstancePtr())]); in Process() [all …]
|
D | cli_mdns.cpp | 91 OutputLine("Host %s", aHost.mHostName); in OutputHost() 92 OutputLine(kIndentSize, "%u address:", aHost.mAddressesLength); in OutputHost() 100 OutputLine(kIndentSize, "ttl: %lu", ToUlong(aHost.mTtl)); in OutputHost() 105 OutputLine("Service %s for %s", aService.mServiceInstance, aService.mServiceType); in OutputService() 106 OutputLine(kIndentSize, "host: %s", aService.mHostName); in OutputService() 110 OutputLine(kIndentSize, "%u sub-type:", aService.mSubTypeLabelsLength); in OutputService() 114 OutputLine(kIndentSize * 2, "%s", aService.mSubTypeLabels[index]); in OutputService() 118 OutputLine(kIndentSize, "port: %u", aService.mPort); in OutputService() 119 OutputLine(kIndentSize, "priority: %u", aService.mPriority); in OutputService() 120 OutputLine(kIndentSize, "weight: %u", aService.mWeight); in OutputService() [all …]
|
D | cli_tcp.cpp | 85 tcpExample.OutputLine("%s:%d:%d: %s", file, line, level, str); in MbedTlsDebugOutput() 173 OutputLine("mbedtls_pk_parse_key returned %d", rv); in Process() 179 OutputLine("mbedtls_x509_crt_parse (1) returned %d", rv); in Process() 184 OutputLine("mbedtls_x509_crt_parse (2) returned %d", rv); in Process() 189 OutputLine("mbedtls_ssl_setup returned %d", rv); in Process() 437 OutputLine("mbedtls_ssl_config_defaults returned %d", rv); in Process() 553 OutputLine("Ongoing"); in Process() 557 OutputLine("Completed"); in Process() 562 OutputLine("Untested"); in Process() 833 OutputLine("TCP: Connection established"); in HandleTcpEstablished() [all …]
|
D | cli_dns.cpp | 140 OutputLine("ResponseTimeout: %lu ms", ToUlong(defaultConfig->mResponseTimeout)); in Process() 141 OutputLine("MaxTxAttempts: %u", defaultConfig->mMaxTxAttempts); in Process() 142 OutputLine("RecursionDesired: %s", in Process() 144 OutputLine("ServiceMode: %s", DnsConfigServiceModeToString(defaultConfig->mServiceMode)); in Process() 146 …OutputLine("Nat64Mode: %s", (defaultConfig->mNat64Mode == OT_DNS_NAT64_ALLOW) ? "allow" : "disallo… in Process() 149 …OutputLine("TransportProtocol: %s", (defaultConfig->mTransportProto == OT_DNS_TRANSPORT_UDP) ? "ud… in Process() 548 …OutputLine(aIndentSize, "Port:%d, Priority:%d, Weight:%d, TTL:%lu", aServiceInfo.mPort, aServiceIn… in OutputDnsServiceInfo() 550 OutputLine(aIndentSize, "Host:%s", aServiceInfo.mHostNameBuffer); in OutputDnsServiceInfo() 553 OutputLine(" TTL:%lu", ToUlong(aServiceInfo.mHostAddressTtl)); in OutputDnsServiceInfo() 567 OutputLine(" TTL:%lu", ToUlong(aServiceInfo.mTxtDataTtl)); in OutputDnsServiceInfo() [all …]
|
D | cli_network_data.cpp | 120 OutputLine(" %s %04x", PreferenceToString(aConfig.mPreference), aConfig.mRloc16); in OutputPrefix() 158 OutputLine(" %s %04x", PreferenceToString(aConfig.mPreference), aConfig.mRloc16); in OutputRoute() 173 OutputLine(" %04x", aConfig.mServerConfig.mRloc16); in OutputService() 191 OutputLine("%u", otNetDataGetLength(GetInstancePtr())); in Process() 213 OutputLine("%u", otNetDataGetMaxLength(GetInstancePtr())); in Process() 576 OutputLine("Prefixes:"); in OutputNetworkData() 586 OutputLine("Routes:"); in OutputNetworkData() 597 OutputLine("Services:"); in OutputNetworkData() 611 OutputLine("Contexts:"); in OutputNetworkData() 617 OutputLine(" %u %c", context.mContextId, context.mCompressFlag ? 'c' : '-'); in OutputNetworkData() [all …]
|
D | cli_bbr.cpp | 45 OutputLine("seqno: %u", aConfig.mSequenceNumber); in OutputConfig() 46 OutputLine("delay: %u secs", aConfig.mReregistrationDelay); in OutputConfig() 47 OutputLine("timeout: %lu secs", ToUlong(aConfig.mMlrTimeout)); in OutputConfig() 84 OutputLine(" %lu", ToUlong(listenerInfo.mTimeout)); in Process() 349 OutputLine("%s", Stringify(otBackboneRouterGetState(GetInstancePtr()), kStateStrings)); in Process() 459 OutputLine("server16: 0x%04X", config.mServer16); in Process() 464 OutputLine(" None"); in Process()
|
D | cli_joiner.cpp | 67 …OutputLine("0x%lx/%u", static_cast<unsigned long>(discerner->mValue & 0xffffffff), discerner->mLen… in Process() 71 OutputLine("0x%lx%08lx/%u", static_cast<unsigned long>(discerner->mValue >> 32), in Process() 212 OutputLine("%s", otJoinerStateToString(otJoinerGetState(GetInstancePtr()))); in Process() 271 OutputLine("Join success"); in HandleCallback() 275 OutputLine("Join failed [%s]", otThreadErrorToString(aError)); in HandleCallback()
|
D | cli_history.cpp | 175 OutputLine("| %20s | %-7s | %-43s | %-6s | %3d | %c | %c | %c |", ageString, in Process() 182 …OutputLine("%s -> event:%s address:%s prefixlen:%d origin:%s scope:%d preferred:%s valid:%s rloc:%… in Process() 289 …OutputLine(isList ? "%s -> event:%s address:%s origin:%s" : "| %20s | %-12s | %-39s | %-6s |", age… in Process() 411 …OutputLine(isList ? " rloc16:0x%04x mode:%s rss:%d" : " | 0x%04x | %-4s | %7d |", info->mRloc16, l… in Process() 574 OutputLine(isList ? " new-cost:%u" : " %3u |", info->mPathCost); in Process() 578 OutputLine(isList ? " new-cost:inf" : " inf |"); in Process() 674 OutputLine( in Process() 1184 OutputLine("%s", ageString); in OutputRxTxEntryListFormat() 1197 …OutputLine(" %s:0x%04x radio:%s", aIsRx ? "from" : "to", aInfo.mNeighborRloc16, RadioTypeToString(… in OutputRxTxEntryListFormat() 1240 OutputLine("| %5.5s |", RadioTypeToString(aInfo)); in OutputRxTxEntryTableFormat() [all …]
|
D | cli_srp_client.cpp | 223 OutputLine("%s", (name != nullptr) ? name : "(null)"); in Process() 270 … OutputLine("%s", otSrpClientItemStateToString(otSrpClientGetHostInfo(GetInstancePtr())->mState)); in Process() 299 OutputLine("auto"); in Process() 533 OutputLine("%u", serverSockAddr->mPort); in Process() 798 OutputLine("auto"); in OutputHostInfo() 814 OutputLine("]"); in OutputHostInfo() 839 …OutputLine("\", state:%s, port:%d, priority:%d, weight:%d", otSrpClientItemStateToString(aService.… in OutputService() 952 OutputLine("SRP client callback - error:%s", otThreadErrorToString(aError)); in HandleCallback() 953 OutputLine("Host info:"); in HandleCallback() 956 OutputLine("Service list:"); in HandleCallback() [all …]
|
D | cli_coap.cpp | 213 OutputLine("%s", mResource.mUriPath != nullptr ? mResource.mUriPath : ""); in Process() 280 OutputLine("%s", mResourceContent); in Process() 422 OutputLine("Transmission parameters for %s:", aArgs[0].GetCString()); in Process() 426 OutputLine("default"); in Process() 430 …OutputLine("ACK_TIMEOUT=%lu ms, ACK_RANDOM_FACTOR=%u/%u, MAX_RETRANSMIT=%u", ToUlong(txParameters-… in Process() 895 OutputLine("Undefined"); in HandleRequest() 921 OutputLine("Subscribing client"); in HandleRequest() 1011 OutputLine("coap send response error %d: %s", error, otThreadErrorToString(error)); in HandleRequest() 1017 OutputLine("coap response sent"); in HandleRequest() 1045 …OutputLine("coap receive notification response error %d: %s", aError, otThreadErrorToString(aError… in HandleNotificationResponse() [all …]
|
D | cli_link_metrics.cpp | 416 … OutputLine(" - PDU Counter: %lu (Count/Summation)", ToUlong(aMetricsValues->mPduCountValue)); in PrintLinkMetricsValue() 421 OutputLine(" - LQI: %u %s", aMetricsValues->mLqiValue, kLinkMetricsTypeAverage); in PrintLinkMetricsValue() 426 … OutputLine(" - Margin: %u (dB) %s", aMetricsValues->mLinkMarginValue, kLinkMetricsTypeAverage); in PrintLinkMetricsValue() 431 OutputLine(" - RSSI: %d (dBm) %s", aMetricsValues->mRssiValue, kLinkMetricsTypeAverage); in PrintLinkMetricsValue() 448 OutputLine("Link Metrics Report, status: %s", LinkMetricsStatusToStr(aStatus)); in HandleLinkMetricsReport() 470 OutputLine("Status: %s", LinkMetricsStatusToStr(aStatus)); in HandleLinkMetricsMgmtResponse()
|
D | cli_coap_secure.cpp | 140 OutputLine("%s", mResource.mUriPath != nullptr ? mResource.mUriPath : ""); in Process() 169 OutputLine("%s", mResourceContent); in Process() 339 OutputLine("%s", IsChecker(GetInstancePtr()) ? "yes" : "no"); in ProcessIsRequest() 795 OutputLine("coaps connected"); in HandleConnected() 799 OutputLine("coaps disconnected"); in HandleConnected() 856 OutputLine("Undefined"); in HandleRequest() 923 OutputLine("coaps send response error %d: %s", error, otThreadErrorToString(error)); in HandleRequest() 929 OutputLine("coaps response sent"); in HandleRequest() 944 OutputLine("coaps receive response error %d: %s", aError, otThreadErrorToString(aError)); in HandleResponse() 1007 OutputLine("received block: Num %i Len %i", aPosition / aBlockLength, aBlockLength); in BlockwiseReceiveHook() [all …]
|
D | cli_br.cpp | 140 OutputLine("%s", Stringify(otBorderRoutingGetState(GetInstancePtr()), kStateStrings)); in Process() 236 OutputLine(" prf:%s", PreferenceToString(preference)); in Process() 368 OutputLine(" prf:%s", PreferenceToString(preference)); in Process() 486 …OutputLine("%s", Stringify(otBorderRoutingDhcp6PdGetState(GetInstancePtr()), kDhcpv6PdStateStrings… in Process() 505 …OutputLine(" lifetime:%lu preferred:%lu", ToUlong(entry.mValidLifetime), ToUlong(entry.mPreferredL… in Process() 629 …OutputLine("%s", PreferenceToString(otBorderRoutingGetRouteInfoOptionPreference(GetInstancePtr()))… in Process() 682 OutputLine("%s", PreferenceToString(otBorderRoutingGetRoutePreference(GetInstancePtr()))); in Process()
|
D | cli_utils.hpp | 260 void OutputLine(const char *aFormat, ...) OT_TOOL_PRINTF_STYLE_FORMAT_ARG_CHECK(2, 3); 271 …void OutputLine(uint8_t aIndentSize, const char *aFormat, ...) OT_TOOL_PRINTF_STYLE_FORMAT_ARG_CHE… 531 OutputLine("%s", entry.mName); in OutputCommandTable() 587 OutputLine(FormatStringFor<ValueType>(), aGetHandler(GetInstancePtr())); in ProcessGet() 802 OutputLine(FormatStringFor<uint32_t>(), ToUlong(aGetHandler(GetInstancePtr()))); in ProcessGet() 813 OutputLine(FormatStringFor<int32_t>(), static_cast<long int>(aGetHandler(GetInstancePtr()))); in ProcessGet()
|
D | cli_mac_filter.cpp | 55 OutputLine("%s", AddressModeToString(otLinkFilterGetAddressMode(GetInstancePtr()))); in OutputFilter() 69 OutputLine("RssIn List:"); in OutputFilter() 78 OutputLine("Default rss: %d (lqi %u)", entry.mRssIn, in OutputFilter()
|
D | cli_commissioner.cpp | 508 OutputLine("%d", otCommissionerGetSessionId(GetInstancePtr())); in Process() 535 OutputLine("%s", otCommissionerGetId(GetInstancePtr())); in Process() 575 OutputLine("Commissioner: %s", StateToString(aState)); in HandleStateChanged() 664 OutputLine("%s", StateToString(otCommissionerGetState(GetInstancePtr()))); in Process() 731 OutputLine("Conflict: %04x, %08lx", aPanId, ToUlong(aChannelMask)); in HandlePanIdConflict()
|
D | cli_dataset.cpp | 183 void Dataset::OutputChannel(const otOperationalDataset &aDataset) { OutputLine("%u", aDataset.mChan… in OutputChannel() 203 OutputLine("0x%08lx", ToUlong(aDataset.mChannelMask)); in OutputChannelMask() 223 void Dataset::OutputDelay(const otOperationalDataset &aDataset) { OutputLine("%lu", ToUlong(aDatase… in OutputDelay() 304 void Dataset::OutputNetworkName(const otOperationalDataset &aDataset) { OutputLine("%s", aDataset.m… in OutputNetworkName() 322 void Dataset::OutputPanId(const otOperationalDataset &aDataset) { OutputLine("0x%04x", aDataset.mPa… in OutputPanId() 995 OutputLine(" %u", aSecurityPolicy.mVersionThresholdForRouting); in OutputSecurityPolicy() 1234 OutputLine("Dataset update complete: %s", otThreadErrorToString(aError)); in HandleDatasetUpdater()
|
D | cli_utils.cpp | 83 void Utils::OutputLine(const char *aFormat, ...) in OutputLine() function in ot::Cli::Utils 94 void Utils::OutputLine(uint8_t aIndentSize, const char *aFormat, ...) in OutputLine() function in ot::Cli::Utils 159 void Utils::OutputEnabledDisabledStatus(bool aEnabled) { OutputLine(aEnabled ? "Enabled" : "Disable… in OutputEnabledDisabledStatus() 411 OutputLine("|"); in OutputTableHeader() 427 OutputLine("+"); in OutputTableSeparator()
|
D | cli_tcat.cpp | 136 OutputLine("Set vendorIds:"); in Process() 146 OutputLine("%s", kVendorIdTypes[OT_TCAT_DEVICE_ID_EMPTY]); in Process()
|
D | cli_ping.cpp | 212 …OutputLine(": icmp_seq=%u hlim=%u time=%ums", aReply->mSequenceNumber, aReply->mHopLimit, aReply->… in HandlePingReply()
|
D | cli_udp.cpp | 473 OutputLine("%s", buf); in HandleUdpReceive()
|