mbed-os/features/FEATURE_BLE
Hovik Melikyan c4a979ef72 Allow to redefine nRF's PSTORAGE_NUM_OF_PAGES outside of the mbed-os source
By default the number of pstorage pages is set 1 and all addresses are
calculated in the pstorage module accordingly. Nordic recommends
changing this macro to whatever number is suitable for the app (see
https://devzone.nordicsemi.com/question/53066/what-will-be-the-starting-
address-of-pstorage-page-how-we-can-change-it/?answer=53085#post-id-5308
5) which is not quite elegant given that pstorage_platform.h is part of
the mbed-os repo. With this modification you can e.g. define
PSTORAGE_NUM_OF_PAGES on the command line, however note that you should
rebuild mbed-os with this setting as it affects pstorage_platform.c.
2017-02-24 11:24:24 +00:00
..
ble BLE - Add end of line to deprecate.h 2016-09-26 13:29:07 +01:00
source Move ARMmbed/feature/FEATURE_BLE into mbedmicro/mbed. 2016-07-20 22:10:36 +01:00
targets Allow to redefine nRF's PSTORAGE_NUM_OF_PAGES outside of the mbed-os source 2017-02-24 11:24:24 +00:00
.gitignore Move ARMmbed/feature/FEATURE_BLE into mbedmicro/mbed. 2016-07-20 22:10:36 +01:00
CHANGELOG.md Move ARMmbed/feature/FEATURE_BLE into mbedmicro/mbed. 2016-07-20 22:10:36 +01:00
CONTRIBUTING.md Move ARMmbed/feature/FEATURE_BLE into mbedmicro/mbed. 2016-07-20 22:10:36 +01:00
DOXYGEN_FRONTPAGE.md Move ARMmbed/feature/FEATURE_BLE into mbedmicro/mbed. 2016-07-20 22:10:36 +01:00
LICENSE Move ARMmbed/feature/FEATURE_BLE into mbedmicro/mbed. 2016-07-20 22:10:36 +01:00
README.md Move ARMmbed/feature/FEATURE_BLE into mbedmicro/mbed. 2016-07-20 22:10:36 +01:00
apache-2.0.txt Move ARMmbed/feature/FEATURE_BLE into mbedmicro/mbed. 2016-07-20 22:10:36 +01:00
ble.doxyfile Move ARMmbed/feature/FEATURE_BLE into mbedmicro/mbed. 2016-07-20 22:10:36 +01:00
module.json Move ARMmbed/feature/FEATURE_BLE into mbedmicro/mbed. 2016-07-20 22:10:36 +01:00

README.md

mbed Bluetooth Low Energy Stack

This is the Github repo for the BLE_API used by developer.mbed.org. Please see the mbed BLE Homepage for all documentation, code examples and general help.

Supported Services

Supported GATT services and constantly being added and can be found in the ble/services/ folder.

Currently supported services include:

  • Battery
  • Device Firmware Update (DFU)
  • Device Information
  • Eddystone Configuration Service
  • Health Thermometer
  • Heart Rate
  • Link Loss
  • UART
  • UriBeacon
  • iBeacon

The documentation contains an overview on how to create new, application-specific services.

Getting Started

The mbed BLE API is meant to be used in projects on developer.mbed.org. Please see examples and sample project files there. A good starting point are these pages: