diff --git a/examples/tv-app/linux/README.md b/examples/tv-app/linux/README.md index 46e04564e3f924..5cd2bcfc48b5ed 100644 --- a/examples/tv-app/linux/README.md +++ b/examples/tv-app/linux/README.md @@ -55,6 +55,21 @@ Try the "commission-onnetwork " 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 diff --git a/examples/tv-casting-app/android/README.md b/examples/tv-casting-app/android/README.md index b9e2f716c84036..c2a7622036bc8a 100644 --- a/examples/tv-casting-app/android/README.md +++ b/examples/tv-casting-app/android/README.md @@ -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