SATO SG112 ex Programming Reference Manual page 434

Hide thumbs Also See for SG112 ex:
Table of Contents

Advertisement

No.
4
5
SNMP Agent Information Request
This command returns the SNMP agent information of this product.
 
1. Command SOH (HEX 01H) + LX
2. Return status/format
[STX] + sysContact + sysName + sysLocation + [ETX]  
STX (HEX 02H)
ETX (HEX 03H)
STX
(Total: 770 bytes)
3. Return status list
No.
1
2
3
Each item is fixed to 256 bytes. If each item is less than 256 bytes, the remaining are filled with
0x00. It is possible to display because it is the contact at trouble, however, it is according to snmp
rules.
In case of LAN, it is divided to multiple packets. In case of Status 4, packet size will be indicated at
the beginning 4 bytes of each packet. There is no rules regarding the number of division. Make sure
to take the packet including ETX.
Example) when divided into 5 packets
770 bytes + 4 bytes x 5 packets = total 790 bytes
SNMP Function Status Request
This command returns the SNMP ON/OFF state of this product.
 
1. Command SOH (HEX 01H) + LY
2. Return status/format
[STX] + SNMP ON/OFF state + [ETX]  
STX (HEX 02H)
ETX (HEX 03H)
(Total: 3 bytes)
3. Return status list
Item
Default router (HEX)
DHCP
sysContact
Item
sysContact
sysName
sysLocation
STX
Contents
Return default router address that is set.
0 (00H): Manual
1 (01H): DHCP
2 (01H): Auto
sysName
Contents
Return sysContact that is set.
Return sysName that is set.
Return sysLocation that is set.
SNMP ON/OFF
433
16
1
sysLocation
256
256
256
ETX
Number
of bytes
ETX
Number
of bytes

Advertisement

Table of Contents
loading

Table of Contents