SGD Wired Commands
Command Structure
216
14245L-003 EPL Programming Guide 12/16/13
Command Structure
It is important to understand the structure of the command and its components. A command
structure illustration is provided for each command in this guide.
This command must be terminated by a space character or a CR/ LF (0x0D, 0x0A).
How to Send Multiple SGD Commands
For any getvar, setvar, or do command, if you issue the syntax without the "1" and use
the END command followed by a space, multiple SGD commands are sent simultaneously.
Example • This is an example of a command structure illustration:
1
Command—always preceded with an exclamation point (!) and must be specified in
lower case. A space resides between the !and U1 and between U1 and the command
(setvar or getvar).
2
Attribute—always in double quotes and must be specified in lower case.
3
Chosen value—always in double quotes. Only applicable for setvar and do.
Note • Some RF cards do not support all of the SGD commands.
! U1 setvar
"ip.addr" "value"
1
2
3
Example • This syntax shows how you can send multiple getvar commands:
1
The command portion of the string does not use the "1" after the "! U".
2
Commands issued after the first command do not require the "! U".
3
The string of commands is terminated by the word "END" with a space after the
word, and by a carriage return/ line feed.
! U getvar "ip.telnet.enable"
getvar "ip.dhcp.enable"
getvar "ip.dhcp.cid_prefix"
END
1
3
2