All Projects → lucascoelhof → ESP32BleAdvertise

lucascoelhof / ESP32BleAdvertise

Licence: Apache-2.0 license
Simple library for BLE advertise using ESP32 in Arduino

Programming Languages

C++
36643 projects - #6 most used programming language

Projects that are alternatives of or similar to ESP32BleAdvertise

arduino-ble-gadget
Create your own Do-It-Yourself BLE enabled sensor gadget on the ESP32 platform.
Stars: ✭ 31 (-20.51%)
Mutual labels:  esp32, bluetooth, ble, arduino-library
Arduino-BLE-MIDI
MIDI over Bluetooth Low Energy (BLE-MIDI) 1.0 for Arduino
Stars: ✭ 133 (+241.03%)
Mutual labels:  esp32, ble, arduino-library, bluetooth-low-energy
Esp32 Ble Keyboard
Bluetooth LE Keyboard library for the ESP32 (Arduino IDE compatible)
Stars: ✭ 533 (+1266.67%)
Mutual labels:  esp32, bluetooth, ble, arduino-library
Esp32 Ble Mouse
Bluetooth LE Mouse library for the ESP32 (Arduino IDE compatible)
Stars: ✭ 180 (+361.54%)
Mutual labels:  esp32, bluetooth, ble, arduino-library
Nimble Arduino
A fork of the NimBLE library structured for compilation with Ardruino, designed for use with ESP32.
Stars: ✭ 108 (+176.92%)
Mutual labels:  esp32, bluetooth, ble, bluetooth-low-energy
Blynk Library
Blynk library for embedded hardware. Works with Arduino, ESP8266, Raspberry Pi, Intel Edison/Galileo, LinkIt ONE, Particle Core/Photon, Energia, ARM mbed, etc.
Stars: ✭ 3,305 (+8374.36%)
Mutual labels:  esp32, bluetooth, bluetooth-low-energy
Esp32 Ble2mqtt
A BLE to MQTT bridge running on an ESP32
Stars: ✭ 301 (+671.79%)
Mutual labels:  esp32, bluetooth, ble
Watchy
Watchy - An Open Source E-Ink Smartwatch
Stars: ✭ 469 (+1102.56%)
Mutual labels:  esp32, arduino-library, bluetooth-low-energy
Pedalinomini
Same features of Pedalino™ in a compact form.
Stars: ✭ 139 (+256.41%)
Mutual labels:  esp32, bluetooth, ble
Bluetooth
Cross-platform Bluetooth API for Go and TinyGo.
Stars: ✭ 246 (+530.77%)
Mutual labels:  bluetooth, ble, bluetooth-low-energy
Esp32 ble wedo
A library to control LEGO wedo 2.0 with the ESP32 through Bluetooth low energy
Stars: ✭ 16 (-58.97%)
Mutual labels:  esp32, ble, bluetooth-low-energy
daydream-node
Quick Node.js module to connect to the Daydream controller and receive all the data
Stars: ✭ 17 (-56.41%)
Mutual labels:  bluetooth, ble, bluetooth-low-energy
ESP32 BLE OTA Arduino
OTA update on ESP32 via BLE
Stars: ✭ 41 (+5.13%)
Mutual labels:  esp32, ble, bluetooth-low-energy
SmartSpin2k
Transform your spin bike into a Smart Trainer!
Stars: ✭ 88 (+125.64%)
Mutual labels:  bluetooth, ble, bluetooth-low-energy
theheraldproject.github.io
Herald - Proximity Detection Protocol and research documentation, including the Fair Efficacy Formula
Stars: ✭ 17 (-56.41%)
Mutual labels:  bluetooth, ble, bluetooth-low-energy
py-bluetooth-utils
Python module containing bluetooth utility functions, in particular for easy BLE scanning and advertising
Stars: ✭ 60 (+53.85%)
Mutual labels:  bluetooth, ble, bluetooth-low-energy
Reactivebeacons
Android library scanning BLE beacons nearby with RxJava
Stars: ✭ 171 (+338.46%)
Mutual labels:  bluetooth, ble, bluetooth-low-energy
Continuity
Apple Continuity Protocol Reverse Engineering and Dissector
Stars: ✭ 180 (+361.54%)
Mutual labels:  bluetooth, ble, bluetooth-low-energy
Esp32 Blecollector
ᛡᛒ BLE Scanner + Data persistence on SD Card for M5Stack, Odroid-Go, ESP32-Wrover-Kit and other models
Stars: ✭ 145 (+271.79%)
Mutual labels:  esp32, bluetooth, ble
bluetooth-terminal
ES6 class for serial communication with your own Bluetooth Low Energy (Smart) devices
Stars: ✭ 43 (+10.26%)
Mutual labels:  bluetooth, ble, bluetooth-low-energy

ESP32BleAdvertise

Simple library of a BLE advertise using ESP32 in Arduino.

Usage

Simple example:

void setup() {
    ble.begin("ESP32-BLE");  //sets the device name
}

void loop() {
    String str = String(random(0, 1000));
    ble.advertise(str);   // advertises a random number on Manufacturer Data field
    delay(1000);
}

Service data:

    String str = String(random(0, 1000));
    ble.serviceAdvertise(str);   // advertises a random number on Service Data field

Downloading and Installing

Click on the green button "Clone or download" and download as a zip file. In Arduino Studio, click in Sketch > Include Library > Add .ZIP Library and select the file you've just downloaded.

Debugging and visualizing data

Check out this Android app, works very well for debugging this application: https://play.google.com/store/apps/details?id=uk.co.alt236.btlescan&hl=en You will see the advertise data at "Manufacturer Specific Data" or in "Service Data", depending on how you published your data.

Tips

Be aware of the limitations of the BLE broadcast in terms of the message size. Your advertise data should not be bigger than 20 bytes and the name of the device should not be bigger than 20 bytes.

TODOs

  • Being able to change the UUID
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].