node_create

Name

node_create -- Create a new node.

Parameter Format

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

TypeNameDescription
uint8id = 10The command byte that identifies this command.
VNodeIDnode_idAlways sent as ~0 in client-to-host transaction when requesting a node to be created. Filled-in by the host in responses and list results.
VNodeTypetypeThe type of node to create.
VNodeOwnerownerTells whether you're the owner of the node or not. Only used in callback.

Description

This command asks a host to create a new node, of the indicated type. If granted, the host will create the node and reply with the ID filled-in. If rejected, nothing happens.