Skip to content

suo235/esp32_ble_simple_advertise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Minimal esp-idf BLE advertise example for ESP32

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published