Skip to content

GE0L00G/ESP32_BleSerial

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ESP32_BleSerial

An easy-to-use BLE Serial library for Arduino ESP32. The class inherits the Arduino Stream class so all the familiar Serial functions are supported.

Installation

Add the BleSerial.h, BleSerial.cpp and ByteRingBuffer.h files to your project.

Usage

See the Examples/main.cpp file.

Configuration

The library can be set to toggle a pin when a device is connected or disconnected. This can be used for an LED indicator, for example. To enable this feature, set ENABLE_LED to 1 in the BleSerial.h file. The pin to toggle can be set as BLUE_LED in the same file.

The GATT UUID used by the BLE serial service may be changed in the BleSerial.h file.

About

A BLE Serial library for Arduino ESP32

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 100.0%