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/
mbed-client/mbed_lib.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": "mbed-client", |
edamame22 | 0:29983394c6b6 | 3 | "config": { |
edamame22 | 0:29983394c6b6 | 4 | "event-loop-size": 1024, |
edamame22 | 0:29983394c6b6 | 5 | "reconnection-count": 3, |
edamame22 | 0:29983394c6b6 | 6 | "reconnection-interval": 5, |
edamame22 | 0:29983394c6b6 | 7 | "tcp-keepalive-time": 300, |
edamame22 | 0:29983394c6b6 | 8 | "disable-bootstrap-feature": null, |
edamame22 | 0:29983394c6b6 | 9 | "coap-disable-obs-feature":null, |
edamame22 | 0:29983394c6b6 | 10 | "reconnection-loop": 1, |
edamame22 | 0:29983394c6b6 | 11 | "sn-coap-max-blockwise-payload-size" : 0, |
edamame22 | 0:29983394c6b6 | 12 | "sn-coap-duplication-max-msgs-count": null, |
edamame22 | 0:29983394c6b6 | 13 | "sn-coap-max-incoming-message-size": null, |
edamame22 | 0:29983394c6b6 | 14 | "sn-coap-resending-queue-size-msgs": null, |
edamame22 | 0:29983394c6b6 | 15 | "sn-coap-resending-queue-size-bytes": null |
edamame22 | 0:29983394c6b6 | 16 | }, |
edamame22 | 0:29983394c6b6 | 17 | "macros" : [ |
edamame22 | 0:29983394c6b6 | 18 | "MBED_CLIENT_C_NEW_API" |
edamame22 | 0:29983394c6b6 | 19 | ] |
edamame22 | 0:29983394c6b6 | 20 | } |