Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting DR doesn't work #89

Open
fe64970103 opened this issue Mar 10, 2021 · 3 comments
Open

Setting DR doesn't work #89

fe64970103 opened this issue Mar 10, 2021 · 3 comments
Labels
type: imperfection Perceived defect in any part of project

Comments

@fe64970103
Copy link

It seems setting the data rate via dataRate() doesn't work at all and this is a known issue. There is a workaround I confirmed myself that works, but the workaround requires use of ADR that makes the gateway to send downlink messages on each and every uplink.

The workaround consists of enabling ADR and the setting the datarate prior sending out lora frames:
modem.setADR(true);
modem.dataRate(3);
modem.beginPacket();
...

However this doesn't seem to be a MKRWAN library issue, but someting related to the module itself. Is there something that can be done via raw AT commands to get around this? Any suggestions or clues are welcome.

@per1234 per1234 added the type: imperfection Perceived defect in any part of project label Mar 10, 2021
@fe64970103
Copy link
Author

As already thought this seems to be a module firmware issue:
arduino/mkrwan1300-fw#6

It's pretty old to and I'm wondering how such a basic feature wasn't addressed by now. This really limits the usage of the mkr1310 board as there is no real workaround.

@flhofer
Copy link

flhofer commented Jul 6, 2021

@fe64970103 Check out the linked issue. Found the problem. Should be fixed (Patched) with the next version 1.2.4

@flhofer
Copy link

flhofer commented Jan 31, 2022

See the not yet released v1.2.4 of my pull request. It includes the necessary modem firmware update in the MKRWAN standalone sketch. (link to repo next to the title flhofer...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

3 participants