Skip to content

Commit

Permalink
Merge pull request #1152 from hiroaki404/fix/DataLayer_README
Browse files Browse the repository at this point in the history
fix DataLayer README
  • Loading branch information
luizgrp authored Jul 15, 2024
2 parents 8ea4f95 + cdd9b66 commit d375898
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions DataLayer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,11 @@ val request = PutDataMapRequest.create(IMAGE_PATH).apply {
```
This use case is successful if the watch is connected and has the Wear app
installed which is implemented by using [CapabilityClient][4].

2. Send data from the phone to the watch and ackownledge via a message
The phone app increments a counter and send it over a period of 5 seconds as a [DataItem] by using [DataClient][2].
The phone app increments a counter and send it over a period of 5 seconds as a [DataItem][5] by using [DataClient][2].
The Wear app receives the [DataItem][5] by implementing a [WearableListenerService][1] and acknowledge
by sending a [Message] via [MessageClient][3]
by sending a message via [MessageClient][3]
```
messageClient.sendMessage(
nodeId,
Expand Down

0 comments on commit d375898

Please sign in to comment.