My device does not receive any downlink messages.
Here is my configuration:
- Device: Adafruit Feather Lora M0
- Gateway: TTN-GW-868
- Join: ABP
- European frequencies
- Uplink is working fine
I trigger a downlink through the TTN console. The gateway shows that the message is sent with the same SF and frequency as the before received uplink.
I am also able to connect to the gateway with OTAA.
The debug message of the LMIC library show:
7:52:19.607 -> start single rx: now-rxtime: 9644 07:52:19.607 -> 9770839: RXMODE_SINGLE, freq=867300000, SF=7, BW=125, CR=4/5, IH=0 07:52:19.993 -> rxtimeout: entry: 9794728 rxtime: 9761208 entry-rxtime: 33520 now-entry: 3 rxtime-txend: 62126 07:52:20.767 -> start single rx: now-rxtime: 19280 07:52:20.767 -> 9842790: RXMODE_SINGLE, freq=869525000, SF=9, BW=125, CR=4/5, IH=0 07:52:21.162 -> rxtimeout: entry: 9866681 rxtime: 9823458 entry-rxtime: 43223 now-entry: 4 rxtime-txend: 124376 07:52:21.549 -> 9890746: EV_TXCOMPLETE (includes waiting for RX windows) 07:52:22.112 -> 9926613: engineUpdate, opmode=0x900
I use LMIC_setClockError(MAX_CLOCK_ERROR * 10 / 100); I am not sure were I can see the extended receive interval in the debug messages. Anything, I can do to further debug the situation?
After some more tests, I was able to send some data. BUT: it requires
LMIC_setClockError(MAX_CLOCK_ERROR * 40 / 100);
#define LMIC_ENABLE_arbitrary_clock_error 1
in the lmic_project_conf.h
This is probably not the way it should be. Any idea?