Changing spreading factor on Tracker software v2 and v3

Hello,
I am trying to set the spreading factor on the configuration menu to 9, it’s changed fine in the menu but when I’ve sent the packet and received it on TTN server the spreading factor did not change it’s still on 7.
Could you please help me why the SF did not change?

Regards

Hi,

Are you using OTAA or ABP?
With OTAA the join is still with SF7 after this it should update to the SF in the menu.

Kind regards,
Jan

Thanks a lot Jan.

I’m using OTAA.
In the menu the SF was changed to 8 , but in the data was received by the gateway it’s still at SF=7 not changed to SF=8.
I would like to use SF 7 to 12 in the same location by tracker software.

Best Regards

@iaia

I see in the LoRaHelper.cpp this code:

bool LoRaHelper::join()
{
    debugPrintln("Trying to join...");

    _rn2483->wakeUp();

    bool result;
    if (_isOtaaOn) {
        result = joinOtaa();
    }
    else {
        result = joinAbp();
    }

    if (result) {
        _isInitialized = true;

        if (!_isAdrOn) {
            _rn2483->setSpreadingFactor(_spreadingFactor);
        }

        _rn2483->setPowerIndex(_powerIndex);
    }

    return result;
}

You can put the set SF before the init

bool LoRaHelper::join()
{
    debugPrintln("Trying to join...");

    _rn2483->wakeUp();

    if (!_isAdrOn) {
        _rn2483->setSpreadingFactor(_spreadingFactor);
    }

    _rn2483->setPowerIndex(_powerIndex);

    bool result;
    if (_isOtaaOn) {
        result = joinOtaa();
    }
    else {
        result = joinAbp();
    }

    if (result) {
        _isInitialized = true;        
    }

    return result;
}

Kind regards,
Jan

Many thanks Jan,

As you said I put the (setSpreadingFactor) before init but Still not changed!

I’ve used another code which is Simple LoRa sketch the SF changed and it’s work fine.
Is there another way to changed SF in tracker software?

Best Regards

Hi,

The SF change will only be applied when you turn of ADR.
ADR is on be default.

Kind regards,
Jan

Thanks Jan, it’s work :slight_smile:

Hi Jan,
I see in the datasheet for RN2483 that the maximum Tx output power (pwridx) is +14 dBm and it’s set by default at 1, and the output power takes from 1 to 5.
So if the 1 is14dBm, what is the Tx output power when it’s set at 2,3,4 and 5?

Best Regards

Table 15 is for the RN2483

Hello Jan,

I would love to see Table 15. Unfortunately, it seems the link is broken. Would you mind to re-upload, or indicate where to have such table?

With best regards

Sebastian

Hi Sebastian,

The power info can be found in the document
RN2483.book (microchip.com)

And here in the command reference:
RN2483 LoRa Technology Module Command Reference User’s Guide (microchip.com)

Search for “pwr” to find all power related commands.

Best regards,
Jan