Skip to content

Commit

Permalink
Updating TV-casting-Android app read me and tv-app linux (#28028)
Browse files Browse the repository at this point in the history
* Update tv casting app and tv app readmes

* Update examples/tv-app/linux/README.md

Co-authored-by: chrisdecenzo <[email protected]>

---------

Co-authored-by: chrisdecenzo <[email protected]>
  • Loading branch information
2 people authored and pull[bot] committed Jan 19, 2024
1 parent c657e3d commit 1223682
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 4 deletions.
15 changes: 15 additions & 0 deletions examples/tv-app/linux/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,21 @@ Try the "commission-onnetwork <pincode> <disc> <IP> <port>" command
$ controller commission-onnetwork 34567890 2976 192.168.65.3 5540 -or-
$ controller commission-onnetwork 34567890 2976 fe80::50:ff:fe00:1 5540

When the tv-app receives a UDC request from a commissionable node (like a
tv-casting-app), it will print out

```
CHIP:SVR: UserDirectedCommissioningServer::OnMessageReceived
CHIP:SVR: UDC instance=F879911BF17129AA
CHIP:SVR: OnCommissionableNodeFound instance: name=F879911BF17129AA old_state=1 new_state=3
CHIP:CTL: ------PROMPT USER: Test TV casting app is requesting permission to cast to this TV, approve? [0x0000_FFF1,0x0000_8001,F879911BF17129AA,01005DD9BB0990AF18F19C35C30C670532BC]
CHIP:CTL: ------Via Shell Enter: controller ux ok|cancel
```

Begin commissioning it by running

$ controller ux ok

- User Directed Commissioning (UDC)

Print out the cached list of UDC sessions
Expand Down
15 changes: 11 additions & 4 deletions examples/tv-casting-app/android/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,17 @@ the TV.

## Requirements for building

You need Android SDK 21 & NDK 23.2.8568313 downloaded to your machine. Set the
`$ANDROID_HOME` environment variable to where the SDK is downloaded and the
`$ANDROID_NDK_HOME` environment variable to point to where the NDK package is
downloaded.
Refer to
[this file](../../../docs/guides/android_building.md#requirements-for-building)
to download the recommended version for the Android SDK and NDK for your
machine. Set the `$ANDROID_HOME` environment variable to where the SDK is
downloaded and the `$ANDROID_NDK_HOME` environment variable to point to where
the NDK package is downloaded.

```
export ANDROID_HOME=~/Library/Android/sdk
export ANDROID_NDK_HOME=~/Library/Android/sdk/ndk/{NDK_VERSION_NUMBER}
```

### ABIs and TARGET_CPU

Expand Down

0 comments on commit 1223682

Please sign in to comment.