Hi,
So I am a new to LoRa and reading up on a bit on the theory. So I configured an RFM95W module with an ESP8266 to transmit on the EU bands with the LMIC library.
This is code: (default from MCCI-LMIC)
LMIC_setupChannel(0, 868100000, DR_RANGE_MAP(DR_SF12, DR_SF7), BAND_CENTI); // g-band LMIC_setupChannel(1, 868300000, DR_RANGE_MAP(DR_SF12, DR_SF7B), BAND_CENTI); // g-band LMIC_setupChannel(2, 868500000, DR_RANGE_MAP(DR_SF12, DR_SF7), BAND_CENTI); // g-band LMIC_setupChannel(3, 867100000, DR_RANGE_MAP(DR_SF12, DR_SF7), BAND_CENTI); // g-band LMIC_setupChannel(4, 867300000, DR_RANGE_MAP(DR_SF12, DR_SF7), BAND_CENTI); // g-band LMIC_setupChannel(5, 867500000, DR_RANGE_MAP(DR_SF12, DR_SF7), BAND_CENTI); // g-band LMIC_setupChannel(6, 867700000, DR_RANGE_MAP(DR_SF12, DR_SF7), BAND_CENTI); // g-band LMIC_setupChannel(7, 867900000, DR_RANGE_MAP(DR_SF12, DR_SF7), BAND_CENTI); // g-band867.9 LMIC_setupChannel(8, 868800000, DR_RANGE_MAP(DR_FSK, DR_FSK), BAND_MILLI); // g2-band
I understand that most gateways support these 8 channels and all should at least support 3. The weird thing is that in my logs 37 out of 69 uplinks used channel 0 (868.1 Mhz, or is this channel 1?), and channel 6 was only used once.
This does not make sense to me, why are they not evenly distributed across channels? I would think this increases the chance of a in air collision massively without a good reason.
Can anybody explain the behavior I am seeing?
I searched the net but couldn’t find anything like this. All the relevant code should be in this file: https://github.com/Bartvelp/LoRa-WiFi-tracker-TTN/blob/master/_1_lora_functions.ino
Let me know if I forgot something.