Config_PositionConfig: Message<"meshtastic.Config.PositionConfig"> & {
    broadcastSmartMinimumDistance: number;
    broadcastSmartMinimumIntervalSecs: number;
    fixedPosition: boolean;
    gpsAttemptTime: number;
    gpsEnabled: boolean;
    gpsEnGpio: number;
    gpsMode: Config_PositionConfig_GpsMode;
    gpsUpdateInterval: number;
    positionBroadcastSecs: number;
    positionBroadcastSmartEnabled: boolean;
    positionFlags: number;
    rxGpio: number;
    txGpio: number;
}

Position Config

Type declaration

  • broadcastSmartMinimumDistance: number

    The minimum distance in meters traveled (since the last send) before we can send a position to the mesh if position_broadcast_smart_enabled

    from field: uint32 broadcast_smart_minimum_distance = 10;

  • broadcastSmartMinimumIntervalSecs: number

    The minimum number of seconds (since the last send) before we can send a position to the mesh if position_broadcast_smart_enabled

    from field: uint32 broadcast_smart_minimum_interval_secs = 11;

  • fixedPosition: boolean

    If set, this node is at a fixed position. We will generate GPS position updates at the regular interval, but use whatever the last lat/lon/alt we have for the node. The lat/lon/alt can be set by an internal GPS or with the help of the app.

    from field: bool fixed_position = 3;

  • gpsAttemptTime: number

    Deprecated in favor of using smart / regular broadcast intervals as implicit attempt time

    from field: uint32 gps_attempt_time = 6 [deprecated = true];

  • gpsEnabled: boolean

    Is GPS enabled for this node?

    from field: bool gps_enabled = 4 [deprecated = true];

  • gpsEnGpio: number

    (Re)define PIN_GPS_EN for your board.

    from field: uint32 gps_en_gpio = 12;

  • gpsMode: Config_PositionConfig_GpsMode

    Set where GPS is enabled, disabled, or not present

    from field: meshtastic.Config.PositionConfig.GpsMode gps_mode = 13;

  • gpsUpdateInterval: number

    How often should we try to get GPS position (in seconds) or zero for the default of once every 30 seconds or a very large value (maxint) to update only once at boot.

    from field: uint32 gps_update_interval = 5;

  • positionBroadcastSecs: number

    We should send our position this often (but only if it has changed significantly) Defaults to 15 minutes

    from field: uint32 position_broadcast_secs = 1;

  • positionBroadcastSmartEnabled: boolean

    Adaptive position braoadcast, which is now the default.

    from field: bool position_broadcast_smart_enabled = 2;

  • positionFlags: number

    Bit field of boolean configuration options for POSITION messages (bitwise OR of PositionFlags)

    from field: uint32 position_flags = 7;

  • rxGpio: number

    (Re)define GPS_RX_PIN for your board.

    from field: uint32 rx_gpio = 8;

  • txGpio: number

    (Re)define GPS_TX_PIN for your board.

    from field: uint32 tx_gpio = 9;

from message meshtastic.Config.PositionConfig