Searched refs:adrNext (Results 1 – 3 of 3) sorted by relevance
37 bool LoRaMacAdrCalcNext( CalcNextAdrParams_t* adrNext, int8_t* drOut, int8_t* txPowOut, in LoRaMacAdrCalcNext() argument41 int8_t datarate = adrNext->Datarate; in LoRaMacAdrCalcNext()42 int8_t txPower = adrNext->TxPower; in LoRaMacAdrCalcNext()43 uint8_t nbTrans = adrNext->NbTrans; in LoRaMacAdrCalcNext()49 *adrAckCounter = adrNext->AdrAckCounter; in LoRaMacAdrCalcNext()51 if( adrNext->AdrEnabled == true ) in LoRaMacAdrCalcNext()55 getPhy.UplinkDwellTime = adrNext->UplinkDwellTime; in LoRaMacAdrCalcNext()56 phyParam = RegionGetPhyParam( adrNext->Region, &getPhy ); in LoRaMacAdrCalcNext()61 if( adrNext->AdrAckCounter >= adrNext->AdrAckLimit ) in LoRaMacAdrCalcNext()67 if( adrNext->AdrAckCounter >= ( adrNext->AdrAckLimit + adrNext->AdrAckDelay ) ) in LoRaMacAdrCalcNext()[all …]
119 bool LoRaMacAdrCalcNext( CalcNextAdrParams_t* adrNext, int8_t* drOut, int8_t* txPowOut,
2668 CalcNextAdrParams_t adrNext; in Send() local2701 adrNext.UpdateChanMask = true; in Send()2702 adrNext.AdrEnabled = fCtrl.Bits.Adr; in Send()2703 adrNext.AdrAckCounter = Nvm.MacGroup1.AdrAckCounter; in Send()2704 adrNext.AdrAckLimit = Nvm.MacGroup2.MacParams.AdrAckLimit; in Send()2705 adrNext.AdrAckDelay = Nvm.MacGroup2.MacParams.AdrAckDelay; in Send()2706 adrNext.Datarate = Nvm.MacGroup1.ChannelsDatarate; in Send()2707 adrNext.TxPower = Nvm.MacGroup1.ChannelsTxPower; in Send()2708 adrNext.NbTrans = Nvm.MacGroup2.MacParams.ChannelsNbTrans; in Send()2709 adrNext.UplinkDwellTime = Nvm.MacGroup2.MacParams.UplinkDwellTime; in Send()[all …]