public final class RadiotapDataChannel extends Object implements RadiotapPacket.RadiotapData
Modifier and Type | Class and Description |
---|---|
static class |
RadiotapDataChannel.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
RadiotapDataChannel.Builder |
getBuilder() |
boolean |
getFourthLsbOfFlags() |
short |
getFrequency()
Tx/Rx frequency in MHz
|
int |
getFrequencyAsInt()
Tx/Rx frequency in MHz
|
boolean |
getLsbOfFlags() |
byte[] |
getRawData() |
boolean |
getSecondLsbOfFlags() |
boolean |
getThirdLsbOfFlags() |
int |
hashCode() |
boolean |
isCck() |
boolean |
isDynamicCckOfdm() |
boolean |
isFiveGhzSpectrum() |
boolean |
isGfsk() |
boolean |
isGsm() |
boolean |
isHalfRate() |
boolean |
isOfdm() |
boolean |
isOnlyPassiveScan() |
boolean |
isQuarterRate() |
boolean |
isStaticTurbo() |
boolean |
isTurbo() |
boolean |
isTwoGhzSpectrum() |
int |
length() |
static RadiotapDataChannel |
newInstance(byte[] rawData,
int offset,
int length)
A static factory method.
|
String |
toString() |
String |
toString(String indent) |
public static RadiotapDataChannel newInstance(byte[] rawData, int offset, int length) throws IllegalRawDataException
ByteArrays.validateBounds(byte[], int, int)
, which may throw exceptions undocumented here.rawData
- rawDataoffset
- offsetlength
- lengthIllegalRawDataException
- if parsing the raw data fails.public short getFrequency()
public int getFrequencyAsInt()
public boolean getLsbOfFlags()
public boolean getSecondLsbOfFlags()
public boolean getThirdLsbOfFlags()
public boolean getFourthLsbOfFlags()
public boolean isTurbo()
public boolean isCck()
public boolean isOfdm()
public boolean isTwoGhzSpectrum()
public boolean isFiveGhzSpectrum()
public boolean isOnlyPassiveScan()
public boolean isDynamicCckOfdm()
public boolean isGfsk()
public boolean isGsm()
public boolean isStaticTurbo()
public boolean isHalfRate()
public boolean isQuarterRate()
public int length()
length
in interface RadiotapPacket.RadiotapData
public byte[] getRawData()
getRawData
in interface RadiotapPacket.RadiotapData
public RadiotapDataChannel.Builder getBuilder()
public String toString(String indent)
toString
in interface RadiotapPacket.RadiotapData
indent
- indentCopyright © 2011–2019 Pcap4J.org. All rights reserved.