firmware icon indicating copy to clipboard operation
firmware copied to clipboard

[Feature Request]: Change Lora Preset mode based on node/client GPS coordinates

Open Kryoh-hash opened this issue 1 year ago • 1 comments

Platform

Cross-Platform

Description

Description:

Currently, LoRa regional presets (such as frequency band and transmission power limits) must be manually selected in the “Region” settings. This proposal introduces an automatic adjustment mechanism that uses the node’s or paired device’s GPS location to apply the correct regional or country-specific LoRa preset and enforce the legal transmit power limit for that area.

Goal:

  1. Automatically ensure full compliance with regional and national LoRa/ISM band regulations (e.g., EU_868, EU_433, US_915, etc.);

  2. Prevent users from unintentionally operating outside legal limits;

  3. Improve usability and safety for mobile or roaming nodes.

Technical proposal:

  1. The Android/iOS app determines the node’s position (from onboard GPS, or from the phone if the node lacks GPS).

  2. Based on the detected country, the app automatically selects the appropriate LoRa region or sub-region preset.

Example:

In most of Europe, set EU_868 with max TX power of 27 dBm (500 mW).

In regions using EU_433, limit TX power to 10 mW.

Adds a user-controlled option in settings: “Auto-set region and TX power based on GPS.”

Benefits:

  1. Ensures automatic regulatory compliance worldwide;

  2. Reduces configuration errors and simplifies initial setup;

  3. Enables seamless operation for devices moving between countries that uses different presets on EU_868 (example) ;

  4. Enables future possibility to have specific lora settings used by local communities that could be on a "future" regional preset (example: Portugal or Spain with community profiles or local ones by city) ;

Additional considerations:

  • Could use a lightweight lookup table or API mapping GPS coordinates → LoRa region/country preset;

  • The app should warn or prompt users before automatically applying changes to frequency or power settings.

Thank you !

Kryoh-hash avatar Oct 15 '25 15:10 Kryoh-hash

Duplicate of: https://github.com/meshtastic/firmware/issues/7988

fifieldt avatar Oct 15 '25 21:10 fifieldt