Mistake on this page?
Report an issue in GitHub or email us

Bluetooth overview

Bluetooth low energy (BLE) is a low power wireless technology standard for personal area networks. Typical applications of BLE are health care, fitness trackers, beacons, smart home, security, entertainment, proximity sensors, industrial and automotive.

Arm Mbed BLE, also called BLE_API, is the Bluetooth Low Energy software solution for Mbed. Many targets support Mbed BLE. Developers can use it to create new BLE applications.

Getting started

  1. Choose an Arm Mbed board that supports BLE, such as the NRF51-DK.

    If your platform doesn't support BLE but is compatible with the Arduino UNO R3 connector, you can use an extension board such as the X-NUCLEO-IDB05A1 to add BLE capabilities to your development board.

  2. Install a BLE scanner on your phone. It allows you to track all BLE activities from your embedded application. This is a mandatory tool for BLE software development:

  3. Compile and run our BLE samples:

    • Arm Mbed OS 5 samples are available on os.mbed.com and Github:
      • The beacon example is a good starting point; it demonstrates how you can create a BLE beacon with just a few lines of code.
      • The heart rate monitor example demonstrates how to build a heart rate sensor that can be connected and monitored by a BLE client such as your phone.
      • The LED and LED blinker are a single example, which demonstrates how a client (LED) and a server (LED blinker) work together over BLE.

    Tip: Despite the differences between the different Mbed OS versions, there is only one version of Mbed BLE, and it is easy to move code from one version of the OS to another. Choose the sample you use according to the version of Mbed OS supported by your development board.

Going further

  • The Mbed BLE API reference offers the full details of the API.

  • The Mbed BLE online community is also a great place to ask questions and share your knowledge.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.