NodeInfo: Message<"meshtastic.NodeInfo"> & {
    channel: number;
    deviceMetrics?: DeviceMetrics;
    hopsAway?: number;
    isFavorite: boolean;
    lastHeard: number;
    num: number;
    position?: Position;
    snr: number;
    user?: User;
    viaMqtt: boolean;
}

The bluetooth to device link: Old BTLE protocol docs from TODO, merge in above and make real docs... use protocol buffers, and NanoPB messages from device to phone: POSITION_UPDATE (..., time) TEXT_RECEIVED(from, text, time) OPAQUE_RECEIVED(from, payload, time) (for signal messages or other applications) messages from phone to device: SET_MYID(id, human readable long, human readable short) (send down the unique ID string used for this node, a human readable string shown for that id, and a very short human readable string suitable for oled screen) SEND_OPAQUE(dest, payload) (for signal messages or other applications) SEND_TEXT(dest, text) Get all nodes() (returns list of nodes, with full info, last time seen, loc, battery level etc) SET_CONFIG (switches device to a new set of radio params and preshared key, drops all existing nodes, force our node to rejoin this new group) Full information about a node on the mesh

Type declaration

  • channel: number

    local channel index we heard that node on. Only populated if its not the default channel.

    from field: uint32 channel = 7;

  • OptionaldeviceMetrics?: DeviceMetrics

    The latest device metrics for the node.

    from field: meshtastic.DeviceMetrics device_metrics = 6;

  • OptionalhopsAway?: number

    Number of hops away from us this node is (0 if adjacent)

    from field: optional uint32 hops_away = 9;

  • isFavorite: boolean

    True if node is in our favorites list Persists between NodeDB internal clean ups

    from field: bool is_favorite = 10;

  • lastHeard: number

    Set to indicate the last time we received a packet from this node

    from field: fixed32 last_heard = 5;

  • num: number

    The node number

    from field: uint32 num = 1;

  • Optionalposition?: Position

    This position data. Note: before 1.2.14 we would also store the last time we've heard from this node in position.time, that is no longer true. Position.time now indicates the last time we received a POSITION from that node.

    from field: meshtastic.Position position = 3;

  • snr: number

    Returns the Signal-to-noise ratio (SNR) of the last received message, as measured by the receiver. Return SNR of the last received message in dB

    from field: float snr = 4;

  • Optionaluser?: User

    The user info for this node

    from field: meshtastic.User user = 2;

  • viaMqtt: boolean

    True if we witnessed the node over MQTT instead of LoRA transport

    from field: bool via_mqtt = 8;

from message meshtastic.NodeInfo