Skip to content

Feature Request: -get position should indicate if position is being shared on any channels or not #752

@fastalan

Description

@fastalan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions