Lines Matching refs:hdc
1 # hdc chapter
4 OpenHarmony Device Connector (hdc) is a command-line tool used for debugging. You can use it on a W…
7 The following describes how to obtain and use hdc.
12 **Obtaining hdc**
14 Obtain hdc from the **toolchains** directory of the OpenHarmony SDK.
20 Obtain the SDK for Windows, and copy **hdc.exe** from **toolchains** to a directory on the disk.
25 … exception occurs when you are using hdc, run the **hdc kill** command to terminate the hdc servic…
27 - If no device information is obtained after **hdc list targets** is executed, check whether the hd…
36 Displays hdc help or version information.
42 | Required information| hdc help or version information.|
48 hdc -h / hdc help
53 hdc -v / hdc version
73 hdc -l5 start
91 **hdc list targets** (Obtain device information.)
93 **hdc -t *key* shell** (Replace *key* with the device identifier obtained)
110 hdc checkserver
137 hdc list targets
143 hdc list targets -v
167 hdc target mount
177 hdc target boot
181 …Grants the **root** permission to the background hdc service. Use **off** to revoke the granted pe…
187 hdc smode
192 hdc smode -r
196 Terminates the hdc process.
202 | -r | Restarts the hdc process.|
209 hdc kill
213 Starts the hdc process.
219 | -r | Restarts the hdc process if it has started.|
226 hdc start
251 hdc tconn 192.168.0.100:8710
269 hdc tmode usb
287 hdc tmode port 8710
300 hdc fport tcp:1234 tcp:1080
310 hdc rport tcp:2080 tcp:2345
329 hdc fport ls
339 hdc fport rm tcp:1234 tcp:1080
364 hdc file send E:\a.txt /data/local/tmp/a.txt
384 hdc file recv /data/local/tmp/a.txt ./a.txt
411 hdc install hwadmin.hap
430 hdc uninstall package
454 hdc hilog
461 hdc shell "hilog -r"
479 hdc shell
489 hdc jpid
499 After the **hdc list targets** command is executed, **[Empty]** is displayed.
504 - hdc works improperly.
505 …Run the **hdc kill** command to terminate the hdc process or run the **hdc start -r** command to r…
506 - The hdc version does not match the device.
507 If the latest image is burnt on the device, the latest hdc version must be used.
510 ### Failed to Run hdc
513 The **hdc.exe** file cannot be executed.
518 2. Run **hdc.exe**.
519 …hdc.exe** requires no installation. You can use it after placing it to a local directory or adding…
522 ### Accessing a hdc Server from the hdc Client
526 Use hdc to connect to a remote server from the local client.
529 1. Shut down the local hdc server.
531 hdc kill
535 hdc -s severIP:8710 -m
539 hdc -s severIP:8710 list targets