GithubHelp home page GithubHelp logo

esp32-nimble-ble-example's Introduction

ESP32 Nimble BLE Example

This is an example of a Nimble BLE project for the ESP32. It demonstrates how to create a simple BLE peripheral that can be advertised and connected to by a central device.

To build and run this example, you will need:

  • An ESP32 board
  • The Nimble BLE library (you can enable it from esp-idf menuconfig)
  • The ESP-IDF development framework

Once you have all of the necessary prerequisites, you can build and run the example as follows:

  1. Clone the ESP-IDF repository:
git clone https://github.com/AbdulrahmanNahhas/ESP32-Nimble-BLE-Example.git

  1. Change directory to the ESP-IDF repository:
cd ESP32-Nimble-BLE-Example
  1. Export the ESP-IDF environment variables:
export IDF_PATH=$PWD
  1. Clone the ESP32-Nimble-BLE-Example repository:
git clone https://github.com/espressif/esp32-nimble-ble-example.git
  1. Change directory to the ESP32-Nimble-BLE-Example repository:
cd esp32-nimble-ble-example
  1. Build the example:
idf.py build
  1. Flash the example to the ESP32 board:
idf.py flash
  1. Monitor the serial output of the ESP32 board to see the BLE advertising messages:
idf.py monitor

Once the example is running, you can connect to the BLE peripheral using a central device. The peripheral will advertise itself as "Nahhas Device". Once connected, you can exchange data with the peripheral using the GATT profile.

esp32-nimble-ble-example's People

Contributors

abdulrahmannahhas avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.