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@0:29983394c6b6, 2017-04-13 (annotated)
- Committer:
- edamame22
- Date:
- Thu Apr 13 04:48:11 2017 +0000
- Revision:
- 0:29983394c6b6
Initial commit
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 | } |