Skip to content

Latest commit

 

History

History
24 lines (23 loc) · 605 Bytes

README.md

File metadata and controls

24 lines (23 loc) · 605 Bytes

esp32_ble_simple_advertise

Overview

Minimal esp-idf BLE advertise example for ESP32.
This program periodically advertises short data to central devices.
You will find the last byte of the packet is updated every 2 seconds.

Usage

Build project

git clone https://github.com/UsukeO235/esp32_ble_simple_advertise.git
cd esp32_ble_simple_advertise
. $HOME/esp/esp-idf/export.sh
idf.py set-target esp32
idf.py build

Flash program

idf.py -p /dev/ttyUSB0 flash

/dev/ttyUSB0 is a port to where you connect your ESP32 board.

Launch monitor

idf.py monitor