Lines Matching refs:OutputLine

162             OutputLine("Error %u: %s", aError, otThreadErrorToString(aError));  in OutputResult()
174 OutputLine("Done"); in OutputResult()
178 OutputLine("Error %u: %s", aError, otThreadErrorToString(aError)); in OutputResult()
234 OutputLine("%s", otGetVersionString()); in Process()
249 OutputLine("%u", OPENTHREAD_API_VERSION); in Process()
352OutputLine("under diagnostics mode, execute 'diag stop' before running any other commands."); in ProcessLine()
431 OutputLine("%s", string); in Process()
459 OutputLine("%hu", otBorderAgentGetUdpPort(GetInstancePtr())); in Process()
483 OutputLine("%s", Stringify(otBorderAgentGetState(GetInstancePtr()), kStateStrings)); in Process()
552 OutputLine("%sactive", otBorderAgentIsEphemeralKeyActive(GetInstancePtr()) ? "" : "in"); in Process()
699 OutputLine("%s: %lu", counter.mName, ToUlong(aCounters.*counter.mValuePtr)); in OutputBorderAgentCounters()
798OutputLine("PrefixManager: %s", kNat64State[otNat64GetPrefixManagerState(GetInstancePtr())]); in Process()
801 OutputLine("Translator: %s", kNat64State[otNat64GetTranslatorState(GetInstancePtr())]); in Process()
825 OutputLine("%s", cidrString); in Process()
994 OutputLine("| %23s |", Uint64ToString(errorCounters.mCount6To4[i], u64StringBuffer)); in Process()
1015 OutputLine("| %12s |", Uint64ToString(aCounters.m6To4Bytes, u64StringBuffer)); in OutputNat64Counters()
1175 OutputLine("total: %u", bufferInfo.mTotalBuffers); in Process()
1176 OutputLine("free: %u", bufferInfo.mFreeBuffers); in Process()
1177 OutputLine("max-used: %u", bufferInfo.mMaxUsedBuffers); in Process()
1181 OutputLine("%s: %u %u %lu", info.mName, (bufferInfo.*info.mQueuePtr).mNumMessages, in Process()
1233 OutputLine("%d dBm", cca); in Process()
1341 OutputLine("0x%lx", ToUlong(otPlatRadioGetSupportedChannelMask(GetInstancePtr()))); in Process()
1355 OutputLine("0x%lx", ToUlong(otPlatRadioGetPreferredChannelMask(GetInstancePtr()))); in Process()
1394 OutputLine("enabled: %d", otChannelMonitorIsEnabled(GetInstancePtr())); in Process()
1400OutputLine("interval: %lu", ToUlong(otChannelMonitorGetSampleInterval(GetInstancePtr()))); in Process()
1401 OutputLine("threshold: %d", otChannelMonitorGetRssiThreshold(GetInstancePtr())); in Process()
1402OutputLine("window: %lu", ToUlong(otChannelMonitorGetSampleWindow(GetInstancePtr()))); in Process()
1403 OutputLine("count: %lu", ToUlong(otChannelMonitorGetSampleCount(GetInstancePtr()))); in Process()
1405 OutputLine("occupancies:"); in Process()
1419 OutputLine("ch %u (0x%04x) %6s%% busy", channel, occupancy, in Process()
1490 OutputLine("channel: %u", otChannelManagerGetRequestedChannel(GetInstancePtr())); in Process()
1492OutputLine("auto: %d", otChannelManagerGetAutoChannelSelectionEnabled(GetInstancePtr())); in Process()
1495OutputLine("autocsl: %u", otChannelManagerGetAutoCslChannelSelectionEnabled(GetInstancePtr())); in Process()
1510 OutputLine("delay: %u", otChannelManagerGetDelay(GetInstancePtr())); in Process()
1512OutputLine("interval: %lu", ToUlong(otChannelManagerGetAutoChannelSelectionInterval(GetInstancePtr… in Process()
1513OutputLine("cca threshold: 0x%04x", otChannelManagerGetCcaFailureRateThreshold(GetInstancePtr())); in Process()
1514 OutputLine("supported: %s", supportedMask.ToString().AsCString()); in Process()
1515 OutputLine("favored: %s", favoredMask.ToString().AsCString()); in Process()
1791 OutputLine(" |"); in Process()
1837 OutputLine("Child ID: %u", childInfo.mChildId); in Process()
1838 OutputLine("Rloc: %04x", childInfo.mRloc16); in Process()
1844 OutputLine("Mode: %s", LinkModeToString(linkMode, linkModeString)); in Process()
1845 OutputLine("CSL Synchronized: %d ", childInfo.mIsCslSynced); in Process()
1846 OutputLine("Net Data: %u", childInfo.mNetworkDataVersion); in Process()
1847 OutputLine("Timeout: %lu", ToUlong(childInfo.mTimeout)); in Process()
1848 OutputLine("Age: %lu", ToUlong(childInfo.mAge)); in Process()
1849 OutputLine("Link Quality In: %u", childInfo.mLinkQualityIn); in Process()
1850 OutputLine("RSSI: %d", childInfo.mAverageRssi); in Process()
1851 OutputLine("Supervision Interval: %d", childInfo.mSupervisionInterval); in Process()
2015 OutputLine("%u", otChildSupervisionGetCheckFailureCounter(GetInstancePtr())); in Process()
2102 OutputLine("Stopped: %s", metrics.mStopped ? "true" : "false"); in Process()
2103 OutputLine("Grant Glitch: %lu", ToUlong(metrics.mNumGrantGlitch)); in Process()
2104 OutputLine("Transmit metrics"); in Process()
2108 OutputLine(kIndentSize, "%s: %lu", metric.mName, ToUlong(metrics.*metric.mValuePtr)); in Process()
2111 OutputLine("Receive metrics"); in Process()
2115 OutputLine(kIndentSize, "%s: %lu", metric.mName, ToUlong(metrics.*metric.mValuePtr)); in Process()
2177OutputLine(" Bytes %s", Uint64ToString((brCounters->*counter.mPacketsAndBytes).mBytes, uint64Strin… in OutputBorderRouterCounters()
2180 OutputLine("RA Rx: %lu", ToUlong(brCounters->mRaRx)); in OutputBorderRouterCounters()
2181 OutputLine("RA TxSuccess: %lu", ToUlong(brCounters->mRaTxSuccess)); in OutputBorderRouterCounters()
2182 OutputLine("RA TxFailed: %lu", ToUlong(brCounters->mRaTxFailure)); in OutputBorderRouterCounters()
2183 OutputLine("RS Rx: %lu", ToUlong(brCounters->mRsRx)); in OutputBorderRouterCounters()
2184 OutputLine("RS TxSuccess: %lu", ToUlong(brCounters->mRsTxSuccess)); in OutputBorderRouterCounters()
2185 OutputLine("RS TxFailed: %lu", ToUlong(brCounters->mRsTxFailure)); in OutputBorderRouterCounters()
2208 OutputLine("br"); in Process()
2210 OutputLine("ip"); in Process()
2211 OutputLine("mac"); in Process()
2212 OutputLine("mle"); in Process()
2350 OutputLine("TxTotal: %lu", ToUlong(macCounters->mTxTotal)); in Process()
2354OutputLine(kIndentSize, "%s: %lu", counter.mName, ToUlong(macCounters->*counter.mValuePtr)); in Process()
2357 OutputLine("RxTotal: %lu", ToUlong(macCounters->mRxTotal)); in Process()
2361OutputLine(kIndentSize, "%s: %lu", counter.mName, ToUlong(macCounters->*counter.mValuePtr)); in Process()
2430 OutputLine("%s: %u", counter.mName, mleCounters->*counter.mValuePtr); in Process()
2511 OutputLine("%s: %lu", counter.mName, ToUlong(ipCounters->*counter.mValuePtr)); in Process()
2564 OutputLine("channel: %u", otLinkGetCslChannel(GetInstancePtr())); in Process()
2565 OutputLine("period: %luus", ToUlong(otLinkGetCslPeriod(GetInstancePtr()))); in Process()
2566 OutputLine("timeout: %lus", ToUlong(otLinkGetCslTimeout(GetInstancePtr()))); in Process()
2637 OutputLine("%lu", ToUlong((otDatasetGetDelayTimerMinimal(GetInstancePtr()) / 1000))); in Process()
2715 OutputLine("Finished detaching"); in HandleDetachGracefullyResult()
2965 OutputLine("%d", otLoggingGetLevel()); in Process()
3146 OutputLine("LNA gain %d dBm", lnaGain); in Process()
3165 OutputLine("%d", lnaGain); in Process()
3216 OutputLine("up"); in Process()
3220 OutputLine("down"); in Process()
3270 OutputLine("%lu", ToUlong(otInstanceGetId(GetInstancePtr()))); in Process()
3607 OutputLine("Partition ID: %lu", ToUlong(leaderData.mPartitionId)); in Process()
3608 OutputLine("Weighting: %u", leaderData.mWeighting); in Process()
3609 OutputLine("Data Version: %u", leaderData.mDataVersion); in Process()
3610 OutputLine("Stable Data Version: %u", leaderData.mStableDataVersion); in Process()
3611 OutputLine("Leader Router ID: %u", leaderData.mLeaderRouterId); in Process()
3635 OutputLine("%lu", ToUlong(otThreadGetPartitionId(GetInstancePtr()))); in Process()
3725 OutputLine("PowerSupply : %s", Stringify(props->mPowerSupply, kPowerSupplyStrings)); in Process()
3726 OutputLine("IsBorderRouter : %s", props->mIsBorderRouter ? "yes" : "no"); in Process()
3727 OutputLine("SupportsCcm : %s", props->mSupportsCcm ? "yes" : "no"); in Process()
3728 OutputLine("IsUnstable : %s", props->mIsUnstable ? "yes" : "no"); in Process()
3729 OutputLine("WeightAdjustment : %d", props->mLeaderWeightAdjustment); in Process()
3846OutputLine(", LinkMargin:%u, Rssi:%d", linkMetricsValues.mLinkMarginValue, linkMetricsValues.mRssi… in Process()
3890 OutputLine(otThreadIsAnycastLocateInProgress(GetInstancePtr()) ? "In Progress" : "Idle"); in Process()
3940 OutputLine(" 0x%04x", aRloc16); in HandleLocateResult()
4035 OutputLine("0x%08lx", ToUlong(otThreadGetPskcRef(GetInstancePtr()))); in Process()
4207 OutputLine("status %d, %d failed", aMlrStatus, aFailedAddressNum); in HandleMlrRegResult()
4231 OutputLine("%s", LinkModeToString(otThreadGetLinkMode(GetInstancePtr()), linkModeString)); in Process()
4313 OutputLine("]"); in Process()
4400 OutputLine("]"); in OutputMultiRadioInfo()
4466 OutputLine(" | %7d |", neighborInfo.mVersion); in Process()
4521 OutputLine("| %5lu |", ToUlong(neighborInfo.mAge)); in Process()
4593 OutputLine(" | %16s |", string); in Process()
4599OutputLine(" age:%lu conn-time:%lu", ToUlong(neighborInfo.mAge), ToUlong(neighborInfo.mConnectionT… in Process()
4644 OutputLine("| %-47s |", string); in Process()
4834 OutputLine("0x%08lx", ToUlong(otThreadGetNetworkKeyRef(GetInstancePtr()))); in Process()
4910 OutputLine(" (unsynchronized)"); in Process()
4914 OutputLine(" (resync needed)"); in Process()
4918 OutputLine(" (synchronized)"); in Process()
4925 OutputLine("Time Sync Period: %us", otNetworkTimeGetSyncPeriod(GetInstancePtr())); in Process()
4926 OutputLine("XTAL Threshold: %uppm", otNetworkTimeGetXtalThreshold(GetInstancePtr())); in Process()
5021 OutputLine("%4u | %4u |", nextHopRloc16 >> kRouterIdOffset, pathCost); in Process()
5025 OutputLine("%4s | %4s |", "-", "-"); in Process()
5049 OutputLine("0x%04x cost:%u", nextHopRloc16, pathCost); in Process()
5079 OutputLine("0x%04x", otLinkGetPanId(GetInstancePtr())); in Process()
5133 OutputLine("Rloc: %x", parentInfo.mRloc16); in Process()
5134 OutputLine("Link Quality In: %u", parentInfo.mLinkQualityIn); in Process()
5135 OutputLine("Link Quality Out: %u", parentInfo.mLinkQualityOut); in Process()
5136 OutputLine("Age: %lu", ToUlong(parentInfo.mAge)); in Process()
5137 OutputLine("Version: %u", parentInfo.mVersion); in Process()
5139 OutputLine("CSL clock accuracy: %u", parentInfo.mCslClockAccuracy); in Process()
5140 OutputLine("CSL uncertainty: %u", parentInfo.mCslUncertainty); in Process()
5199 OutputLine("%u %u", minRouterId, maxRouterId); in Process()
5266 OutputLine("%s", OPENTHREAD_CONFIG_PLATFORM_INFO); in Process()
5366 OutputLine("%s", info.mLine); in HandleLinkPcapReceive()
5520 OutputLine("%s Time: %lu.%06lus (%lu.%02lu%%)", aTimeName, UsToSInt(aTimeUs), UsToSDec(aTimeUs), in OutputRadioStatsTime()
5576 OutputLine("Total Time is 0!"); in Process()
5580 OutputLine("Radio Statistics:"); in Process()
5581OutputLine("Total Time: %lu.%03lus", ToUlong(static_cast<uint32_t>(totalTimeUs / 1000000)), in Process()
5630 OutputLine("%s", version); in Process()
5659 OutputLine("%c%c", regionCode >> 8, regionCode & 0xff); in Process()
5718 OutputLine("%04x", otThreadGetRloc16(GetInstancePtr())); in Process()
5869 OutputLine(" | %4d |", routerInfo.mLinkEstablished); in Process()
5920 OutputLine("Alloc: %d", routerInfo.mAllocated); in Process()
5924 OutputLine("Router ID: %u", routerInfo.mRouterId); in Process()
5925 OutputLine("Rloc: %04x", routerInfo.mRloc16); in Process()
5926 OutputLine("Next Hop: %04x", static_cast<uint16_t>(routerInfo.mNextHop) << 10); in Process()
5927 OutputLine("Link: %d", routerInfo.mLinkEstablished); in Process()
5933 OutputLine("Cost: %u", routerInfo.mPathCost); in Process()
5934 OutputLine("Link Quality In: %u", routerInfo.mLinkQualityIn); in Process()
5935 OutputLine("Link Quality Out: %u", routerInfo.mLinkQualityOut); in Process()
5936 OutputLine("Age: %u", routerInfo.mAge); in Process()
6192 OutputLine("| %3u |", aResult->mLqi); in HandleActiveScanResult()
6211 OutputLine("| %2u | %4d |", aResult->mChannel, aResult->mMaxRssi); in HandleEnergyScanResult()
6233 OutputLine(otThreadIsSingleton(GetInstancePtr()) ? "true" : "false"); in Process()
6314OutputLine("SNTP response - Unix time: %lu (era: %lu)", ToUlong(static_cast<uint32_t>(aTime)), in HandleSntpResponse()
6319 OutputLine("SNTP error - %s", otThreadErrorToString(aResult)); in HandleSntpResponse()
6336 OutputLine("client"); in Process()
6339 OutputLine("server"); in Process()
6399 OutputLine("%s", otThreadDeviceRoleToString(otThreadGetDeviceRole(GetInstancePtr()))); in Process()
6470 OutputLine("%u", otThreadGetVersion()); in Process()
6573 OutputLine(" | %7lu |", ToUlong(histogram[index])); in Process()
6589 OutputLine("%lu", ToUlong(otThreadGetMaxTimeInQueue(GetInstancePtr()))); in Process()
6640 OutputLine("%d dBm", power); in Process()
6765 OutputLine("$ %s", commandString); in Process()
6885 OutputLine("%s", string); in Process()
6966 OutputLine("0x%04x", otLinkGetAlternateShortAddress(GetInstancePtr())); in Process()
7206 OutputLine(" | %-48s |", string); in Process()
7257 OutputLine("%hu", otTrelGetUdpPort(GetInstancePtr())); in Process()
7273 OutputLine("Bytes %s", Uint64ToString(aCounters.mRxBytes, u64StringBuffer)); in OutputTrelCounters()
7277 OutputLine("Failures %s", Uint64ToString(aCounters.mTxFailure, u64StringBuffer)); in OutputTrelCounters()
7575 OutputLine("Rloc16: 0x%04x", diagTlv.mData.mAddr16); in HandleDiagnosticGetResponse()
7578 OutputLine("Mode:"); in HandleDiagnosticGetResponse()
7582 OutputLine("Timeout: %lu", ToUlong(diagTlv.mData.mTimeout)); in HandleDiagnosticGetResponse()
7585 OutputLine("Connectivity:"); in HandleDiagnosticGetResponse()
7589 OutputLine("Route:"); in HandleDiagnosticGetResponse()
7593 OutputLine("Leader Data:"); in HandleDiagnosticGetResponse()
7601 OutputLine("IP6 Address List:"); in HandleDiagnosticGetResponse()
7609 OutputLine("MAC Counters:"); in HandleDiagnosticGetResponse()
7613 OutputLine("MLE Counters:"); in HandleDiagnosticGetResponse()
7617 OutputLine("Battery Level: %u%%", diagTlv.mData.mBatteryLevel); in HandleDiagnosticGetResponse()
7620 OutputLine("Supply Voltage: %umV", diagTlv.mData.mSupplyVoltage); in HandleDiagnosticGetResponse()
7623 OutputLine("Child Table:"); in HandleDiagnosticGetResponse()
7633 OutputLine("'"); in HandleDiagnosticGetResponse()
7636 OutputLine("Max Child Timeout: %lu", ToUlong(diagTlv.mData.mMaxChildTimeout)); in HandleDiagnosticGetResponse()
7643 OutputLine("Vendor Name: %s", diagTlv.mData.mVendorName); in HandleDiagnosticGetResponse()
7646 OutputLine("Vendor Model: %s", diagTlv.mData.mVendorModel); in HandleDiagnosticGetResponse()
7649 OutputLine("Vendor SW Version: %s", diagTlv.mData.mVendorSwVersion); in HandleDiagnosticGetResponse()
7652 OutputLine("Vendor App URL: %s", diagTlv.mData.mVendorAppUrl); in HandleDiagnosticGetResponse()
7655 OutputLine("Thread Stack Version: %s", diagTlv.mData.mThreadStackVersion); in HandleDiagnosticGetResponse()
7668 OutputLine(aIndentSize, "RxOnWhenIdle: %d", aMode.mRxOnWhenIdle); in OutputMode()
7669 OutputLine(aIndentSize, "DeviceType: %d", aMode.mDeviceType); in OutputMode()
7670 OutputLine(aIndentSize, "NetworkData: %d", aMode.mNetworkData); in OutputMode()
7675 OutputLine(aIndentSize, "ParentPriority: %d", aConnectivity.mParentPriority); in OutputConnectivity()
7676 OutputLine(aIndentSize, "LinkQuality3: %u", aConnectivity.mLinkQuality3); in OutputConnectivity()
7677 OutputLine(aIndentSize, "LinkQuality2: %u", aConnectivity.mLinkQuality2); in OutputConnectivity()
7678 OutputLine(aIndentSize, "LinkQuality1: %u", aConnectivity.mLinkQuality1); in OutputConnectivity()
7679 OutputLine(aIndentSize, "LeaderCost: %u", aConnectivity.mLeaderCost); in OutputConnectivity()
7680 OutputLine(aIndentSize, "IdSequence: %u", aConnectivity.mIdSequence); in OutputConnectivity()
7681 OutputLine(aIndentSize, "ActiveRouters: %u", aConnectivity.mActiveRouters); in OutputConnectivity()
7682 OutputLine(aIndentSize, "SedBufferSize: %u", aConnectivity.mSedBufferSize); in OutputConnectivity()
7683 OutputLine(aIndentSize, "SedDatagramCount: %u", aConnectivity.mSedDatagramCount); in OutputConnectivity()
7687 OutputLine(aIndentSize, "IdSequence: %u", aRoute.mIdSequence); in OutputRoute()
7688 OutputLine(aIndentSize, "RouteData:"); in OutputRoute()
7700 OutputLine("RouteId: 0x%02x", aRouteData.mRouterId); in OutputRouteData()
7702 OutputLine(aIndentSize, "LinkQualityOut: %u", aRouteData.mLinkQualityOut); in OutputRouteData()
7703 OutputLine(aIndentSize, "LinkQualityIn: %u", aRouteData.mLinkQualityIn); in OutputRouteData()
7704 OutputLine(aIndentSize, "RouteCost: %u", aRouteData.mRouteCost); in OutputRouteData()
7709 OutputLine(aIndentSize, "PartitionId: 0x%08lx", ToUlong(aLeaderData.mPartitionId)); in OutputLeaderData()
7710 OutputLine(aIndentSize, "Weighting: %u", aLeaderData.mWeighting); in OutputLeaderData()
7711 OutputLine(aIndentSize, "DataVersion: %u", aLeaderData.mDataVersion); in OutputLeaderData()
7712 OutputLine(aIndentSize, "StableDataVersion: %u", aLeaderData.mStableDataVersion); in OutputLeaderData()
7713 OutputLine(aIndentSize, "LeaderRouterId: 0x%02x", aLeaderData.mLeaderRouterId); in OutputLeaderData()
7738 OutputLine(aIndentSize, "%s: %lu", counter.mName, ToUlong(aMacCounters.*counter.mValuePtr)); in OutputNetworkDiagMacCounters()
7779 OutputLine(aIndentSize, "%s: %u", counter.mName, aMleCounters.*counter.mValuePtr); in OutputNetworkDiagMleCounters()
7791 OutputLine("ChildId: 0x%04x", aChildEntry.mChildId); in OutputChildTableEntry()
7793 OutputLine(aIndentSize, "Timeout: %u", aChildEntry.mTimeout); in OutputChildTableEntry()
7794 OutputLine(aIndentSize, "Link Quality: %u", aChildEntry.mLinkQuality); in OutputChildTableEntry()
7795 OutputLine(aIndentSize, "Mode:"); in OutputChildTableEntry()
7810 OutputLine(": version=%u,joiner=%d", aInfo.mVersion, aInfo.mIsJoiner); in HandleDiscoveryRequest()
7846 OutputLine("%c", checksum); in Process()
7928 OutputLine("interval: %luus", ToUlong(interval)); in Process()
7929 OutputLine("duration: %luus", ToUlong(duration)); in Process()
8349 OutputLine("%s", entry.mCommands[i].mName); in ProcessCommand()