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

Add changeBand to docs #104

Merged

Conversation

karlsoderby
Copy link
Contributor

No description provided.

@karlsoderby karlsoderby merged commit 4e786dd into arduino-libraries:master Oct 14, 2021
@kygoh
Copy link

kygoh commented Oct 14, 2021

Do you mean modem.configureBand() instead of modem.changeBand()?

MKRWAN/src/MKRWAN.h

Lines 470 to 479 in 4e786dd

bool configureBand(_lora_band band) {
sendAT(GF("+BAND="), band);
if (waitResponse() != 1) {
return false;
}
if (band == EU868 && isArduinoFW()) {
return dutyCycle(true);
}
return true;
}

@karlsoderby
Copy link
Contributor Author

You're right @kygoh, just updated it. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants