NeighborInfo: Message<"meshtastic.NeighborInfo"> & {
    lastSentById: number;
    neighbors: Neighbor[];
    nodeBroadcastIntervalSecs: number;
    nodeId: number;
}

Full info on edges for a single node

Type declaration

  • lastSentById: number

    Field to pass neighbor info for the next sending cycle

    from field: uint32 last_sent_by_id = 2;

  • neighbors: Neighbor[]

    The list of out edges from this node

    from field: repeated meshtastic.Neighbor neighbors = 4;

  • nodeBroadcastIntervalSecs: number

    Broadcast interval of the represented node (in seconds)

    from field: uint32 node_broadcast_interval_secs = 3;

  • nodeId: number

    The node ID of the node sending info on its neighbors

    from field: uint32 node_id = 1;

from message meshtastic.NeighborInfo