Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restyle address media test case issues #18159

Merged
merged 3 commits into from
May 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,9 @@ public ContentLaunchResponse launchUrl(
return new ContentLaunchResponse(
ContentLaunchResponse.STATUS_URL_NOT_AVAILABLE, "Error data in Java");
} else if (url.equals("https://badurl")) {
return new ContentLaunchResponse(
ContentLaunchResponse.STATUS_URL_NOT_AVAILABLE, "Bad URL");
return new ContentLaunchResponse(ContentLaunchResponse.STATUS_URL_NOT_AVAILABLE, "Bad URL");
} else if (url.equals("https://csa-iot.org/badauth")) {
return new ContentLaunchResponse(
ContentLaunchResponse.STATUS_AUTH_FAILED, "Auth Failed");
return new ContentLaunchResponse(ContentLaunchResponse.STATUS_AUTH_FAILED, "Auth Failed");
}
return new ContentLaunchResponse(ContentLaunchResponse.STATUS_SUCCESS, "Example data in Java");
}
Expand Down
10 changes: 5 additions & 5 deletions examples/tv-casting-app/linux/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ valid cached fabric will be used.

> cast delete-fabric 1

- Switch to fabric index
- Switch to fabric index

> cast set-fabric 1

Expand All @@ -116,9 +116,9 @@ the video player (TV). For convenience, when nodeId '0' is used, the
tv-casting-app will use the cached nodeId for the video player corresponding to
the current fabric.

The tv-casting-app is able to determine the nodeId for the given fabric by
checking its binding table since the video player sets bindings on the
tv-casting-app for each endpoint to which the tv-casting-app is granted access
The tv-casting-app is able to determine the nodeId for the given fabric by
checking its binding table since the video player sets bindings on the
tv-casting-app for each endpoint to which the tv-casting-app is granted access
during commissioning.

- Run the tv-casting-app and invoke a cluster command using default fabric,
Expand Down Expand Up @@ -146,7 +146,7 @@ during commissioning.

> cast cluster keypadinput send-key 1 0 1

- Run the tv-casting-app and invoke a cluster command from the shell using
- Run the tv-casting-app and invoke a cluster command from the shell using
default fabric, target video player nodeId 0xFFFFFFEFFFFFFFFF

> cast cluster keypadinput send-key 1 0xFFFFFFEFFFFFFFFF 1
2 changes: 1 addition & 1 deletion src/controller/CHIPDeviceControllerFactory.h
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ class DeviceControllerFactory

~DeviceControllerFactory();
DeviceControllerFactory(DeviceControllerFactory const &) = delete;
void operator=(DeviceControllerFactory const &) = delete;
void operator=(DeviceControllerFactory const &) = delete;

//
// Some clients do not prefer a complete shutdown of the stack being initiated if
Expand Down