216

SGD Wired Commands

Command Structure

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.

Example • This is an example of a command structure illustration:

! U1 setvar "ip.addr" "value"

 

 

 

 

 

 

 

 

1

2

3

1Command—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).

2Attribute—always in double quotes and must be specified in lower case.

3Chosen value—always in double quotes. Only applicable for setvar and do.

This command must be terminated by a space character or a CR/ LF (0x0D, 0x0A).

Note • Some RF cards do not support all of the SGD commands.

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 syntax shows how you can send multiple getvar commands:

1 ! U getvar "ip.telnet.enable"

getvar "ip.dhcp.enable"

2

getvar "ip.dhcp.cid_prefix"

3 END

1The command portion of the string does not use the "1" after the "! U".

2Commands issued after the first command do not require the "! U".

3The string of commands is terminated by the word "END" with a space after the word, and by a carriage return/ line feed.

14245L-003

EPL Programming Guide

12/16/13

Page 216
Image 216
Zebra Technologies 14245L-003 manual How to Send Multiple SGD Commands, 216