meshtastic / design

Visual communication of the meshtastic project
GNU General Public License v3.0
12 stars 8 forks source link

Conditional Field Validation #9

Open garthvh opened 5 months ago

garthvh commented 5 months ago

Would it be good to have common field validation across platforms so that conflicting settings are not enabled by users?

b8b8 commented 5 months ago

"Both phone and Device GPS should not be enabled at the same time."

Is there not a legitimate use case for this though. If you have higher quality phone GPS use it, but then default back to node GPS automatically. My car node (when i am actively driving around) is bluetoothed to my phone and providing high quality GPS updates to the device. When i am parked or someone else is using my car that doesnt have meshtastic, the device will use the onboard GPS and act as a "tracker" around town.

garthvh commented 5 months ago

Is there not a legitimate use case for this though. If you have higher quality phone GPS use it, but then default back to node GPS automatically. My car node (when i am actively driving around) is bluetoothed to my phone and providing high quality GPS updates to the device. When i am parked or someone else is using my car that doesnt have meshtastic, the device will use the onboard GPS and act as a "tracker" around town.

Yeah this one is more complicated for sure. Smart position actually works really well, you can prevent blended positions pretty easily and fall back to device gps when the phone disconnects, but all the other modes just blend the data together.

b8b8 commented 5 months ago

Blending is good. Just dont want a situation where it sets to phone position, toggles off discrete GPS, then loses phone position and doesnt turn discrete GPS on again.