* feat(OThread): Add Library * fix(OpenThread): fixes file list in CMakeLists.txt * fix(openthread): Fixes JSON CI Files * fix(openthread): Fixes JSON CI Files * fix(openthread): Include Openthread guarding * fix(openthread): COAP parametrization * fix(openthread): Include Openthread guarding * fix(openthread): Improves commentaries and code * fix(openthread): Improves code * fix(openthread): Includes StreamString.h * feat(openthread): New Scan Example * feat(openthread): Improved Scan Example * feat(openthread): README.md Initial documentation for ESP3 Arduino OpenThread CLI API. * feat(openthread): helper functions documentation Create helper_functions.md for ESP32 Arduino OpenThread API * fix(openthread): begin end * feat(openthread): onReceice example * fix(openthread): tx queue error * fix(doc): fixing documentation apresentation Fixes the documentation first paragraph in order to make it easier fore reading. It also displays in the very top which SoC are supported by the library. * fix(doc): documentation format * feat(openthread): commentary * fix(openthread): Typo, start/stop console * fix(openthread): library properties * ci(pre-commit): Apply automatic fixes * feat(openthread): formatting text * ci(pre-commit): Apply automatic fixes --------- Co-authored-by: Lucas Saavedra Vaz <32426024+lucasssvaz@users.noreply.github.com> Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
20 lines
595 B
C++
20 lines
595 B
C++
/*
|
|
* OpenThread.begin(false) will not automatically start a node in a Thread Network
|
|
* The user will need to start it manually using the OpenThread CLI commands
|
|
* Use the Serial Monitor to interact with the OpenThread CLI
|
|
*
|
|
* Type 'help' for a list of commands.
|
|
* Documentation: https://openthread.io/reference/cli/commands
|
|
*
|
|
*/
|
|
|
|
#include "OThreadCLI.h"
|
|
|
|
void setup() {
|
|
Serial.begin(115200);
|
|
OThreadCLI.begin(false); // No AutoStart - fresh start
|
|
Serial.println("OpenThread CLI started - type 'help' for a list of commands.");
|
|
OThreadCLI.startConsole(Serial);
|
|
}
|
|
|
|
void loop() {}
|