Home
last modified time | relevance | path

Searched refs:currentTime (Results 1 – 2 of 2) sorted by relevance

/loramac-node-3.4.0/src/mac/
DLoRaMacClassB.c342 TimerTime_t currentTime = TimerGetCurrentTime( ); in CalcNextSlotTime() local
345 …slotTime = ( ( currentTime - SysTimeToMs( Ctx.BeaconCtx.LastBeaconRx ) ) % CLASSB_BEACON_INTERVAL … in CalcNextSlotTime()
346 slotTime = currentTime - slotTime; in CalcNextSlotTime()
352 if( slotTime < currentTime ) in CalcNextSlotTime()
354 currentPingSlot = ( ( currentTime - slotTime ) / in CalcNextSlotTime()
365 slotTime -= currentTime; in CalcNextSlotTime()
494 static TimerTime_t CalcDelayForNextBeacon( TimerTime_t currentTime, TimerTime_t lastBeaconRx ) in CalcDelayForNextBeacon() argument
499 nextBeaconRxTime = ( ( currentTime - lastBeaconRx ) % CLASSB_BEACON_INTERVAL ); in CalcDelayForNextBeacon()
528 TimerTime_t windowMovement, TimerTime_t currentTime ) in UpdateBeaconState() argument
534 …beaconEventTime = CalcDelayForNextBeacon( currentTime, SysTimeToMs( Ctx.BeaconCtx.LastBeaconRx ) ); in UpdateBeaconState()
[all …]
/loramac-node-3.4.0/src/mac/region/
DRegionCommon.c181 TimerTime_t currentTime ) in UpdateTimeCredits() argument
200 band->LastBandUpdateTime = currentTime; in UpdateTimeCredits()
320 TimerTime_t currentTime = TimerGetCurrentTime( ); in RegionCommonUpdateBandTimeOff() local
330 currentTime ); in RegionCommonUpdateBandTimeOff()