Radiotap Decoder in Java

Last update 04/05/2015

Will decode any radiotap formatted byte array according to specification in http://www.radiotap.org

Following field will be implemented later:


USAGE

The following usage show how to parse a pcapng file (from Wireshark) that contains Packet with Radiotap headers.

You can use

You dont have to take the jar to you it is already in lib folder


COMMAND LINE SYNTAX

java -cp ../lib/pcapngdecoder-1.0.jar:radiotapdecoder-1.0.jar fr.bmartel.radiotapdecoder.main.DecodeMain -f ../radiotap_file/exemple.pcapng -v

-f : input file

-v : verbose, will show all section parsing content

This exemple is launched from release folder


PROGRAM SYNTAX

byte[] radioTapData = packet.getPacketData();

RadioTap radioTap = new RadioTap(radioTapData);

You can then look at all fields that are in the radiotap data with radioTap.getRadioTapFlagList()

Go check fr.bmartel.protocol.radiotap.inter.IRadiotapFlags interface to see all list.

radioTap.getRadioTapFlagList().getRadioTapData() will give you all the data you can grab according to flags above.

Go check fr.bmartel.protocol.radiotap.inter.IRadiotapData to see all data available.