Skip to content

Map report should work over devices which do not have network hardware (with client proxy)#7341

Merged
thebentern merged 2 commits intomasterfrom
mapreport-over-proxy
Jul 15, 2025
Merged

Map report should work over devices which do not have network hardware (with client proxy)#7341
thebentern merged 2 commits intomasterfrom
mapreport-over-proxy

Conversation

@thebentern
Copy link
Contributor

No description provided.

@thebentern thebentern requested a review from Copilot July 14, 2025 21:36
@thebentern thebentern assigned garthvh and unassigned garthvh Jul 14, 2025
@thebentern thebentern requested a review from garthvh July 14, 2025 21:36
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR enables map reporting functionality on devices without network hardware by allowing them to use a client proxy connection. The change restructures the MQTT runOnce() method to check for enabled MQTT features and establish connection desire before verifying network hardware availability.

  • Moved MQTT feature enablement check outside the HAS_NETWORKING conditional block
  • Repositioned HAS_NETWORKING check to only guard network-specific operations like pubSub.loop()

@thebentern thebentern requested a review from caveman99 July 14, 2025 21:36
Copy link
Member

@fifieldt fifieldt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool!

@thebentern thebentern merged commit 31d56c1 into master Jul 15, 2025
52 checks passed
@garthvh
Copy link
Member

garthvh commented Jul 15, 2025

Yay, this was confusing

@caveman99 caveman99 deleted the mapreport-over-proxy branch July 16, 2025 22:41
oscgonfer pushed a commit to fablabbcn/smartcitizen-meshtastic that referenced this pull request Jul 21, 2025
…e (with client proxy) (meshtastic#7341)

* Map report should work over devices which do not have network hardware (with client proxy)

* Fix else
oscgonfer pushed a commit to fablabbcn/smartcitizen-meshtastic that referenced this pull request Jul 22, 2025
…e (with client proxy) (meshtastic#7341)

* Map report should work over devices which do not have network hardware (with client proxy)

* Fix else
oscgonfer pushed a commit to fablabbcn/smartcitizen-meshtastic that referenced this pull request Jul 23, 2025
…e (with client proxy) (meshtastic#7341)

* Map report should work over devices which do not have network hardware (with client proxy)

* Fix else
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.

3 participants