Fix ADR channel mask handling
Fork of lmic_MOTE_L152RC by
Diff: lmic.h
- Revision:
- 8:0faa1bb768b5
- Parent:
- 5:e4ba433f0ac1
diff -r 9095e54e381f -r 0faa1bb768b5 lmic.h --- a/lmic.h Mon Sep 21 17:59:42 2015 +0000 +++ b/lmic.h Wed Oct 21 01:03:34 2015 +0000 @@ -174,6 +174,8 @@ u1_t datarate; // current data rate u1_t errcr; // error coding rate (used for TX only) u1_t rejoinCnt; // adjustment for rejoin datarate + u1_t joinBlock; // during join attempt: current channel block + u1_t joinBlockChnl; // during join attempt: current 125KHz channel s2_t drift; // last measured drift s2_t lastDriftDiff; s2_t maxDriftDiff; @@ -259,6 +261,7 @@ void LMIC_setSession (u4_t netid, devaddr_t devaddr, xref2u1_t nwkKey, xref2u1_t artKey); void LMIC_setLinkCheckMode (bit_t enabled); +void LMIC_reverse_memcpy(u1_t *dst, const u1_t *src, size_t len); // Special APIs - for development or testing // !!!See implementation for caveats!!!