mirror of https://github.com/ARMmbed/mbed-os.git
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. |
||
---|---|---|
.. | ||
ble | ||
source | ||
targets | ||
.gitignore | ||
CHANGELOG.md | ||
CONTRIBUTING.md | ||
DOXYGEN_FRONTPAGE.md | ||
LICENSE | ||
README.md | ||
apache-2.0.txt | ||
ble.doxyfile | ||
module.json |
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:
- mbed BLE Homepage for all things BLE
- mbed BLE Getting Started Guide a wonderful primer on using BLE with mbed
- mbed BLE doc for an introduction to mbed BLE
- mbed BLE API page for the Doxygen API documentation