Home
last modified time | relevance | path

Searched refs:OutputLine (Results 1 – 22 of 22) sorted by relevance

/openthread-3.7.0/src/cli/
Dcli_srp_server.cpp75 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 …]
Dcli.cpp183 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()
327OutputLine("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()
673OutputLine("PrefixManager: %s", kNat64State[otNat64GetPrefixManagerState(GetInstancePtr())]); in Process()
[all …]
Dcli_mdns.cpp91 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 …]
Dcli_tcp.cpp85 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 …]
Dcli_dns.cpp140 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()
146OutputLine("Nat64Mode: %s", (defaultConfig->mNat64Mode == OT_DNS_NAT64_ALLOW) ? "allow" : "disallo… in Process()
149OutputLine("TransportProtocol: %s", (defaultConfig->mTransportProto == OT_DNS_TRANSPORT_UDP) ? "ud… in Process()
548OutputLine(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 …]
Dcli_network_data.cpp120 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 …]
Dcli_bbr.cpp45 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()
Dcli_joiner.cpp67OutputLine("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()
Dcli_history.cpp175 OutputLine("| %20s | %-7s | %-43s | %-6s | %3d | %c | %c | %c |", ageString, in Process()
182OutputLine("%s -> event:%s address:%s prefixlen:%d origin:%s scope:%d preferred:%s valid:%s rloc:%… in Process()
289OutputLine(isList ? "%s -> event:%s address:%s origin:%s" : "| %20s | %-12s | %-39s | %-6s |", age… in Process()
411OutputLine(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()
1197OutputLine(" %s:0x%04x radio:%s", aIsRx ? "from" : "to", aInfo.mNeighborRloc16, RadioTypeToString(… in OutputRxTxEntryListFormat()
1240 OutputLine("| %5.5s |", RadioTypeToString(aInfo)); in OutputRxTxEntryTableFormat()
[all …]
Dcli_srp_client.cpp223 OutputLine("%s", (name != nullptr) ? name : "(null)"); in Process()
270OutputLine("%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()
839OutputLine("\", 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 …]
Dcli_coap.cpp213 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()
430OutputLine("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()
1045OutputLine("coap receive notification response error %d: %s", aError, otThreadErrorToString(aError… in HandleNotificationResponse()
[all …]
Dcli_link_metrics.cpp416OutputLine(" - PDU Counter: %lu (Count/Summation)", ToUlong(aMetricsValues->mPduCountValue)); in PrintLinkMetricsValue()
421 OutputLine(" - LQI: %u %s", aMetricsValues->mLqiValue, kLinkMetricsTypeAverage); in PrintLinkMetricsValue()
426OutputLine(" - 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()
Dcli_coap_secure.cpp140 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 …]
Dcli_br.cpp140 OutputLine("%s", Stringify(otBorderRoutingGetState(GetInstancePtr()), kStateStrings)); in Process()
236 OutputLine(" prf:%s", PreferenceToString(preference)); in Process()
368 OutputLine(" prf:%s", PreferenceToString(preference)); in Process()
486OutputLine("%s", Stringify(otBorderRoutingDhcp6PdGetState(GetInstancePtr()), kDhcpv6PdStateStrings… in Process()
505OutputLine(" lifetime:%lu preferred:%lu", ToUlong(entry.mValidLifetime), ToUlong(entry.mPreferredL… in Process()
629OutputLine("%s", PreferenceToString(otBorderRoutingGetRouteInfoOptionPreference(GetInstancePtr()))… in Process()
682 OutputLine("%s", PreferenceToString(otBorderRoutingGetRoutePreference(GetInstancePtr()))); in Process()
Dcli_utils.hpp260 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()
Dcli_mac_filter.cpp55 OutputLine("%s", AddressModeToString(otLinkFilterGetAddressMode(GetInstancePtr()))); in OutputFilter()
69 OutputLine("RssIn List:"); in OutputFilter()
78 OutputLine("Default rss: %d (lqi %u)", entry.mRssIn, in OutputFilter()
Dcli_commissioner.cpp508 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()
Dcli_dataset.cpp183 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()
Dcli_utils.cpp83 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()
Dcli_tcat.cpp136 OutputLine("Set vendorIds:"); in Process()
146 OutputLine("%s", kVendorIdTypes[OT_TCAT_DEVICE_ID_EMPTY]); in Process()
Dcli_ping.cpp212OutputLine(": icmp_seq=%u hlim=%u time=%ums", aReply->mSequenceNumber, aReply->mHopLimit, aReply->… in HandlePingReply()
Dcli_udp.cpp473 OutputLine("%s", buf); in HandleUdpReceive()