mirror of
https://github.com/meshtastic/protobufs.git
synced 2026-04-20 22:13:55 +00:00
Merge pull request #245 from meshtastic/develop
This commit is contained in:
commit
afa4605699
3 changed files with 30 additions and 3 deletions
23
config.proto
23
config.proto
|
|
@ -57,6 +57,18 @@ message Config {
|
|||
*/
|
||||
bool debug_log_enabled = 3;
|
||||
|
||||
/*
|
||||
* For boards without a hard wired button, this is the pin number that will be used
|
||||
* Boards that have more than one button can swap the function with this one. defaults to BUTTON_PIN if defined.
|
||||
*/
|
||||
uint32 button_gpio = 4;
|
||||
|
||||
/*
|
||||
* For boards without a PWM buzzer, this is the pin number that will be used
|
||||
* Defaults to PIN_BUZZER if defined.
|
||||
*/
|
||||
uint32 buzzer_gpio = 5;
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
@ -175,6 +187,17 @@ message Config {
|
|||
*/
|
||||
uint32 position_flags = 7;
|
||||
|
||||
/*
|
||||
* (Re)define GPS_RX_PIN for your board.
|
||||
*/
|
||||
uint32 rx_gpio = 8;
|
||||
|
||||
/*
|
||||
* (Re)define GPS_TX_PIN for your board.
|
||||
*/
|
||||
uint32 tx_gpio = 9;
|
||||
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -2,5 +2,5 @@
|
|||
*CannedMessageConfig.messages max_size:200
|
||||
|
||||
*MQTTConfig.address max_size:32
|
||||
*MQTTConfig.username max_size:32
|
||||
*MQTTConfig.password max_size:32
|
||||
*MQTTConfig.username max_size:64
|
||||
*MQTTConfig.password max_size:64
|
||||
|
|
|
|||
|
|
@ -184,7 +184,6 @@ message ModuleConfig {
|
|||
|
||||
/*
|
||||
* Preferences for the ExternalNotificationModule
|
||||
* FIXME - Move this out of UserPreferences and into a section for module configuration.
|
||||
*/
|
||||
bool enabled = 1;
|
||||
|
||||
|
|
@ -212,6 +211,11 @@ message ModuleConfig {
|
|||
* TODO: REPLACE
|
||||
*/
|
||||
bool alert_bell = 6;
|
||||
|
||||
/*
|
||||
* TODO: REPLACE
|
||||
*/
|
||||
bool use_pwm = 7;
|
||||
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue