Merge pull request #14436 from paul-szczepanek-arm/remove-services

BLE: replace obsolete services with the new services repo
pull/14541/head
Martin Kojtal 2021-04-13 16:00:58 +02:00 committed by GitHub
commit 06a33d37f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 31 additions and 0 deletions

View File

@ -16,6 +16,9 @@
* limitations under the License.
*/
/* MBED_DEPRECATED */
#warning "These services are deprecated and will be removed. Please see services.md for details about replacement services."
#ifndef MBED_BLE_BATTERY_SERVICE_H__
#define MBED_BLE_BATTERY_SERVICE_H__

View File

@ -16,6 +16,9 @@
* limitations under the License.
*/
/* MBED_DEPRECATED */
#warning "These services are deprecated and will be removed. Please see services.md for details about replacement services."
#ifndef __BLE_DEVICE_INFORMATION_SERVICE_H__
#define __BLE_DEVICE_INFORMATION_SERVICE_H__

View File

@ -16,6 +16,9 @@
* limitations under the License.
*/
/* MBED_DEPRECATED */
#warning "These services are deprecated and will be removed. Please see services.md for details about replacement services."
#ifndef __BLE_ENVIRONMENTAL_SERVICE_H__
#define __BLE_ENVIRONMENTAL_SERVICE_H__

View File

@ -16,6 +16,9 @@
* limitations under the License.
*/
/* MBED_DEPRECATED */
#warning "These services are deprecated and will be removed. Please see services.md for details about replacement services."
#ifndef __BLE_HEALTH_THERMOMETER_SERVICE_H__
#define __BLE_HEALTH_THERMOMETER_SERVICE_H__

View File

@ -16,6 +16,9 @@
* limitations under the License.
*/
/* MBED_DEPRECATED */
#warning "These services are deprecated and will be removed. Please see services.md for details about replacement services."
#ifndef MBED_BLE_HEART_RATE_SERVICE_H__
#define MBED_BLE_HEART_RATE_SERVICE_H__

View File

@ -16,6 +16,9 @@
* limitations under the License.
*/
/* MBED_DEPRECATED */
#warning "These services are deprecated and will be removed. Please see services.md for details about replacement services."
#ifndef __BLE_LINK_LOSS_SERVICE_H__
#define __BLE_LINK_LOSS_SERVICE_H__

View File

@ -0,0 +1,13 @@
# Mbed OS BLE services
BLE services are available in the https://github.com/ARMmbed/mbed-os-experimental-ble-services repository. It's a
community effort and contains services created by mbed-os team, our partners and mbed-os users.
To use the services there add the repository to your project by adding a 'mbed-os-experimental-ble-services.lib' file
containing the link to the repo like so:
```
https://github.com/ARMmbed/mbed-os-experimental-ble-services
```
Each BLE service is an Mbed OS library. To use it with new cmake based mbed-tools you will need to add the library
to your link libraries for your application.