Before compile this project, please install ESP-IDF and set $(IDF_PATH)
:
% export IDF_PATH=/your/esp-idf/path
- Clone the BTstack.
% cd ~/esp
% git clone https://github.com/bluekitchen/btstack.git
- Clone this project into "btstack/port/esp32", and copy "components" and "sdkconfig" files from the template directory.
% cd btstack/port/esp32
% git clone https://github.com/MinatsuT/esp32_remote_shutter.git
% cp -r template/components esp32_remote_shutter
% cp template/sdkconfig esp32_remote_shutter
- Edit serial configurations according to your environment.
% cd esp32_remote_shutter
% make menuconfig
- Compile, flash and start monitoring.
% make flash monitor
- Scan BT devices from your smartphone and establish a connection to the "ESP32 Remote Shutter" device.
- Start camera app on your smartphone.
- Push "enter" from the above monitor, then shutter code (Volume Up) will be sent.