# ADR, Fair Use and LMIC

**URL:** <https://www.thethingsnetwork.org/forum/t/adr-fair-use-and-lmic/10037>\
**Category:** End Devices (Nodes)\
**Created:** [October 11, 2017, 6:16pm UTC](https://www.thethingsnetwork.org/forum/t/adr-fair-use-and-lmic/10037 "2017-10-11T18:16:39Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![arjanvanb](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/arjanvanb/32/46626_2.png) [@arjanvanb](https://www.thethingsnetwork.org/forum/u/arjanvanb)\
**Post date:** [October 14, 2017, 1:29pm UTC](https://www.thethingsnetwork.org/forum/t/adr-fair-use-and-lmic/10037/11 "2017-10-14T13:29:00Z")

</div>

> [@tkerby](#):
>
> ```auto
> void printDataRate() {
> switch (LMIC.datarate) {
> 
> ```

I’ve not validated your code, so it might very well be okay. But a warning when using this in `EV_TXCOMPLETE `: when not getting a downlink in RX1 then similar code in an RN2483 [would return the SF used in RX2](https://www.thethingsnetwork.org/forum/t/can-i-tell-on-which-channel-an-rn2483-has-just-sent/5350/3).

---

_[View the full topic](https://www.thethingsnetwork.org/forum/t/adr-fair-use-and-lmic/10037)._
