node_subscribe

Name

node_subscribe -- Start subscribing to a node.

Parameter Format

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

TypeNameDescription
uint8id = 11The command byte that identifies this command.
VNodeIDnode_idThe node the client wishes to start subscribing to.
uint8alias = 1If this field is zero (FALSE), aliasing is activated, and the command should be interpreted as a node_unsubscribe instead. It is encoded as one (TRUE) to indicate node_subscribe.

Description

This command is used as a request to become a subscriber to a given node. It is sent from the requesting client to the host.

The response, if the request was granted, is to send top-level description data for the node in question (the exact nature of this data varies with the type of the node). If the request was denied, nothing happens.