Moxa Technologies NE-4100 Network Card User Manual


 
NE-4100 Series User’s Manual Auto IP Report Protocol
C-2
IP Address Report Structure
The first 4 bytes of the module’s IP address report are the characters “MOXA”. The rest of the
report is composed of 9 items, with each item preceded by a 2-byte header indicating the item ID
and item length.
Header
(Item ID)
Header,
(Item Length)
Item
(none) (none)
“MOXA”
(text string)
1 (varies)
server name
(text string)
2 2
hardware ID
(little endian, see table below)
3 6
MAC address
(00-90-E8-01-02-03 would be sent in sequence as 0x00, 0x90,
0xE8, 0x01, 0x02, 0x03)
4 4
serial number
(little endian DWORD)
5 4 IP address
6 4 netmask
7 4 default gateway
8 4
firmware version
(little endian DWORD, Version 4.3.1= 0x04030100)
9 4
AP ID
(little endian DWORD, see table below)
Hardware and AP ID
Each model is assigned a Hardware ID and AP ID as shown below:
Product Hardware ID AP ID
NE-4110S 0x4119 0x80004100
NE-4120S 0x4129 0x80004100
NE-4100T 0x4109 0x80004100
NE-4110A 0x4118 0x80004100
NE-4120A 0x4128 0x80004100
Example
The following example shows the first 22 bytes of a typical IP address report:
report header
“MOXA”
item ID
item length
server name
“TEST”
item ID
item length
hardware
ID
0x4119
item ID
item length
MAC address
00-90-E8-01-02-03
HEX 4D 4F 58 41 01 04
54
45
53
54
02
02
19
41
03
06 00 90 E8 01 02
03
ASCII “M” “O” “X” “A” “T”
“E”
“S”
“T”