Skip to content

Commit

Permalink
Merge pull request #14436 from paul-szczepanek-arm/remove-services
Browse files Browse the repository at this point in the history
BLE: replace obsolete services with the new services repo
  • Loading branch information
0xc0170 committed Apr 13, 2021
2 parents b1e26c6 + d594aa2 commit 06a33d3
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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__

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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__

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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__

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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__

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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__

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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__

Expand Down
13 changes: 13 additions & 0 deletions connectivity/FEATURE_BLE/include/ble/services/services.md
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit 06a33d3

Please sign in to comment.