Software that will be running on ESP32 boards (constantly receiving Probe Request frames).
- Main
followifierboard firmware - Some examples
- Install a C/C++ toolchain
- Clone the ESP-IDF repo
git clone --recursive git@github.com:espressif/esp-idf.git
- New environment variable
IDF_PATHpointing at the ESP-IDF directory python -m pip install --user -r $IDF_PATH/requirements.txtto install the Python packages required by ESP-IDF- Run
./installsh && . ./export.shin theesp-idfdirectory
- If the board is not recognized by the O.S., install these drivers following the instructions in
CP210x_VCP_Linux_4.x_Release_Notes.txt - Give the current user read and write access the serial port over USB with
sudo usermod -a -G dialout $USER - Log out and lock back in
- Run
ls /dev/tty*twice, first with the board/dongle unplugged, then with plugged in. The port which appears the second time is the one you need
- Install these drivers
System Preferences->Security & Privacy->Allow apps downloaded from:-> App Store and identified developer- Run
ls /dev/cu*/twice, first with the board/dongle unplugged, then with plugged in. The port which appears the second time is the one you need
- Install this zip file
- Connect the ESP32 to the computer
Win + X→ Device Manager → Ports → Ports (COM & LPT) → take note of the port to which the board is connected (e.g., "COM3")
- Install the Eclipse IDE
- First installation: Eclipse CDT for C/C++
- Eclipse already installed: install the C/C++ language support extension via
Help→Install New Software...→ Type the Eclipse version in theWork with:field and install the needed toolchain and autotools
- Follow this step-by-step guide
- Open a Unix shell (
Win + R→mingw32on Windows) cd $IDF_PATHto navigate to the ESP-IDF project rootcd examples/get-started/hello_world/to navigate to the hello world example- Preferably clean the project either with
idf.py cleanoridf.py fullclean - Build the project with
idf.py build - Flash and run the project with
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) - To exit IDF monitor use the shortcut
Ctrl+]
- A list of the most common Wireshark 802.11 filters