Skip to content

Commit

Permalink
Update documentation and clean up the code
Browse files Browse the repository at this point in the history
  • Loading branch information
lazarkov committed Jun 6, 2024
1 parent fe57a39 commit 2299376
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 3 additions & 0 deletions examples/tv-app/tv-common/shell/AppTvShellCommands.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,9 @@ static CHIP_ERROR PrintAllCommands()
streamer_printf(sout,
" add-admin-vendor <vid> Add vendor ID to list which will receive admin privileges. Usage: app "
"add-admin-vendor 65521\r\n");
streamer_printf(sout, " app install <vid> <pid> Install app with given vendor ID and product ID. Usage: app install 65521 32768\r\n");
streamer_printf(sout, " app uinstall <vid> <pid> Uinstall app at given vendor ID and product ID. Usage: app uninstall 65521 32768\r\n");
streamer_printf(sout, " app setinstallstatus <vid> <pid> Set app's installation status for a given vendor ID and product ID. Usage: app setinstallstatus 65521 32768 13. Installation status can be found at: UserDirectedCommissioning.h\r\n");
#endif // CHIP_DEVICE_CONFIG_APP_PLATFORM_ENABLED
#if CHIP_DEVICE_CONFIG_ENABLE_BOTH_COMMISSIONER_AND_COMMISSIONEE
streamer_printf(sout, " print-app-access Print all ACLs for app platform fabric. Usage: app print-app-access\r\n");
Expand Down
4 changes: 0 additions & 4 deletions examples/tv-app/tv-common/src/AppTv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,6 @@ class MyAppInstallationService : public AppInstallationService
{
ContentAppFactoryImpl * factory = GetContentAppFactoryImpl();
return factory->GetAppInstallationStatus(vendorId, productId);

// ContentAppFactoryImpl * factory = GetContentAppFactoryImpl();
// factory->InstallContentApp(vendorId, productId);
// return CommissionerDeclaration::CdError::kAppInstallConsentPending;
}
};

Expand Down

0 comments on commit 2299376

Please sign in to comment.