Edzelf/LoRa

nice code.. and works fine. You only have to wait 2 minutes after you receive the message "Unknown event"

github-niremail opened this issue · 2 comments

Hi:

I'm a Hardware engineer but I like to test these arduino boards. Today I have been testing a STM32F103 board connected to a RM95 LoRa Transceiver. I have been looking for several examples to test them and witout no doubt your code is the best option to try to understand how it works.

The only issue is related to the message "Unknown event", it's a little confusing, as you comment in the previous example it's not an error, the only thing you have to do is to wait several minutes (2 minutes) in my case in order to synchronize the node with the LoRa Gateway.

Thanks for your hard work.

imagen
imagen

Some LMIC libraries generate more events than others. Eamples are "EV_JOIN_TXCOMPLETE" and "EV_TXSTART".
Unknown events are printed as "unknown", but that is not an error message.
I usually add an exclamition mark ("!") in the message if it is a real error.
A two minute wait for a join is perfectly normal.
I have changed the software, so it is now capable of printing 2 more common events.

Thanks for your works and comments, it is really useful when you are a beginner and you have to start from the scratch, the documentation is really awesome.

Now I will try to add some data from an I2C sensor, which it is very common requirement, when you try to harvest some parameters such as temperature, humidity, pressure, and so on. Also as you know it has advantage that the same bus lines can be share the same lines among several sensors.

Kind regards and hope you the best from Europe.