mirror of
https://github.com/meshtastic/protobufs.git
synced 2026-04-20 22:13:55 +00:00
Merge pull request #352 from meshtastic/serial
Override console serial port
This commit is contained in:
commit
1a8f80d7fe
1 changed files with 11 additions and 5 deletions
|
|
@ -183,7 +183,6 @@ message ModuleConfig {
|
|||
|
||||
/*
|
||||
* Preferences for the SerialModule
|
||||
* FIXME - Move this out of UserPreferences and into a section for module configuration.
|
||||
*/
|
||||
bool enabled = 1;
|
||||
|
||||
|
|
@ -193,17 +192,17 @@ message ModuleConfig {
|
|||
bool echo = 2;
|
||||
|
||||
/*
|
||||
* TODO: REPLACE
|
||||
* RX pin (should match Arduino gpio pin number)
|
||||
*/
|
||||
uint32 rxd = 3;
|
||||
|
||||
/*
|
||||
* TODO: REPLACE
|
||||
* TX pin (should match Arduino gpio pin number)
|
||||
*/
|
||||
uint32 txd = 4;
|
||||
|
||||
/*
|
||||
* TODO: REPLACE
|
||||
* Serial baud rate
|
||||
*/
|
||||
Serial_Baud baud = 5;
|
||||
|
||||
|
|
@ -213,9 +212,16 @@ message ModuleConfig {
|
|||
uint32 timeout = 6;
|
||||
|
||||
/*
|
||||
* TODO: REPLACE
|
||||
* Mode for serial module operation
|
||||
*/
|
||||
Serial_Mode mode = 7;
|
||||
|
||||
/*
|
||||
* Overrides the platform's defacto Serial port instance to use with Serial module config settings
|
||||
* This is currently only usable in output modes like NMEA / CalTopo and may behave strangely or not work at all in other modes
|
||||
* Existing logging over the Serial Console will still be present
|
||||
*/
|
||||
bool override_console_serial_port = 8;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue