Skip to content

Command line interface

Arguments for the command line.

Basic settings

--frequency, -f

  • Possible values: 2412 - 7125 (frequency of the channel)
  • Default value: 2412
  • Description: TX/RX frequency in MHz.

--channel-width, -w

  • Possible values: 20, 40, HT40-, 80, 160
  • Default value: FeitCSI_{timestamp}.dat (save in folder where the program running)
  • Description: Channel width in MHz

--output-file, -o

  • Possible values: path/to/file
  • Default value: FeitCSI_{timestamp}.dat (save in folder where the program running)
  • Description: File where the raw CSI will be stored

--format, -r

  • Possible values: NOHT, HT, VHT, HESU
  • Default value: HT
  • Description: 802.11 frame format type for the measuring/injecting

Inject settings

--antenna, -a

  • Possible values: 1, 2, 12
  • Default value: 1
  • Description: Transmitting antenna

--mcs, -m

  • Possible values: 0 - 11
  • Default value: 0
  • Description: MCS index.

    • For NOHT: 0 (6 Mbps) - 7 (57Mbps)
    • For HT: 0 - 7
    • For VHT: 0 - 9
    • For HE: 0 - 11

--spatial-streams, -s

  • Possible values: 1, 2
  • Default value: 1
  • Description: Number of the spatial streams

--guard-interval, -g

  • Possible values: 400, 800
  • Default value: 400
  • Description: Guard interval in ns

--ltf, -l

  • Possible values: 2xLTF+0.8, 2xLTF+1.6, 4xLTF+3.2, 4xLTF+0.8
  • Default value: 2xLTF+0.8
  • Description: HE LTF

--coding, -c

  • Possible values: BCC, LDPC
  • Default value: LDPC
  • Description: Coding method

--tx-power, -t

  • Possible values: 1 - 22
  • Default value: 10
  • Description: TX power in dBm

--mode, -i

  • Possible values: measure, inject, measureinject
  • Default value: measure
  • Description: Mode measure CSI, inject frames or both

--inject-delay, -d

  • Possible values: positive number
  • Default value: 100000
  • Description: Delay between frame injections in us.

--inject-repeat, -d

  • Possible values: positive number
  • Default value: 0 (0 means infinity)
  • Description: How many times inject frames

--plot, -p

  • Description: Live plotting of the CSI if argument is used

--gui, -x

  • Description: Run GUI application

Warning

Other arguments are ignored if you run with --gui

--udp-socket, -u

  • Description: Run as UDP socket. Listening on port 8008. Controlling via UDP socket is similiar to console, e.g. send string commands feitcsi --frequency 5180 --channel-width 160 --format HESU --output-file csi.dat. To stop extracting/injecting send string stop

--help

  • Description: Print help

--usage

  • Description: Print usage

Warning

Application are not fully sanitized against the bad combinations of the arguments (e.g. channel width 160 MHz and mode HT). So the program can behave unpredictably with the bad arguments. This will be fixed in the future releases.