Open MoShawa opened 3 years ago
Did you see hat I recommend switching the to MCCI version of LMIC, rather than this one?
So, my single channel gateway is LG01.
I have no experience with single-channel gateways, I'm not sure what you need to change in LMIC to support those (also, remember that single-channel gateways might be nice for testing, they do not really scale well).
So , I got an error in radio.c:441
If it's a compile-time error, what error? If it is a runtime assertion failure, what is line 441 exactly?
Hello, thank you for your response. It works with ABP activation right now, but with OTAA does not work.
Hm, it's weird that it ends up in txfsk
, since I don't think FSK is ever used during join... I wonder if your changes to the frequencies might have also changed the DR definitions somehow causing it to use FSK. It's also perfectly possible that FSK doesn't actually work, since it's rarely or never used in practice.
Looking more closely at your code, you have these LG02_
defines, which I don't recognize. I suspect you're not actually using this version of LMIC, but some modified (by Dragino maybe) version. I suggest you either:
I wonder if your changes to the frequencies might have also changed the DR definitions somehow causing it to use FSK. Yes I changed the frequencies according to user manual. from user manual :
my parameters' changes
Right, but my point is that the version of LMIC you start with, before your modifications is not this version. e.g. see https://github.com/matthijskooijman/arduino-lmic/blob/master/src/lmic/config.h which does not have these LG02_*
macros. So I suspect you're using some version modified by Dragino or someone else, which I cannot really provide support for.
radio.init failures are most related to pin mapping! So check your pin mapping and get back to me :) I used dragino with this repo and the dragino modified one. Both work perfectly if you set up the pins correctly. RST = 9 SS = 10 DIO = {2,6,7} // dio0 , dio1 and dio2 respectively. good luck
Hi there, I am working on Lora Iot development kit v 2 from Dragino in 868 MHz. I am implementing Lmic master for sendong Temp & Hum. to TTN using otaa. So, my single channel gateway is LG01. So , I got an error in radio.c:441 I also modified the freqs' in config.c file for matching my region's frequency, which are:
I am following the user manual from dragino.
Any help ?
this code in radio.c file from 411 to 459