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

Expose AT+ADR and other useful entry points #10

Open
xoseperez opened this issue Feb 5, 2018 · 1 comment
Open

Expose AT+ADR and other useful entry points #10

xoseperez opened this issue Feb 5, 2018 · 1 comment

Comments

@xoseperez
Copy link
Contributor

Adaptative Data Rate allows the device to modulate SF and BW depending on the signal strength from the gateway. This usually means better packet reception and/or less time on air, thus allowing for more packets per hour/day. This method could be added to the public section of the library.

  bool setADR(bool adr) {
    sendAT(GF("+ADR="), adr);
    if (waitResponse() != 1) {
      return false;
    }
    return true;
  }

It will also be useful to be able to set DR, FCU and get FCU, FCD, RSSI and SNR. Is there a way to get the actual DR used to transmit (SF/BW combination)? This way we could calculate the true time on air for the transmission and schedule the next one within the fair access policy for TTN (30s/day).

@facchinm
Copy link
Contributor

facchinm commented Feb 6, 2018

Wow, there so much interesting stuff out there! I'll take a closer look at the Murata firmware documentation, understand what we can port to use the same underlying AT functions and expose them.
If there is no such chance, I'd be very happy if you have any proposal of specific combined APIs (like the fair access policy for TTN). Thanks!

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

No branches or pull requests

2 participants