This example creates and updates a standard Battery Level service containing a single GATT characteristic with mbed OS 5.
Diff: module.json
- Revision:
- 0:d9a87d1192f6
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/module.json Fri Jun 02 14:29:32 2017 +0000
@@ -0,0 +1,16 @@
+{
+ "name": "ble-batterylevel",
+ "version": "0.0.1",
+ "description": "An example of creating and updating a simple GATT Service using the BLE_API",
+ "licenses": [
+ {
+ "url": "https://spdx.org/licenses/Apache-2.0",
+ "type": "Apache-2.0"
+ }
+ ],
+ "dependencies": {
+ "ble": "^2.0.0"
+ },
+ "targetDependencies": {},
+ "bin": "./source"
+}