Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions meshtastic/config.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1069,6 +1069,18 @@ message Config {
NOT_PRESENT = 2;
}

enum DynamicCodingRateMode {
/*
* Keep using the configured static coding rate.
*/
DCR_OFF = 0;

/*
* Select LoRa coding rate per packet using local airtime policy.
*/
DCR_ON = 1;
}

/*
* When enabled, the `modem_preset` fields will be adhered to, else the `bandwidth`/`spread_factor`/`coding_rate`
* will be taked from their respective manually defined fields
Expand Down Expand Up @@ -1199,6 +1211,12 @@ message Config {
* Don't use radiolib to initialize the radio, instead listen for a serialHal connection
*/
bool serial_hal_only = 107;

/*
* Dynamic Coding Rate policy mode. DCR_OFF keeps the configured static coding rate; DCR_ON applies
* per-packet CR selection.
*/
DynamicCodingRateMode dcr_mode = 108;
}

message BluetoothConfig {
Expand Down