Updates as of 2-17-16 for debugging K22F LoRa platform.
Fork of lmic_MOTE_L152RC by
Diff: lmic.cpp
- Revision:
- 12:febc37010b64
- Parent:
- 8:0faa1bb768b5
--- a/lmic.cpp Tue Feb 09 00:28:59 2016 +0000 +++ b/lmic.cpp Thu Feb 18 01:28:06 2016 +0000 @@ -43,6 +43,8 @@ // Special APIs - for development or testing #define isTESTMODE() 0 + + DEFINE_LMIC; DECL_ON_LMIC_EVENT; @@ -752,7 +754,7 @@ LMIC.channelMap[i] = 0xFFFF; LMIC.channelMap[4] = 0x00FF; - LMIC.txpow_limit = 30; + LMIC.txpow_limit = 26; //This sets the radio transmit power level in dBm #endif LMIC.txpow = LMIC.txpow_limit; @@ -796,7 +798,8 @@ } static void updateTx (ostime_t txbeg) { - u1_t chnl = LMIC.txChnl; + // u1_t chnl = LMIC.txChnl; + #ifdef JOIN_REQ_DEBUG printf("chnl%d ", chnl); #endif /* JOIN_REQ_DEBUG */