This example creates and updates a standard Battery Level service containing a single GATT characteristic with mbed OS 5.
module.json@0:d9a87d1192f6, 2017-06-02 (annotated)
- Committer:
- tsungta
- Date:
- Fri Jun 02 14:29:32 2017 +0000
- Revision:
- 0:d9a87d1192f6
First commit
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
tsungta | 0:d9a87d1192f6 | 1 | { |
tsungta | 0:d9a87d1192f6 | 2 | "name": "ble-batterylevel", |
tsungta | 0:d9a87d1192f6 | 3 | "version": "0.0.1", |
tsungta | 0:d9a87d1192f6 | 4 | "description": "An example of creating and updating a simple GATT Service using the BLE_API", |
tsungta | 0:d9a87d1192f6 | 5 | "licenses": [ |
tsungta | 0:d9a87d1192f6 | 6 | { |
tsungta | 0:d9a87d1192f6 | 7 | "url": "https://spdx.org/licenses/Apache-2.0", |
tsungta | 0:d9a87d1192f6 | 8 | "type": "Apache-2.0" |
tsungta | 0:d9a87d1192f6 | 9 | } |
tsungta | 0:d9a87d1192f6 | 10 | ], |
tsungta | 0:d9a87d1192f6 | 11 | "dependencies": { |
tsungta | 0:d9a87d1192f6 | 12 | "ble": "^2.0.0" |
tsungta | 0:d9a87d1192f6 | 13 | }, |
tsungta | 0:d9a87d1192f6 | 14 | "targetDependencies": {}, |
tsungta | 0:d9a87d1192f6 | 15 | "bin": "./source" |
tsungta | 0:d9a87d1192f6 | 16 | } |