meshtastic / firmware

Meshtastic device firmware
https://meshtastic.org
GNU General Public License v3.0
2.99k stars 715 forks source link

[Feature Request]: Disable MQTT when/while RangeTest enabled #3201

Closed RightHandMan1 closed 3 months ago

RightHandMan1 commented 4 months ago

Platform

NRF52, ESP32

Description

Was thinking it would be nice to make Range Test enable switch, to automatically disable MQTT while RT is enabled. When RT is disabled, MQTT would be re-enabled(if previously on). Believe doing this will stop most of the RT messaging to others' nodes and MQTT, and utilizing the extra airtime especially in time limited areas and processing. This could also allow removal of the 'dont process RT seq' code in the apps. I cant think of a good reason to have the RT traffic going over MQTT, let alone all others' nodes. At least, put a blurb in the docs and apps RT screen, to disable MQTT before you RT...

RightHandMan1 commented 4 months ago

@thebentern ??

andrekir commented 3 months ago

we have a few safeguards to prevent range test spamming, and one of them is blocking the sequence messages from reaching the public MQTT server. so this is already covered.