Samsung / Wits

Wits for Your Tizen web application development.It will saved your development times and bring pleasure of developing out. Using Wits, You can instantly RELOAD your app's JavaScript/CSS code instead of reinstalling your app every time you make a change.
Apache License 2.0
113 stars 25 forks source link

List of valid sdb shell commands #101

Closed AndreasNasman closed 2 years ago

AndreasNasman commented 2 years ago

This might be the wrong place to ask, but I haven't found any information anywhere on valid commands to give sdb shell.

The official documentation only mentions commands when you have SDB remote shell access: https://developer.tizen.org/development/tizen-studio/web-tools/running-and-testing-your-app/sdb#issuing_commands

I work with Samsung Hotel TVs and SSSP screens where shell access is locked, so a basic sdb shell ls outputs nothing.

In this project and webIDE-common-tizentv/ (which is used the hood in the vscode-extension-tizentv), you both use a sdb shell 0 <command> syntax, e.g. with <command> as debug:

Questions:

  1. What does the 0 mean?
  2. How do you know that debug is a valid <command> to give sdb shell 0 <command>? Can I somehow see all valid commands?

I've asked the Samsung B2B Q&A the same question, but they had no answer.

Thanks, – Andreas

pwsses commented 2 years ago

Hello. The 0 is some kind of keyword about TV device. it doesn't mean anything. And There is no providing command list.

As you know, unfortunately, A common shell command is not allowed in TV devices. Thanks.

AndreasNasman commented 2 years ago

Ok, thanks for the information!