Good question but I don’t have an answer at hand.
When using Arduino IDE the libraries may/will possibly conflict, but I have no experience with it in this case.
I am using PlatformIO where I can specify in the project configuration file which libraries (and which one of the LMIC libraries) I want to use. Even when both libraries are present this does not give any conflict (but that is probably due to the working of PlatformIO).
You may try to include arduino_lmic.h instead of lmic.h to use the MCCI LoRaWAN LMIC library.
That was specially added (but I’m not sure if that is sufficient to prevent a library conflict in the Arduino IDE).
It would be nice if you could test that and post your experiences here.
Both their official library names in library.properties and their source location URL’s are different.
But I expect that it will conflict because it is lmic.h that is included in the application and not the library name. But also see my remark above.
Does anyone know if any of these libraries support region hopping during runtime instead of at compile time? That would be a really nice feature for long duration HAB trackers.
We wait adafruit to wake-up for TinyLoRa. You can use this PR, but I don’t know if they are chips that support hopping. To my understanding HOPE RF95 does not support hopping.
Sorry If this is not the correct post to make this question, but it’s the one I found linked to the doubt I have. I’m currently trying to create a LoRa node using a Raspberry Pi and a Dragino Shield. The thing is that I’m following a tutorial, and the fifth step is to download an LMIC_pi code file, which I think is a library, but I don’t know what does this librabry do, in other words, why is it necessary to create a LoRa node?
Thanks in advance for any reply.
Assuming you have a fairly simple temperature / humidity sensor then you should be able to use the more up to date MCCI library but you will have to turn off the Class B Ping & Beacons code in the lmic/config.h file to get it to fit on an Uno.
Going forward you would need to think about using an MCU with more flash & memory for using MCCI LMiC - an Arduino Nano Every works well.
Ah, well, going to take some refactoring or building device firmware from the parts rather than recycling an old repro.
You can still use the Classic / Matt LMiC and as I said, it has a docs directory - have you found the docs and have you read them, thus finding the correct command to turn ADR on & off??
Thank you for giving your attention and time
it is really appreciated
yes I have found the docs and I am reading it
I will try to active Adr
if I had any problem can I ask again here?