Ram Gandikota
/
metronome
FRDM K64F Metronome
mbed-client/docs/info_reporting.md@0:a2cb7295a1f7, 2017-05-14 (annotated)
- Committer:
- ram54288
- Date:
- Sun May 14 18:35:07 2017 +0000
- Revision:
- 0:a2cb7295a1f7
Initial commit
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
ram54288 | 0:a2cb7295a1f7 | 1 | # The Information Reporting feature |
ram54288 | 0:a2cb7295a1f7 | 2 | |
ram54288 | 0:a2cb7295a1f7 | 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. |
ram54288 | 0:a2cb7295a1f7 | 4 | |
ram54288 | 0:a2cb7295a1f7 | 5 | The interface supports the following sub-features: |
ram54288 | 0:a2cb7295a1f7 | 6 | |
ram54288 | 0:a2cb7295a1f7 | 7 | ## The Observe feature |
ram54288 | 0:a2cb7295a1f7 | 8 | |
ram54288 | 0:a2cb7295a1f7 | 9 | mbed Device Server initiates an observation request to observe the changing value of either an Object, Object Instance or Resource. |
ram54288 | 0:a2cb7295a1f7 | 10 | |
ram54288 | 0:a2cb7295a1f7 | 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> |
ram54288 | 0:a2cb7295a1f7 | 12 | |
ram54288 | 0:a2cb7295a1f7 | 13 | ## The Notify feature |
ram54288 | 0:a2cb7295a1f7 | 14 | |
ram54288 | 0:a2cb7295a1f7 | 15 | The client sends the **Notify** operation to mbed Device Server during a valid observation on a Resource, when the notification conditions are met. |
ram54288 | 0:a2cb7295a1f7 | 16 | |
ram54288 | 0:a2cb7295a1f7 | 17 | ## Cancel |
ram54288 | 0:a2cb7295a1f7 | 18 | |
ram54288 | 0:a2cb7295a1f7 | 19 | mbed Device Server sends the **Cancel Observation** operation to the client to end an observation relationship for an Object Instance or a Resource. |
ram54288 | 0:a2cb7295a1f7 | 20 |