Skip to content
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

RAK11300 LoRa Module OTAA/ABP Example does not send payload with serial monitor attached #79

Open
ThomasLeister opened this issue Nov 3, 2024 · 0 comments

Comments

@ThomasLeister
Copy link

Hey! I just got into the RAKWireless ecosystem and I've been experimenting with your RAK11300 examples when I noticed a strange issue: It seems like the example program does not send any actual LoRa payload messages when being connected to the Arduino serial monitor at the same time.

The log says:

=====================================
Welcome to RAK11300 LoRaWan!!!
Type: OTAA
Region: EU868
=====================================
OTAA Mode, Network Joined!
Sending frame now...

and I can see the device join in ThingsNetwork:

example_join_no_message

... but no payload message (every 20 seconds) is received. Just join-related messages, then nothing.

This only seems to occur when the Arduno Serial Monitor is attached to the device. Under the following conditions the example code works fine:

  • Device connected to external USB power source, no laptop attached via USB
  • Device connected to laptop via USB, but no serial monitor attached or Arduino IDE running
  • Device connected to laptop, Arduino IDE is running, board is detected but serial monitor is not opened/attached

Only if the serial monitor is attached, the problem occurs and the example code seems to get stuck / freeze at "Sending frame now...".

SW versions:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant