# LMIC Node, dropped packets?

**URL:** <https://www.thethingsnetwork.org/forum/t/lmic-node-dropped-packets/4400>\
**Category:** Uncategorized\
**Created:** [December 10, 2016, 6:21pm UTC](https://www.thethingsnetwork.org/forum/t/lmic-node-dropped-packets/4400 "2016-12-10T18:21:15Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![brandonbyrne](https://www.thethingsnetwork.org/forum/letter_avatar_proxy/v4/letter/b/7cd45c/32.png) [@brandonbyrne](https://www.thethingsnetwork.org/forum/u/brandonbyrne)\
**Post date:** [December 22, 2016, 12:44am UTC](https://www.thethingsnetwork.org/forum/t/lmic-node-dropped-packets/4400/9 "2016-12-22T00:44:37Z")

</div>

I worked through most of my problems; the gateway dmesg errors were from the Multitech built in network server and poly\_pkt\_fwd fighting over control of the MTAC card.

LMIC library had to have channels pretty explicitly forced, these are the settings I ended up with that have it receiving every packet.

```
LMIC_selectSubBand(1);
//Disable FSB1, channels 0-7
for (int i = 0; i < 7; i++) {
    if (i != 10)
    LMIC_disableChannel(i);
  
}
//Disable FSB2-8, channels 16-72
for (int i = 16; i < 73; i++) {
    if (i != 10)
    LMIC_disableChannel(i);
  
}

LMIC_setAdrMode(0);
LMIC.dn2Dr = DR_SF10;

// Set data rate and transmit power for uplink (note: txpow seems to be ignored by the library)
LMIC_setDrTxpow(DR_SF10,23);

// Start job
do_send(&sendjob);

```

selectSubBand(1) wasn’t enough to make it stay on ttn’s default of FSB 2; it would transmit on channel 8,9,10,11,12,13,14 then jump to channel 64,65,66,67,68,69,70,71 and repeat 64,65,66,67,68,69,70,71. I had to manually disable every channel but 8 through 15, as well as disable ADR(ADR was causing it to jump to 64,65,66,67,68,69,70,71 as well and get stuck there).

---

_[View the full topic](https://www.thethingsnetwork.org/forum/t/lmic-node-dropped-packets/4400)._
