MapReport: Message<"meshtastic.MapReport"> & {
    altitude: number;
    firmwareVersion: string;
    hasDefaultChannel: boolean;
    hwModel: HardwareModel;
    latitudeI: number;
    longitudeI: number;
    longName: string;
    modemPreset: Config_LoRaConfig_ModemPreset;
    numOnlineLocalNodes: number;
    positionPrecision: number;
    region: Config_LoRaConfig_RegionCode;
    role: Config_DeviceConfig_Role;
    shortName: string;
}

Information about a node intended to be reported unencrypted to a map using MQTT.

Type declaration

  • altitude: number

    Altitude in meters above MSL

    from field: int32 altitude = 11;

  • firmwareVersion: string

    Device firmware version string

    from field: string firmware_version = 5;

  • hasDefaultChannel: boolean

    Whether the node has a channel with default PSK and name (LongFast, MediumSlow, etc...) and it uses the default frequency slot given the region and modem preset.

    from field: bool has_default_channel = 8;

  • hwModel: HardwareModel

    Hardware model of the node, i.e. T-Beam, Heltec V3, etc...

    from field: meshtastic.HardwareModel hw_model = 4;

  • latitudeI: number

    Latitude: multiply by 1e-7 to get degrees in floating point

    from field: sfixed32 latitude_i = 9;

  • longitudeI: number

    Longitude: multiply by 1e-7 to get degrees in floating point

    from field: sfixed32 longitude_i = 10;

  • longName: string

    A full name for this user, i.e. "Kevin Hester"

    from field: string long_name = 1;

  • modemPreset: Config_LoRaConfig_ModemPreset

    Modem preset used by the radio (LongFast, MediumSlow, etc...)

    from field: meshtastic.Config.LoRaConfig.ModemPreset modem_preset = 7;

  • numOnlineLocalNodes: number

    Number of online nodes (heard in the last 2 hours) this node has in its list that were received locally (not via MQTT)

    from field: uint32 num_online_local_nodes = 13;

  • positionPrecision: number

    Indicates the bits of precision for latitude and longitude set by the sending node

    from field: uint32 position_precision = 12;

  • region: Config_LoRaConfig_RegionCode

    The region code for the radio (US, CN, EU433, etc...)

    from field: meshtastic.Config.LoRaConfig.RegionCode region = 6;

  • role: Config_DeviceConfig_Role

    Role of the node that applies specific settings for a particular use-case

    from field: meshtastic.Config.DeviceConfig.Role role = 3;

  • shortName: string

    A VERY short name, ideally two characters. Suitable for a tiny OLED screen

    from field: string short_name = 2;

from message meshtastic.MapReport