Get Ethernet Configuration - CognitiveTPG A799II Programming Manual

Two-color thermal receipt printer
Hide thumbs Also See for A799II:
Table of Contents

Advertisement

136
Chapter 4: Programming Commands

Get Ethernet configuration

ASCII
US
VT
Hexadecimal
1F
0B
Decimal
31
11
nn
value
00
Return all
01
Return IP address
02
Return net mask
03
Return gateway
04
Return TCP/IP port
08
Return DHCP status
09
Return inactivity timeout status
0A
Return keep alive pings status
0E
Return HTTP port
Returns rr record1...recordr for the selected value of nn, where rr is the number of records being returned (always 1 except
when nn = 00). Each returned record is in the format of id s0 s1 d0...ds.
id:
Identifying value of configuration setting type reflecting nn values (01-0E)
s0:
Low byte of data size
s1:
High byte of data size
d0...ds:
Data bytes representing value
Example:
Sending 1F 0B 08 (nn = 08, return DHCP status) returns 01 08 01 00 01. The first 01 is the rr (1 record) and the rest is the
record (08 01 00 01), where 08 is the id (DHCP), 01 00 is the size as s0 s1 (1 byte), and the final 01 is the data as d0...ds
(enabled).
nn
nn
nn
A799-2PG0001B 4/2016

Advertisement

Table of Contents
loading

Table of Contents