Conversation
Adds a built-in preset for the Polish MeshCore community broker at mqtt.marwoj.net: MQTT over TLS on port 8883, username/password auth with credentials embedded in firmware, and the standard MeshCore topic layout. The Let's Encrypt chain anchors at the existing ISRG_ROOT_X1 constant, so no new CA certificate is needed. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a built-in MQTT preset for the Polish MeshCore community broker at
mqtt.marwoj.net.The broker uses MQTT over TLS on port 8883 with username/password
authentication and the standard MeshCore topic layout, so users can
configure it with a single command:
Configuration
mqtts://mqtt.marwoj.net:8883existing
tennmesh/nashmesh/ctmeshpatternISRG_ROOT_X1constant (the server presents a validLet's Encrypt chain, so no new CA certificate is added)
MQTT_TOPIC_MESHCORE, retain enabled, keepalive 55The credentials are a dedicated public firmware account created for this
preset; they are intentionally not a private or admin credential.
Changes
src/helpers/MQTTPresets.h— add themarwojentry and bumpMQTT_PRESET_COUNTfrom 36 to 37MQTT_IMPLEMENTATION.md— add the broker to the presets table and to thetwo notes listing presets that ship fixed credentials in firmware
Testing
using the equivalent
customslot configuration: the slot came up asconnected over TLS, authenticated successfully, and published without
publish errors.
openssl s_client -verify_return_error(verify return code 0).
pio run -e heltec_v4_repeater_observer_mqttbuilds clean with this change.nativegtest suite could not be run locally (no host compiler on thismachine); the preset table was instead compile-checked with static asserts
confirming
MQTT_PRESET_COUNTmatches the number of initialisers.