Skip to content

Conversation

rmn30
Copy link
Collaborator

@rmn30 rmn30 commented Jul 23, 2025

This allows selecting 10.0.0.10 for when using a local MQTT server set up with a wifi bridge to ethernet for sonata.
Out of laziness I used the unencrypted port 1883 so that I don't have to set up a custom CA.
Sonata will still use SSL and there is also e2e encryption...

Also add a connect button so you can select the server before attempting to connect.

Sonata firmware tweaks to follow.

@rmn30 rmn30 requested a review from davidchisnall July 23, 2025 10:53
@rmn30
Copy link
Collaborator Author

rmn30 commented Jul 23, 2025

Unrelated but we should really be using the async API of MQTT3Client as right now it blocks the main thread when connecting etc.

Add trust anchor for a self-signed cert used with local server and
modify ifdefing to allow selecting between three different servers at
compile time.  Print a message showing the server being used to assist
with debugging.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant