WAN Manager SPI Programming Guide

WAN Manager SPI Programming Guide540013-001
4-1
4
Commands and Response Tokens
This section describes the tokens for commands and responses supported by the
WAN manager.
The header tokens in the command buffer reappear in the response buffer. Other than
header tokens, the command and response buffers have different body tokens. The
tokens supplied by the WAN manager are prefixed with ZWAN-. In addition to the
ZWAN tokens, the WAN manager also uses tokens prefixed with ZSPI, ZCOM, ZCMK,
and so on.
Header Tokens
Table 4-1 summarizes the common header tokens for the WAN manager commands
and responses.
Table 4-1. Header Tokens
Header Token Token Type
ZSPI-TKN-HDRTYPE ZSPI-TYP-UINT
ZSPI-TKN-CHECKSUM ZSPI-TYP-BOOLEAN
ZSPI-TKN-COMMAND ZSPI-TYP-ENUM
ZSPI-TKN-LASTERR ZSPI-TYP-LASTERR
ZSPI-TKN-LASTERRCODE ZSPI-TYP-TOKENCODE
ZSPI-TKN-MAX-FIELD-VERSION ZSPI-TYP-VERSION
ZSPI-TKN-MAXRESP ZSPI-TYP-INT
ZSPI-TKN-OBJECT-TYPE ZSPI-TYP-ENUM
ZSPI-TKN-SERVER-VERSION ZSPI-TYP-VERSION
ZSPI-TKN-SSID ZSPI-TYP-SSID
ZSPI-TKN-USEDLEN ZSPI-TYP-UINT
ZSPI-TKN-BUFLEN ZSPI-TYP-UINT