Home
last modified time | relevance | path

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

/loramac-node-latest/src/mac/
DLoRaMacClassB.c524 static TimerTime_t ApplyGuardTime( TimerTime_t beaconEventTime ) in ApplyGuardTime() argument
526 TimerTime_t timeGuard = beaconEventTime; in ApplyGuardTime()
539 TimerTime_t beaconEventTime = 0; in UpdateBeaconState() local
542beaconEventTime = CalcDelayForNextBeacon( currentTime, SysTimeToMs( Ctx.BeaconCtx.LastBeaconRx ) ); in UpdateBeaconState()
543 Ctx.BeaconCtx.NextBeaconRx = SysTimeFromMs( currentTime + beaconEventTime ); in UpdateBeaconState()
546 beaconEventTime = TimerTempCompensation( beaconEventTime, Ctx.BeaconCtx.Temperature ); in UpdateBeaconState()
549 if( beaconEventTime > windowMovement ) in UpdateBeaconState()
551 beaconEventTime -= windowMovement; in UpdateBeaconState()
553 Ctx.BeaconCtx.NextBeaconRxAdjusted = currentTime + beaconEventTime; in UpdateBeaconState()
562 return ApplyGuardTime( beaconEventTime ); in UpdateBeaconState()
[all …]