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/docs/info_reporting.md@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 | # The Information Reporting feature |
edamame22 | 0:29983394c6b6 | 2 | |
edamame22 | 0:29983394c6b6 | 3 | mbed Device Server uses the Information Reporting to observe any changes in a registered Resource on the client. The server registers to observe the Resource. When the Resource changes, it sends a notification with its new value to all servers who asked to observe it. |
edamame22 | 0:29983394c6b6 | 4 | |
edamame22 | 0:29983394c6b6 | 5 | The interface supports the following sub-features: |
edamame22 | 0:29983394c6b6 | 6 | |
edamame22 | 0:29983394c6b6 | 7 | ## The Observe feature |
edamame22 | 0:29983394c6b6 | 8 | |
edamame22 | 0:29983394c6b6 | 9 | mbed Device Server initiates an observation request to observe the changing value of either an Object, Object Instance or Resource. |
edamame22 | 0:29983394c6b6 | 10 | |
edamame22 | 0:29983394c6b6 | 11 | <span class="tips">**Tip:** Related parameters for the **Observe** operation are described in the [Write Attributes](dev_man_serv_enable.md#write-attributes) section.</span> |
edamame22 | 0:29983394c6b6 | 12 | |
edamame22 | 0:29983394c6b6 | 13 | ## The Notify feature |
edamame22 | 0:29983394c6b6 | 14 | |
edamame22 | 0:29983394c6b6 | 15 | The client sends the **Notify** operation to mbed Device Server during a valid observation on a Resource, when the notification conditions are met. |
edamame22 | 0:29983394c6b6 | 16 | |
edamame22 | 0:29983394c6b6 | 17 | ## Cancel |
edamame22 | 0:29983394c6b6 | 18 | |
edamame22 | 0:29983394c6b6 | 19 | mbed Device Server sends the **Cancel Observation** operation to the client to end an observation relationship for an Object Instance or a Resource. |
edamame22 | 0:29983394c6b6 | 20 |