This is an example of BLE GATT Client, which receives broadcast data from BLE_Server_BME280 ( a GATT server) , then transfers values up to mbed Device Connector (cloud).
Please refer details about BLEClient_mbedDevConn below. https://github.com/soramame21/BLEClient_mbedDevConn
The location of required BLE GATT server, BLE_Server_BME280, is at here. https://developer.mbed.org/users/edamame22/code/BLE_Server_BME280/
shields/TARGET_ST_BLUENRG/module.json@2:b894b3508057, 2017-09-05 (annotated)
- Committer:
- Ren Boting
- Date:
- Tue Sep 05 11:56:13 2017 +0900
- Revision:
- 2:b894b3508057
- Parent:
- 0:29983394c6b6
Update all libraries and reform main.cpp
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
edamame22 | 0:29983394c6b6 | 1 | { |
edamame22 | 0:29983394c6b6 | 2 | "name": "x-nucleo-idb0xa1", |
edamame22 | 0:29983394c6b6 | 3 | "version": "2.1.0", |
edamame22 | 0:29983394c6b6 | 4 | "description": "ST driver for the mbed BLE API.", |
edamame22 | 0:29983394c6b6 | 5 | "keywords": [ |
edamame22 | 0:29983394c6b6 | 6 | "expansion", |
edamame22 | 0:29983394c6b6 | 7 | "board", |
edamame22 | 0:29983394c6b6 | 8 | "x-nucleo", |
edamame22 | 0:29983394c6b6 | 9 | "nucleo", |
edamame22 | 0:29983394c6b6 | 10 | "ST", |
edamame22 | 0:29983394c6b6 | 11 | "STM", |
edamame22 | 0:29983394c6b6 | 12 | "Bluetooth", |
edamame22 | 0:29983394c6b6 | 13 | "BLE" |
edamame22 | 0:29983394c6b6 | 14 | ], |
edamame22 | 0:29983394c6b6 | 15 | "author": "Andrea Palmieri", |
edamame22 | 0:29983394c6b6 | 16 | "repository": { |
edamame22 | 0:29983394c6b6 | 17 | "url": "https://github.com/ARMmbed/ble-x-nucleo-idb0xa1.git", |
edamame22 | 0:29983394c6b6 | 18 | "type": "git" |
edamame22 | 0:29983394c6b6 | 19 | }, |
edamame22 | 0:29983394c6b6 | 20 | "homepage": "https://github.com/ARMmbed/ble-x-nucleo-idb0xa1", |
edamame22 | 0:29983394c6b6 | 21 | "licenses": [ |
edamame22 | 0:29983394c6b6 | 22 | { |
edamame22 | 0:29983394c6b6 | 23 | "url": "https://spdx.org/licenses/Apache-2.0", |
edamame22 | 0:29983394c6b6 | 24 | "type": "Apache-2.0" |
edamame22 | 0:29983394c6b6 | 25 | } |
edamame22 | 0:29983394c6b6 | 26 | ], |
edamame22 | 0:29983394c6b6 | 27 | "extraIncludes": [ |
edamame22 | 0:29983394c6b6 | 28 | "x-nucleo-idb0xa1", |
edamame22 | 0:29983394c6b6 | 29 | "x-nucleo-idb0xa1/utils", |
edamame22 | 0:29983394c6b6 | 30 | "x-nucleo-idb0xa1/platform", |
edamame22 | 0:29983394c6b6 | 31 | "x-nucleo-idb0xa1/bluenrg-hci" |
edamame22 | 0:29983394c6b6 | 32 | ], |
edamame22 | 0:29983394c6b6 | 33 | "dependencies": { |
edamame22 | 0:29983394c6b6 | 34 | "mbed-drivers": ">=0.11.3", |
edamame22 | 0:29983394c6b6 | 35 | "ble": "^2.7.0" |
edamame22 | 0:29983394c6b6 | 36 | } |
edamame22 | 0:29983394c6b6 | 37 | } |