Arduino and BLE on ESP32 as server and client combined, using NimBLE

This page summarizes the projects mentioned and recommended in the original post on /r/arduino

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • ReflectionsOS

    Reflections is a hardware and software platform for building entertaining mobile experiences.

  • Below is the source code I wrote. It is part of the code I wrote for https://github.com/frankcohen/ReflectionsOS and does not compile by itself - I include it as an example to write your own code. I am distributing it under a GPL v3 license - free software, when you change the code you need to publish your code to the world. I use the code in my Reflection's open source project at https://github.com/frankcohen/ReflectionsOS in the BLE.h and BLE.cpp code files.

  • mynewt-nimble

    Apache mynewt

  • NimBLE comes from the Apache Mynewt real time operating system project. Mynewt is similar to other efforts like Zephyr. It continues to be maintained in 2023 and issues posed to the Github repository go answered.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • NimBLE-Arduino

    A fork of the NimBLE library structured for compilation with Arduino, for use with ESP32, nRF5x.

  • I originally tried using the ESP32 blue BLE library. I ran out of memory. Switched to NimBLE-Arduino, an Arduino fork of Apache NimBLE, a replacement open-source BLE library https://github.com/h2zero/NimBLE-Arduino https://www.arduino.cc/reference/en/libraries/nimble-arduino/ https://h2zero.github.io/esp-nimble-cpp/md__migration_guide.html#autotoc_md46

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts