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

 

Little-endian

3

MAC Address

 

6

 

6 bytes MAC address. If the MAC

 

 

 

 

 

 

 

 

 

 

 

 

address is "00-90-E8-01-02-03",

 

 

 

 

 

 

the MAC[0] is 0, MAC[1] is

 

 

 

 

 

 

0x90(hex), MAC[2] is 0xE8(hex),

 

 

 

 

 

 

and so on.

 

 

 

 

4

Serial Number

4, DWORD

Little-endian

 

 

 

 

 

5

IP Address

 

4, DWORD

Little-endian

6

Netmask

 

4, DWORD

Little-endian

 

 

 

 

7

Default Gateway

4, DWORD

Little-endian

8

Firmware Version

4, DWORD

Little-endian

 

 

 

 

 

 

Ver1.3.4= 0x0103040

9

AP ID

 

4, DWORD

Little-endian

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 5610-8

 

 

 

0x80005610

0x5613

NPort 5610-16

 

 

 

0x80005610

0x5638

NPort 5630-8

 

 

 

0x80005610

0x5633

NPort 5630-16

 

 

 

E-2 NPort 5400 Series User’s Manual

Page 96
Image 96
Moxa Technologies 5400 user manual Auto IP Report Format, Info n, ID List, AP ID & Hardware ID Mapping Table