Smart Development Bridge (SDB) is a command line tool for emulator/device management for Tizen platform
Smart Development Bridge (SDB) is a command line tool for emulator/device management. It acts as an intermediary between a device and your development system and provides various device management capabilities such as moving and syncing files to the emulator, running a UNIX shell on the device or emulator.
Using SDB tool you can:
- Manage connections to multiple instances of emulator/devices. You can list connected devices and send a command to a specific device with a serial number that is created by the SDB.
- Supply basic commands for application development, such as file transfer, remote shell command, port forwarding for a debugger, and viewing, filtering, and controlling device log output, and troubleshooting.
Usage
Prerequiste - To see the Developer option in Settings, you need to Enable Developer Option
- To use the SDB in a target device, set the device to the SDB mode by going to Settings > Developer options > USB debugging in the device menu.
Run the SDB with a shell using the following command:
$ sdb [option] <command> [parameters]
where [option] can be:
-d
: Directs the command to the only connected USB device and return an error if more than one USB device is present.-e
: Direct the command to the only running Emulator and return an error if more than one Emulator is present.-s
: Direct the command to the USB device or Emulator with the defined serial number.devices
: List of all connected devices.Snippet of `sdb devices` command output $ sdb devices List of devices attached emulator-26100 device myemulator1 emulator-26200 device myemulator2 $
To stop the SDB server, use
kill-server
commandsdb kill-server