Table of Contents
This code is already setup on the ESP32s, but we have included the instructions below just in case you want to change the code yourself and test things out.
- PlatformIO
The very first thing that needs to be done is to connect the ESP32 to the device which has this folder/code.
Next, navigate to the BLE-Broadcasting/ directory in the terminal.
Once the Setup steps have been completed, run the following command:
pio run --target uploadThen, you just need to wait until the === [SUCCESS] === message shows up. This should usually take approximately 30 seconds to complete.
To see if the ESP32 code was flashed to the device correctly, run the following command:
pio device monitorThe MAC address of the device should be constantly outputted to the screen every couple of seconds. If this is not the case, then you may need to unplug and replug the ESP32 back into the computer, then re-flash the code to it.
To exit this Serial Monitor, type Ctrl and C on the keyboard.
- Instead of using the commands listed above individually, you can run
make runormake monitorto flash to the ESP32 and run the serial monitor.
This project is licensed under the terms of the MIT license. Refer to LICENSE for more information.