Home
last modified time | relevance | path

Searched refs:ToUlong (Results 1 – 25 of 62) sorted by relevance

123

/openthread-latest/src/cli/
Dcli_srp_server.cpp236 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()
472 OutputLine(kIndentSize, "ttl: %lu", ToUlong(otSrpServerServiceGetTtl(service))); in Process()
473 OutputLine(kIndentSize, "lease: %lu", ToUlong(leaseInfo.mLease / 1000)); in Process()
474 OutputLine(kIndentSize, "key-lease: %lu", ToUlong(leaseInfo.mKeyLease / 1000)); in Process()
Dcli.cpp699 OutputLine("%s: %lu", counter.mName, ToUlong(aCounters.*counter.mValuePtr)); in OutputBorderAgentCounters()
889 OutputFormat("| %08lx%08lx ", ToUlong(static_cast<uint32_t>(mapping.mId >> 32)), in Process()
890 ToUlong(static_cast<uint32_t>(mapping.mId & 0xffffffff))); in Process()
893 OutputFormat("| %5lus ", ToUlong(mapping.mRemainingTimeMs / 1000)); in Process()
1182 … (bufferInfo.*info.mQueuePtr).mNumBuffers, ToUlong((bufferInfo.*info.mQueuePtr).mTotalBytes)); in Process()
1341 OutputLine("0x%lx", ToUlong(otPlatRadioGetSupportedChannelMask(GetInstancePtr()))); in Process()
1355 OutputLine("0x%lx", ToUlong(otPlatRadioGetPreferredChannelMask(GetInstancePtr()))); in Process()
1400 … OutputLine("interval: %lu", ToUlong(otChannelMonitorGetSampleInterval(GetInstancePtr()))); in Process()
1402 … OutputLine("window: %lu", ToUlong(otChannelMonitorGetSampleWindow(GetInstancePtr()))); in Process()
1403 OutputLine("count: %lu", ToUlong(otChannelMonitorGetSampleCount(GetInstancePtr()))); in Process()
[all …]
Dcli_mdns.cpp100 OutputLine(kIndentSize, "ttl: %lu", ToUlong(aHost.mTtl)); in OutputHost()
121 OutputLine(kIndentSize, "ttl: %lu", ToUlong(aService.mTtl)); in OutputService()
148 OutputLine(kIndentSize, "ttl: %lu", ToUlong(aKey.mTtl)); in OutputKey()
212 OutputLine("mDNS request id: %lu", ToUlong(mRequestId)); in Process()
436 OutputLine("mDNS registration for request id %lu outcome: %s", ToUlong(aRequestId), in HandleRegisterationDone()
683 OutputLine(kIndentSize, "ttl: %lu", ToUlong(aResult.mTtl)); in HandleBrowseResult()
684 OutputLine(kIndentSize, "if-index: %lu", ToUlong(aResult.mInfraIfIndex)); in HandleBrowseResult()
737 OutputLine(kIndentSize, "ttl: %lu", ToUlong(aResult.mTtl)); in HandleSrvResult()
738 OutputLine(kIndentSize, "if-index: %lu", ToUlong(aResult.mInfraIfIndex)); in HandleSrvResult()
789 OutputLine(kIndentSize, "ttl: %lu", ToUlong(aResult.mTtl)); in HandleTxtResult()
[all …]
Dcli_br.cpp510 ToUlong(entry.mMsecSinceLastUpdate), ToUlong(entry.mValidLifetime)); in Process()
514 OutputFormat("preferred:%lu, ", ToUlong(entry.mPreferredLifetime)); in Process()
598 …OutputLine(" lifetime:%lu preferred:%lu", ToUlong(entry.mValidLifetime), ToUlong(entry.mPreferredL… in Process()
667 OutputFormat(" ms-since-rx:%lu reachable:%s age:%s", ToUlong(aEntry.mMsecSinceLastUpdate), in OutputRouterInfo()
Dcli_dns.cpp140 OutputLine("ResponseTimeout: %lu ms", ToUlong(defaultConfig->mResponseTimeout)); in Process()
542 OutputFormat(" TTL:%lu ", ToUlong(ttl)); in HandleDnsAddressResponse()
556 aServiceInfo.mWeight, ToUlong(aServiceInfo.mTtl)); in OutputDnsServiceInfo()
560 OutputLine(" TTL:%lu", ToUlong(aServiceInfo.mHostAddressTtl)); in OutputDnsServiceInfo()
574 OutputLine(" TTL:%lu", ToUlong(aServiceInfo.mTxtDataTtl)); in OutputDnsServiceInfo()
Dcli_mesh_diag.cpp442 OutputLine(kIndentSize, "timeout:%lu age:%lu supvn:%u q-msg:%u", ToUlong(aChildEntry->mTimeout), in HandleMeshDiagQueryChildTableResult()
443ToUlong(aChildEntry->mAge), aChildEntry->mSupervisionInterval, aChildEntry->mQueuedMessageCount); in HandleMeshDiagQueryChildTableResult()
462 …aChildEntry->mCslSynchronized ? "yes" : "no", aChildEntry->mCslPeriod, ToUlong(aChildEntry->mCslTi… in HandleMeshDiagQueryChildTableResult()
Dcli_bbr.cpp47 OutputLine("timeout: %lu secs", ToUlong(aConfig.mMlrTimeout)); in OutputConfig()
84 OutputLine(" %lu", ToUlong(listenerInfo.mTimeout)); in Process()
Dcli_commissioner.cpp180 … OutputFormat(" | %32s | %10lu |", joinerInfo.mPskd.m8, ToUlong(joinerInfo.mExpirationTime)); in Process()
714 OutputFormat("Energy: %08lx ", ToUlong(aChannelMask)); in HandleEnergyReport()
731 OutputLine("Conflict: %04x, %08lx", aPanId, ToUlong(aChannelMask)); in HandlePanIdConflict()
/openthread-latest/src/lib/spinel/
Dlogger.cpp49 using Lib::Utils::ToUlong;
655 LogDebg(" txRequest:%lu", ToUlong(metrics.mNumTxRequest)); in LogSpinelFrame()
656 LogDebg(" txGrantImmediate:%lu", ToUlong(metrics.mNumTxGrantImmediate)); in LogSpinelFrame()
657 LogDebg(" txGrantWait:%lu", ToUlong(metrics.mNumTxGrantWait)); in LogSpinelFrame()
658 LogDebg(" txGrantWaitActivated:%lu", ToUlong(metrics.mNumTxGrantWaitActivated)); in LogSpinelFrame()
659 LogDebg(" txGrantWaitTimeout:%lu", ToUlong(metrics.mNumTxGrantWaitTimeout)); in LogSpinelFrame()
660 …LogDebg(" txGrantDeactivatedDuringRequest:%lu", ToUlong(metrics.mNumTxGrantDeactivatedDuringReques… in LogSpinelFrame()
661 LogDebg(" txDelayedGrant:%lu", ToUlong(metrics.mNumTxDelayedGrant)); in LogSpinelFrame()
662 LogDebg(" avgTxRequestToGrantTime:%lu", ToUlong(metrics.mAvgTxRequestToGrantTime)); in LogSpinelFrame()
663 LogDebg(" rxRequest:%lu", ToUlong(metrics.mNumRxRequest)); in LogSpinelFrame()
[all …]
/openthread-latest/src/core/mac/
Dsub_mac_csl_receiver.cpp189 LogDebg("CSL sleep %lu", ToUlong(mCslTimer.GetNow().GetValue())); in HandleCslTimer()
223 LogDebg("CSL window start %lu, duration %lu", ToUlong(winStart), ToUlong(winDuration)); in HandleCslTimer()
274 ToUlong(static_cast<uint32_t>(aFrame->mInfo.mRxInfo.mTimestamp))); in LogReceived()
291 …Append("Expected sample time %lu, margin ±%lu, deviation %ld", ToUlong(sampleTime), ToUlong(ahead), in LogReceived()
/openthread-latest/src/core/backbone_router/
Dbbr_leader.cpp94 aConfig.mReregistrationDelay, ToUlong(aConfig.mMlrTimeout)); in LogBackboneRouterPrimary()
202 LogNote("Leader MLR Timeout is normalized from %lu to %lu", ToUlong(origTimeout), in UpdateBackboneRouterPrimary()
203 ToUlong(config.mMlrTimeout)); in UpdateBackboneRouterPrimary()
Dbbr_manager.cpp204 …LogNote("MLR.req: MLR timeout is normalized from %lu to %lu", ToUlong(origTimeout), ToUlong(timeou… in HandleMulticastListenerRegistration()
713 aMeshLocalIid.ToString().AsCString(), ToUlong(aTimeSinceLastTransaction), aSrcRloc16); in HandleExtendedBackboneAnswer()
750 …aDua.ToString().AsCString(), aMeshLocalIid.ToString().AsCString(), ToUlong(aTimeSinceLastTransacti… in HandleProactiveBackboneNotification()
/openthread-latest/src/core/common/
Dsettings.cpp54 ToUlong(GetKeySequence())); in Log()
56 …LogInfo("... pid:0x%lx, mlecntr:0x%lx, maccntr:0x%lx, mliid:%s}", ToUlong(GetPreviousPartitionId()… in Log()
57ToUlong(GetMleFrameCounter()), ToUlong(GetMacFrameCounter()), GetMeshLocalIid().ToString().AsCStri… in Log()
70 …GetRloc16(), GetExtAddress().ToString().AsCString(), ToUlong(GetTimeout()), GetMode(), GetVersion(… in Log()
398 GetPrefix().ToString().AsCString(), ToUlong(GetLifetime())); in Log()
Dnotifier.cpp192 … LogInfo("StateChanged (0x%08lx) %s%s ...", ToUlong(aEvents.GetAsFlags()), didLog ? "... " : "[", in LogEvents()
207 …LogInfo("StateChanged (0x%08lx) %s%s]", ToUlong(aEvents.GetAsFlags()), didLog ? "... " : "[", stri… in LogEvents()
Dnum_utils.hpp220 inline unsigned long ToUlong(uint32_t aUint32) { return static_cast<unsigned long>(aUint32); } in ToUlong() function
/openthread-latest/src/core/thread/
Dtime_sync_service.cpp224 ToUlong(timeSyncLastSyncMs), ToUlong(resyncNeededThresholdMs)); in CheckAndHandleChanges()
Dannounce_sender.cpp244 …LogInfo("ChannelMask:%s, period:%lu", GetChannelMask().ToString().AsCString(), ToUlong(GetPeriod()… in HandleActiveDatasetChanged()
/openthread-latest/src/core/meshcop/
Dmeshcop.cpp172 string.Append("0x%08lx", ToUlong(static_cast<uint32_t>(mValue))); in ToString()
176 string.Append("0x%lx-%08lx", ToUlong(static_cast<uint32_t>(mValue >> 32)), in ToString()
177 ToUlong(static_cast<uint32_t>(mValue))); in ToString()
/openthread-latest/src/lib/utils/
Dmath.hpp76 inline unsigned long ToUlong(uint32_t aUint32) { return static_cast<unsigned long>(aUint32); } in ToUlong() function
/openthread-latest/src/core/net/
Dsrp_server.cpp324 LogInfo("SRP update handler is notified (updatedId = %lu)", ToUlong(updateId)); in RemoveHost()
385 …Delayed SRP host update result, the SRP update has been committed (updateId = %lu)", ToUlong(aId)); in HandleServiceUpdateResult()
391 …LogInfo("Handler result of SRP update (id = %lu) is received: %s", ToUlong(update->GetId()), Error… in HandleServiceUpdateResult()
470 …LogInfo(" Granted lease:%lu, key-lease:%lu, ttl:%lu", ToUlong(grantedLease), ToUlong(grantedKey… in CommitSrpUpdate()
471 ToUlong(grantedTtl)); in CommitSrpUpdate()
1388 …LogInfo(" Lease:%lu, key-lease:%lu, ttl:%lu", ToUlong(aHost.GetLease()), ToUlong(aHost.GetKeyLe… in InformUpdateHandlerOrCommit()
1389 ToUlong(aHost.GetTtl())); in InformUpdateHandlerOrCommit()
1435 LogInfo("SRP update handler is notified (updatedId = %lu)", ToUlong(update->GetId())); in InformUpdateHandlerOrCommit()
1544 …d success response with granted lease: %lu and key lease: %lu", ToUlong(aLease), ToUlong(aKeyLease… in SendResponse()
1706 LogInfo("Outstanding service update timeout (updateId = %lu)", ToUlong(update->GetId())); in HandleOutstandingUpdatesTimer()
[all …]
Dsrp_advertising_proxy.cpp947 LogInfo("Registering host '%s', id:%lu", hostName, ToUlong(aHost.mAdvId)); in RegisterHost()
1014 ToUlong(aService.mAdvId)); in RegisterService()
1072 LogInfo("Registering key for host '%s', id:%lu", hostName, ToUlong(aHost.mKeyAdvId)); in RegisterKey()
1086 ToUlong(aService.mKeyAdvId)); in RegisterKey()
1172 LogInfo("Register callback, id:%lu, error:%s", ToUlong(aRequestId), ErrorToString(aError)); in HandleRegistered()
Dsrp_client.cpp197 LogInfo("Requesting max tx jitter %lu (%s)", ToUlong(maxJitter), ReasonToString(aReason)); in Request()
224 LogInfo("Requested max tx jitter %lu already expired", ToUlong(mRequestedMax)); in DetermineDelay()
229 LogInfo("Applying remaining max jitter %lu", ToUlong(maxJitter)); in DetermineDelay()
236 …LogInfo("Use random tx jitter %lu from [%lu, %lu]", ToUlong(delay), ToUlong(kMinTxJitter), ToUlong in DetermineDelay()
1005 LogInfo("Msg len %lu is larger than MTU, enabling single service mode", ToUlong(length)); in SendUpdate()
1086 LogInfo("Quick retry %u in %lu msec", mTxFailureRetryCount, ToUlong(interval)); in SendUpdate()
2603 …LogInfo("Retry interval %lu %s", ToUlong((interval < kLogInMsecLimit) ? interval : Time::MsecToSec… in LogRetryWaitInterval()
/openthread-latest/src/core/radio/
Dtrel_packet.cpp94 string.Append(" panid:%04x num:%lu src:%s", GetPanId(), ToUlong(GetPacketNumber()), in ToString()
/openthread-latest/src/core/diags/
Dfactory_diags.cpp514ToUlong(mStats.mReceivedPackets), ToUlong(mStats.mSentSuccessPackets), ToUlong(mStats.mSentErrorCc…
515 ToUlong(mStats.mSentErrorAbortPackets), ToUlong(mStats.mSentErrorInvalidStatePackets),
516ToUlong(mStats.mSentErrorOthersPackets), mStats.mFirstRssi, mStats.mFirstLqi, mStats.mLastRssi,
/openthread-latest/src/core/utils/
Dchannel_manager.cpp241 …LogInfo("Too few samples (%lu <= %lu) to select channel", ToUlong(Get<ChannelMonitor>().GetSampleC… in FindBetterChannel()
242 ToUlong(kMinChannelMonitorSampleCount)); in FindBetterChannel()

123