Skip to content

Custom DR in Join process #291

@LasaleFamine

Description

@LasaleFamine

I know the library is not currently in active development but I'm still using it since it is the best for working with RNx modules I think.

I'm currently trying to implement a custom ADR process during the Join since the current implementation is sending Join commands only with the base SF used in the library initialization: https://github.com/TheThingsNetwork/arduino-device-lib/blob/master/src/TheThingsNetwork.cpp#L748

My current custom implementation tries to lower the DR each N retries during the Join process but I'm not able to set the DR properly since it is changed every time I call the join method on the TheThingsNetwork class.

I think maybe the setDR function can also update the this->sf value? Maybe calculating it like MAX_DR_REGION - dr?

I can also try to setup a PR if it is still accepted. Otherwise I would go for a fork necessarily.

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