Skip to content

Latest commit

 

History

History

followifier

Folders and files

README.md

Overview

This is the firmware for followifier boards.

How it works

  1. Board starts sniffing and storing packets
  2. Upon reaching a certain amount of stored packets:
    1. Board stops sniffing
    2. Board connects to the Wi-Fi network
    3. Board flushes all the data to the core server
    4. Board disconnects from the Wi-Fi network
  3. Board starts sniffing again

Configuration

  1. Run the core server and take note of its IP address and port
    • More instructions on how to do it here
  2. Set the Wi-Fi SSID, the Wi-Fi password, and the core server's IP address and port in main/util/conf.h
    • You can see known Wi-Fi networks' details on Linux by using:
      $ sudo cat /etc/NetworkManager/system-connections/<SSID> | grep 'ssid=\|psk='
  3. Clean, compile, flash and run the software on all boards, one at a time:
    $ idf.py fullclean && idf.py build && idf.py -p <port> flash monitor 
    Where <port> indicates the serial port to which the ESP32 board is connected to (e.g., "COM3" on Windows or "/dev/ttyUSB0" on Linux)
    • You can list all connected boards on Linux with:
      $ ls /dev/ttyUSB*
  4. To exit IDF monitor use the shortcut Ctrl+]