public final class RadiotapDataChannel extends java.lang.Object implements RadiotapPacket.RadiotapData
| Modifier and Type | Class and Description |
|---|---|
static class |
RadiotapDataChannel.Builder |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.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.
|
java.lang.String |
toString() |
java.lang.String |
toString(java.lang.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.RadiotapDatapublic byte[] getRawData()
getRawData in interface RadiotapPacket.RadiotapDatapublic RadiotapDataChannel.Builder getBuilder()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toString(java.lang.String indent)
toString in interface RadiotapPacket.RadiotapDataindent - indentpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2011 - 2018 Pcap4J.org. All rights reserved.