On a side note, the LMIC library code is *horrible*. It completely takes over, is almost completely undocumented, and the examples don't even work......