node_name_set

Name

node_name_set -- Set name of a node.

Parameter Format

The following table shows how the command is encoded for network transmission:

TypeNameDescription
uint8id = 19The command byte that identifies this command.
VNodeIDnode_idThe ID of the node being accessed.
(End of address part of command, below is data payload)
string500nameThe new name for the node.

Description

This command sets the name of a node. Node names must be unique; two nodes in the samme session cannot have the same name.

Node names are intended to be used as general-purpose node identifiers; unlike the numerical node IDs used to identify nodes in all commands, names are not session-local. This means that the combination of host ID (e.g. IP address) and a node name uniqely identifies a node in a way that is independent of any actual session with that host.