mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #14436 from paul-szczepanek-arm/remove-services
BLE: replace obsolete services with the new services repopull/14541/head
commit
06a33d37f8
|
@ -16,6 +16,9 @@
|
||||||
* limitations under the License.
|
* 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__
|
#ifndef MBED_BLE_BATTERY_SERVICE_H__
|
||||||
#define MBED_BLE_BATTERY_SERVICE_H__
|
#define MBED_BLE_BATTERY_SERVICE_H__
|
||||||
|
|
||||||
|
|
|
@ -16,6 +16,9 @@
|
||||||
* limitations under the License.
|
* 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__
|
#ifndef __BLE_DEVICE_INFORMATION_SERVICE_H__
|
||||||
#define __BLE_DEVICE_INFORMATION_SERVICE_H__
|
#define __BLE_DEVICE_INFORMATION_SERVICE_H__
|
||||||
|
|
||||||
|
|
|
@ -16,6 +16,9 @@
|
||||||
* limitations under the License.
|
* 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__
|
#ifndef __BLE_ENVIRONMENTAL_SERVICE_H__
|
||||||
#define __BLE_ENVIRONMENTAL_SERVICE_H__
|
#define __BLE_ENVIRONMENTAL_SERVICE_H__
|
||||||
|
|
||||||
|
|
|
@ -16,6 +16,9 @@
|
||||||
* limitations under the License.
|
* 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__
|
#ifndef __BLE_HEALTH_THERMOMETER_SERVICE_H__
|
||||||
#define __BLE_HEALTH_THERMOMETER_SERVICE_H__
|
#define __BLE_HEALTH_THERMOMETER_SERVICE_H__
|
||||||
|
|
||||||
|
|
|
@ -16,6 +16,9 @@
|
||||||
* limitations under the License.
|
* 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__
|
#ifndef MBED_BLE_HEART_RATE_SERVICE_H__
|
||||||
#define MBED_BLE_HEART_RATE_SERVICE_H__
|
#define MBED_BLE_HEART_RATE_SERVICE_H__
|
||||||
|
|
||||||
|
|
|
@ -16,6 +16,9 @@
|
||||||
* limitations under the License.
|
* 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__
|
#ifndef __BLE_LINK_LOSS_SERVICE_H__
|
||||||
#define __BLE_LINK_LOSS_SERVICE_H__
|
#define __BLE_LINK_LOSS_SERVICE_H__
|
||||||
|
|
||||||
|
|
|
@ -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.
|
Loading…
Reference in New Issue