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


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.