Commit d4e6c3e
committed
feat(mqtt): add CONFIG_MESHTASTIC_DEFAULT_OK_TO_MQTT seed
Nothing set config.lora.config_ok_to_mqtt, so the consent bit the previous
commit added could only ever be false without a phone-app or admin write.
Seed it from Kconfig, defaulting to n to match the reference. Consent to
having your traffic carried off the local RF mesh and onto a broker — possibly
a public one — should be opt-in, so the shared default stays off and a
deployment that wants it enables it locally.
This governs only our OWN traffic. Whether this node republishes other
people's packets is decided by their bit and by whether the broker is private,
which is the other half and unchanged here.1 parent 201be36 commit d4e6c3e
2 files changed
Lines changed: 20 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
118 | 136 | | |
119 | 137 | | |
120 | 138 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
415 | 415 | | |
416 | 416 | | |
417 | 417 | | |
| 418 | + | |
| 419 | + | |
418 | 420 | | |
419 | 421 | | |
420 | 422 | | |
| |||
0 commit comments