Skip to content

joinOTTA uses SF7 (instead of SF12) #39

Open
@fe64970103

Description

@fe64970103

Hi,

I have range issues with my LORA sensor network and while debugging the whole thing I've noticed joinOTTA is not using SF12 as expected, but it uses mostly SF7 with some random changes to higher SF numbers.

The MKRWAN class library exposes a joinOTAA() function with a default timeout of 60s. Regardelss of this the FW on the STM32 seems to keep issuing the join requests till one of the is successful. It seems to be doing so on a 7s basis.

Attached is a log from my gateway showcasing the SF selection in 3 joinOTTA() function calls (board reset in between).

I would expect the module to start with SF12 and then to go on lower SF numbers based on ADR or based on a user setting. SF7 pretty much inhibits any long range joining attempt.

Is this the intended behavior? Any idea for a workaround provided this is an issue?

Thanks, Marko

joinOTTA.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions