â Once again, I take the opportunity to say that I would never use a board like the Raspberry PI to implement a real product. For many reasons, including but not limited to reliability, in my opinion, these boards are OK to make Proof of concepts (PoC) or** hobbyist **projects only.â
hmmm ⌠I disagree
your (nice) article describes a SINGLE CHANNEL gateway, thatâs the reason your missing packets.
SINGLE CHANNEL gateways are only for test purposes and study because they are not LoRaWAN compliant.
To âfixâ the missing packets you have to edit the channels in your LMIC node (from 8 to 1 ch - same ch as gateway)
@BoRRoZ
Thank you very much for your prompt response.
I know that this statement could sound a little bit harsh and I am also aware that there are real products based on RPi or similar boards.
Anyway, I have been involved in embedded systems for industrial applications for 20 years and reliability and longevity are part of my DNA. So please forgive me if Iâm a little bit conservative in this regard âŚ
P.S.: For instance, after installing my gateway, the file system corrupted twice in a month ⌠I always advise my customers to choose a more reliable non-volatile storage than a microSD card.
Anyway, youâve build a nice hobby installation, So making a backup of your SD card shouldnât be a problem too There are no lives in danger (then you wouldnât even use LoRaWAN )
You managed to create a minimal functional system. For a working system you need a LoRaWAN gateway, not a single channel âgatewayâ which does not adhere to the LoRaWAN specification.
It would help people Googling if you modify your story to include that that setup is not specification compliant and will only receive a subset of the data a real gateway receives.
Other issues:
Never send ASCII text. Even in examples use binary as your code will be cut-and-pasted to a new program and new users assume they need to send text and end up wasting airtime.
Please donât encourage people to use ABP and disable frame counter checks. OTAA is the way to go. (given your âgatewayâ ABP might be the only thing that actually works, did you verify the âgatewayâ supports downlinks?)
@kersing
Thank you very much for pointing these issues out.
There are many âdetailsâ about the LoRaWAN world that Iâm not completely aware of yet. So these remarks are very helpful to grasp them.
Iâll update my post ASAP.