Using SparkplugCmd Utility as Sparkplug Edge Node: Difference between revisions
From OPC Labs Knowledge Base
No edit summary |
|||
| Line 9: | Line 9: | ||
This command starts a Sparkplug edge node with pre-defined content (metrics on the edge node itself, and devices with further metrics on them). By default, it connects to "mqtt://localhost" (unauthenticated TCP connection, using port 1883). | This command starts a Sparkplug edge node with pre-defined content (metrics on the edge node itself, and devices with further metrics on them). By default, it connects to "mqtt://localhost" (unauthenticated TCP connection, using port 1883). | ||
=== Sub-commands === | |||
By default, the edge node runs until the you press {{Style=keyboard|X}} on the keyboard. Use the '''!wait''' sub-command to specify a finite duration. | |||
Revision as of 09:41, 25 August 2025
For general information about the SparkplugCmd tool, see Category:SparkplugCmd Utility.
Commands, Arguments and Options
The commands described here can be entered at the SparkplugCmd> prompt, or directly on the command-line invoking the SparkplugCmd utility.
Command: edgeNode start
This command starts a Sparkplug edge node with pre-defined content (metrics on the edge node itself, and devices with further metrics on them). By default, it connects to "mqtt://localhost" (unauthenticated TCP connection, using port 1883).
Sub-commands
By default, the edge node runs until the you press X on the keyboard. Use the !wait sub-command to specify a finite duration.