mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-22 18:52:30 +00:00
#743 - Stub out for "mode 10" - NMEA string.
This commit is contained in:
@@ -186,9 +186,19 @@ bool SerialPluginRadio::handleReceived(const MeshPacket &mp)
|
|||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
// DEBUG_MSG("* * Message came from the mesh\n");
|
|
||||||
// Serial2.println("* * Message came from the mesh");
|
if (radioConfig.preferences.serialplugin_mode == 0 || radioConfig.preferences.serialplugin_mode == 1) {
|
||||||
Serial2.printf("%s", p.payload.bytes);
|
// DEBUG_MSG("* * Message came from the mesh\n");
|
||||||
|
// Serial2.println("* * Message came from the mesh");
|
||||||
|
Serial2.printf("%s", p.payload.bytes);
|
||||||
|
|
||||||
|
} else if (radioConfig.preferences.serialplugin_mode == 10) {
|
||||||
|
/*
|
||||||
|
@jobionekabnoi
|
||||||
|
Add code here to handle what gets sent out to the serial interface.
|
||||||
|
Format it the way you want.
|
||||||
|
*/
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user