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

Tether API + mm support #2832

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open

Tether API + mm support #2832

wants to merge 2 commits into from

Conversation

avtolstoy
Copy link
Member

@avtolstoy avtolstoy commented Oct 4, 2024

TODO

Test application

#include "application.h"

SerialLogHandler dbg(115200, LOG_LEVEL_ALL);

SYSTEM_MODE(SEMI_AUTOMATIC);

SYSTEM_THREAD(ENABLED);

/* executes once at startup */
void setup() {
    waitUntil(Serial.isConnected);
    // Enable Cellular
    Cellular.on();
    Cellular.connect();
    // Bind Tether interface to Serial1 @ 460800 baudrate with default settings (8n1 + RTS/CTS flow control)
    Tether.bind(TetherSerialConfig().baudrate(460800).serial(Serial1));
    // Turn on Tether interface and bring it up
    Tether.on();
    Tether.connect();
}

void loop() {

}

@avtolstoy avtolstoy added this to the 6.2.0 milestone Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant