Open jpmeijers opened 3 years ago
I haven't ported over the clock error code from LMIC yet, but it seems I did leave in this part of the example (commented out, though). I'm not sure whether I should be porting this code over, it's quite rough and as the MCCI folks pointed out, in a lot of cases it was used to work around timing problems in the LMIC code, rather than actual clock inaccuracies (timing problems that I hope are fixed in BasicMAC also, but I haven't really checked)...
Using the Arduino basicmac-otaa example, if I enable line 225, which reads as follows:
LMIC_setClockError(MAX_CLOCK_ERROR * 10 / 100);
I get the following error: