Closed schroepfer closed 3 years ago
i answer myself: it seems, that this is the same problem that i had in Dec. 2020. There you told me to try: "make clean", then "make SX127X_lora_gateway"
This helped too and it works now again!
Do you have an idea, how to fix this for the next update?
Regards Juergen
Well, normally on boot the lora gateway radio program should be recompiled for the correct RPI model. There could be some inconsistencies during the update process because local config files are preserved, including radio.makefile and raspberry.makefile. However, when there are changes in those files the update procedure will not be able to replace them automatically, so you need to download them manually.
radio.makefile has changed because we are progressively moving to the SX12XX lib. raspberry.makefile has also changed because we are progressively moving to wiringPi for 64-bit OS. So the file allows you to use either the old ArduPi lib (not working on 64-bit OS) or wiringPI (for 32-bit and 64-bit OS). The default configuration is SX127X lib and ArduPi.
I believe the issue you got come from that inconsistencies therefore make lora_gateway may not work properly, while make SX127X_lora_gateway can work.
However, what is your RPI model?
Raspberry Zero W
OK, so this is why it is actually working! Because on RPI2&3 or RPI4 it would have been make SX127X_lora_gateway_pi2 or make SX127X_lora_gateway_pi4. The new makefile automatically determine the RPI model so make lora_gateway should work.
Thank you for this information!
Hello, yesterday i updated my Gateway to your latest version 556. I run full update, basic conf and reboot. After this, the gateway receives no more: