DeviceMetadata: Message<"meshtastic.DeviceMetadata"> & {
    canShutdown: boolean;
    deviceStateVersion: number;
    firmwareVersion: string;
    hasBluetooth: boolean;
    hasEthernet: boolean;
    hasPKC: boolean;
    hasRemoteHardware: boolean;
    hasWifi: boolean;
    hwModel: HardwareModel;
    positionFlags: number;
    role: Config_DeviceConfig_Role;
}

Device metadata response

Type declaration

  • canShutdown: boolean

    Indicates whether the device can shutdown CPU natively or via power management chip

    from field: bool canShutdown = 3;

  • deviceStateVersion: number

    Device state version

    from field: uint32 device_state_version = 2;

  • firmwareVersion: string

    Device firmware version string

    from field: string firmware_version = 1;

  • hasBluetooth: boolean

    Indicates that the device has native bluetooth capability

    from field: bool hasBluetooth = 5;

  • hasEthernet: boolean

    Indicates that the device has an ethernet peripheral

    from field: bool hasEthernet = 6;

  • hasPKC: boolean

    Has PKC capabilities

    from field: bool hasPKC = 11;

  • hasRemoteHardware: boolean

    Has Remote Hardware enabled

    from field: bool hasRemoteHardware = 10;

  • hasWifi: boolean

    Indicates that the device has native wifi capability

    from field: bool hasWifi = 4;

  • hwModel: HardwareModel

    Device hardware model

    from field: meshtastic.HardwareModel hw_model = 9;

  • positionFlags: number

    Indicates the device's current enabled position flags

    from field: uint32 position_flags = 8;

  • role: Config_DeviceConfig_Role

    Indicates that the device's role in the mesh

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

from message meshtastic.DeviceMetadata