Skip to content

Add a delay to mt_serial_init #43

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AnthonyErr
Copy link

Serial Connection Fix

While using the client library, I experienced issues where a successful serial connection would not be established.
To solve this, I added a short 4-second delay at the beginning of the mt_serial_init() function:

void mt_serial_init(int8_t rx_pin, int8_t tx_pin, uint32_t baud) {
    delay(4000);  // Needed to allow the LoRa device firmware to boot up
    // Serial initialization follows...
}

@CLAassistant
Copy link

CLAassistant commented May 19, 2025

CLA assistant check
All committers have signed the CLA.

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

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

Successfully merging this pull request may close these issues.

2 participants