public class TxPowerLevel extends ADStructure
| Constructor and Description |
|---|
TxPowerLevel()
Constructor to create an instance with length=2, type=0x0A,
and data={0x00}.
|
TxPowerLevel(int length,
int type,
byte[] data)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getLevel()
Get the transmitted power level.
|
String |
toString() |
public TxPowerLevel()
public TxPowerLevel(int length,
int type,
byte[] data)
length - The length of the AD structure. The value should be
data.length + 1.type - The AD type. The value should always be 0x0A (Tx Power Level).data - The AD data.public int getLevel()
public String toString()
toString in class ADStructureCopyright © 2016. All rights reserved.