-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mixing LoRaRadio and LoRaWan #187
Comments
Good question. No idea. You cannot interleave them, meaning while LoRaWAN is active you cannot access the radio and the other way around. |
@GrumpyOldPizza thanks for the reply: I just want to dump LoRa when it fails and then load LoRaWan permanently until reboot. I see that the root of your LoRa library is from Semtech . Also that you wrote the LoRaWan library is it based on some other Repo? I will mess around with it. I should be able to fully dump the LoRa settings before loading LoRaWan. Doesn't really matter as I am having much more success with your code than anything I have been able to do with the Arduino MKRWAN library. I wonder if Arduino has a method to load a separate program from a running program. Probably not. |
@GrumpyOldPizza I think I have found the issue, The Portenta only gives a certain amount of memory and I am at 94% upload when memory runs out. Can you think of anything in the LoRa or LoRaWan libraries that could easily be reduced? My examples are fairly basic so not really expecting anything to reduce the memory dramatically. I will bug Arduino and see if they can give your library more space. Also will ask if they can support your library for all the new MBED boards. hmmmm. The LoRaWanBands seem to take up a fair bit of memory see map file I think I will just get rid of a few regions and see if that helps. |
Hi @GrumpyOldPizza. Once again thank you for making this repo. I am having a lot of fun working with the Arduino Portenta LoRa Vision Shield.
Presently making a redundant system where if my p2p LoRaRadio connection is not confirmed I switch to a LoRaWan network, however
compiles but kills the entire program, even after a call like
LoRaRadio.end();
Looks like the 2 libraries can't co-exist. Any suggestions for what part inLoRaWAN.begin(US915);
is causing the problem?The text was updated successfully, but these errors were encountered: