public class MacAddress
extends java.lang.Object
| Constructor and Description |
|---|
MacAddress(java.lang.String mac)
Constructor of the class.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getDeviceID()
Returns the device ID associated with the MAC address in form
of byte array.
|
java.lang.String |
getDeviceIDString()
Returns the device id associated with the MAC address in form
of string.
|
java.lang.String |
getMac()
Returns the string of the MAC.
|
byte[] |
getMacAddress()
Returns the MAC address in form of byte array.
|
void |
setMac(java.lang.String mac)
Setter of the MAC string.
|
public MacAddress(java.lang.String mac)
mac - The string with the MAC, e.g: "64:ED:7A:45:AB:5E".public byte[] getDeviceID()
public java.lang.String getDeviceIDString()
public java.lang.String getMac()
public byte[] getMacAddress()
public void setMac(java.lang.String mac)
mac - the string representing the MAC address,
e.g: "64:ED:7A:45:AB:5E".© Copyright 2014 Etherios, Inc. All rights reserved. Etherios, Inc. is a Division of Digi International Inc.