Met dank aan Google, of heb je die niet?
FF goed lezen? Het is een voobeeld! Dus zelf ff knutselen.
How can I determine my UDS, SDS or Cobox's serial number from it’s ethernet (MAC) address?
Calculating Serial Numbers from Ethernet (MAC) address:
(for units: CoBox-E2, CoBox-FL, Mini, Micro, UDS-10, UDSx00, XPress-DR, SDSx100, DinRail, NTP)
Brief explanation of the Ethernet address serial numbers
- ---------------------------------------
Ethernet addresses are of the hex form:
00-20-4A-xx-xx-xx
00-20-4A is a range of Ethernet addresses that Lantronix purchased. All Lantronix CoBox/UDS10 products that have an Ethernet address will use 00-20-4A as the first six digits of their network address.
The next two digits of the Ethernet address are the product code.
So, an Ethernet address for an UDS10 (US-EMI) would be:
00-20-4A-54-xx-xx
Note that xx-xx is a hexadecimal number with values ranging from 00-00 to FF-FF. This corresponds to decimal numbers 0 through 65535.
The actual product serial number is generated by converting the last 4 characters of the Ethernet address into decimal and then placing the product code in front of the number. So for example, the serial number for Ethernet address:
00-20-4A-54-00-82 -- convert 0082 hex to decimal ==> 130
-- pad with leading zeros(5 digits total) ==> 00130
-- Start with the product code 54 => 54
-- Append the unit number ==> 5400130
Current list of product codes:
upper half 4th Byte:
1 US-LTRX
2 MX-HEI
3 GmbH-LTRX
4 Gmbh-RTG
5 US-EMI
6 US-EMI
Lower half of the 4th Byte:
1 - one port (DinRail, Mini)
2 - two port (E2, NTP, E2M)
4 - one port (UDS10, Micro, Mini-Rev2)
8 - Token Ring
Eindelijk is de kleur GROEN weer thuis...