And then you can develop your own programs to receive this information from the NPort. Here is NPort’s Auto IP Report Protocol. We provide an example for you to easily develop your own programs. You can find this example on Moxa’s website.
http://web2.moxa.com.tw/services/download/download.asp
Auto IP Report Format
“MOXA”, 4 bytes Info[0]
Info[1]
…
Info[n]
Info [n]
Field |
| ID | Length | Data | ||
|
|
|
|
|
|
|
Length |
| 1 | 1 |
| Variable, Length is “Length Field” | |
ID List |
|
|
|
|
|
|
ID Value | Description |
| Length |
| Note | |
|
|
|
|
|
| |
1 | Server Name |
| Variable |
| ASCII char | |
2 | Hardware ID |
| 2 |
| ||
3 | MAC Address |
| 6 |
| 6 bytes MAC address. If the MAC | |
|
|
|
|
|
| |
|
|
|
|
|
| address is |
|
|
|
|
|
| the MAC[0] is 0, MAC[1] is |
|
|
|
|
|
| 0x90(hex), MAC[2] is 0xE8(hex), |
|
|
|
|
|
| and so on. |
|
|
|
| |||
4 | Serial Number | 4, DWORD | ||||
|
|
|
|
| ||
5 | IP Address |
| 4, DWORD | |||
6 | Netmask |
| 4, DWORD | |||
|
|
|
| |||
7 | Default Gateway | 4, DWORD | ||||
8 | Firmware Version | 4, DWORD | ||||
|
|
|
|
|
| Ver1.3.4= 0x0103040 |
9 | AP ID |
| 4, DWORD |
AP ID & Hardware ID Mapping Table
AP ID | Hardware ID | Product |
0x80005000 | 0x0504 | NPort 5410 |
0x80005000 | 0x0534 | NPort 5430 |
|
|
|
0x80005000 | 0x1534 | NPort 5430I |
|
|
|
0x80000312 | 0x0312 | NPort 5230 |
|
|
|
0x80000312 | 0x0322 | NPort 5210 |
|
|
|
0x80000312 | 0x0332 | NPort 5232 |
|
|
|
0x80000312 | 0x1332 | NPort 5232I |
|
|
|
0x80005610 | 0x5618 | NPort |
|
|
|
0x80005610 | 0x5613 | NPort |
|
|
|
0x80005610 | 0x5638 | NPort |
|
|
|
0x80005610 | 0x5633 | NPort |
|
|
|