Home
last modified time | relevance | path

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

/loramac-node-latest/src/mac/
DLoRaMacClassB.c341 TimerTime_t slotTime = 0; in CalcNextSlotTime() local
345slotTime = ( ( currentTime - SysTimeToMs( Ctx.BeaconCtx.LastBeaconRx ) ) % CLASSB_BEACON_INTERVAL … in CalcNextSlotTime()
346 slotTime = currentTime - slotTime; in CalcNextSlotTime()
349 slotTime += CLASSB_BEACON_RESERVED; in CalcNextSlotTime()
350 slotTime += slotOffset * CLASSB_PING_SLOT_WINDOW; in CalcNextSlotTime()
352 if( slotTime < currentTime ) in CalcNextSlotTime()
354 currentPingSlot = ( ( currentTime - slotTime ) / in CalcNextSlotTime()
356 slotTime += ( ( TimerTime_t )( currentPingSlot * pingPeriod ) * in CalcNextSlotTime()
362 …if( slotTime <= ( SysTimeToMs( Ctx.BeaconCtx.NextBeaconRx ) - CLASSB_BEACON_GUARD - CLASSB_PING_SL… in CalcNextSlotTime()
365 slotTime -= currentTime; in CalcNextSlotTime()
[all …]