-
Notifications
You must be signed in to change notification settings - Fork 315
Description
Overview
Had a new node that was reporting a position 130 km away from correct location, wanted to use CLI to troubleshoot as IOS app was not working as expected. There is a great deal of confusion about position settings globally and channel position settings. An improvement to the CLI could help resolve that.
Proposal
-get position should indicate no channels or which channels are set to report position and at what integer granularity
Current Output
meshtastic.exe --get position
Connected to radio
position.position_broadcast_secs: 300
position.gps_update_interval: 30
position.position_flags: 1003
position.broadcast_smart_minimum_distance: 100
position.broadcast_smart_minimum_interval_secs: 30
position.gps_mode: 1
Completed getting preferences
Improved Output - No channels position enabled
meshtastic.exe --get position
Connected to radio
position.position_broadcast_secs: 300
position.gps_update_interval: 30
position.position_flags: 1003
position.broadcast_smart_minimum_distance: 100
position.broadcast_smart_minimum_interval_secs: 30
position.gps_mode: 1
Completed getting preferences
Channels with Precision Enabled:
Index 0: PRIMARY "moduleSettings": { "positionPrecision": 32, "isClientMuted": false }, "channelNum": 0, "name": "", "id": 0
Completed getting Channels