当前位置:网站首页>hdc_ std
hdc_ std
2022-07-27 01:28:00 【Search if you can't】
hdc_std
brief introduction
HDC(OpenHarmony Device Connector) It is a command line tool for developers to debug device connection ,pc The end development machine uses command line tools hdc_std( For convenience , Hereinafter collectively hdc), The tool needs to support deployment in Windows/Linux/Mac Wait for the system to work with OpenHarmony equipment ( Or the simulator ) Connect and debug communication .PC End hdc The tools need to release corresponding versions for the above development machine operating system platforms , Device end hdc daemon It needs to follow the device image release, including support for the simulator . The following will introduce hdc Common commands and use examples .
framework
hdc There are mainly three parts :
- hdc client part : The client running on the development machine , Users can command the terminal in the development machine (windows cmd/linux shell) Request to execute the corresponding hdc command , Run on the development machine , Other terminal debugging IDE Also contains hdc client.
- hdc server part : As a background process, it also runs on the development machine ,server management client And device side daemon Communication between includes multiplexing of connections 、 Sending and receiving of data communication packets , And the direct processing of individual local commands .
- hdc daemon part :daemon Deployed in OpenHarmony The device side operates as a daemon on demand , Responsible for handling from client End request .
Order help
#cmd operation rk3568 The board
Copy the files on the board to the local :
open cmd, View the files in this directory ( Enter command line interaction mode ):
C:\Users\xxx>hdc_std shell
#cd data/log/faultlog/temp/
Open one more cmd, view help :
C:\Users\xxx>hdc_std --help
Copy cppcrash-2069-1501925953621 File to C:\Users\xxx\Documents\Downloads\
C:\Users\xxx>hdc_std file recv -z /data/log/faultlog/temp/cppcrash-2069-1501925953621 C:\Users\xxx\Documents\Downloads\
Pull files from the device ( Refer to the previous )
hdc_std file recv /data/local/tmp/a.txt ./a.txt
View board progress :
C:\Users\xxx>hdc_std shell
#top
View device connection information
hdc_std list targets
Push files into the device
hdc_std file send E:\a.txt /data/local/tmp/a.txt
Install application
hdc_std install E:\***.hap
Check the log
hdc_std hilog
TCP network connections
hdc_std tconn 192.168.0.100:10178
边栏推荐
- 2. Wrong odometer
- Basic syntax of Verilog
- SQL relational algebra - Division
- markdown
- MakeFile
- ESP8266 STA_UDP_Client
- In depth learning report (1)
- Unity ugui text text box adaptation
- Doris or starrocks JMeter pressure measurement
- Come on: encourage college graduates to return home to start businesses and employment, and help rural revitalization
猜你喜欢

快来帮您一分钟了解移动互联网
![[untitled]](/img/9e/ccb630a699846de3d99bb7407b2d44.jpg)
[untitled]

Mqtt---- bottom (precautions)

The setup of KEIL development environment is delivered to the installation package

Unity CharacterController

SQL relational algebra - Division

Warning: IPv4 forwarding is disabled Networking will not work.

顺序表之OJ题

What is the digital economy and how does it change the business model?

Li Hongyi machine learning (2017 Edition)_ P3-4: Regression
随机推荐
Basic syntax of Verilog
Li Hongyi machine learning (2021 Edition)_ P5-6: small gradient processing
Li Hongyi machine learning (2017 Edition)_ P13: deep learning
MQTT----下(注意事项)
数据库期中(二)
【无标题】
Basic DOS commands
Jenkins -- Basic -- 5.3 -- system configuration -- global security configuration
Introduction to mathematical modeling - from real objects to mathematical modeling [2]
Jenkins--基础--03--安装后设置向导
Li Kou brushes 300 record posts
软件测试面试题之xpath
#快捷键介绍
Solve the problem that CUDA cannot accelerate GPU in pytoch
Jenkins -- Basic -- 5.2 -- system configuration -- system configuration
ESP8266-----JSON----c函数库提供字符串函数
As 5g becomes more and more popular, what positive effects will our lives be affected
快来帮你三分钟了解物联网
链表常规OJ
Unity a user-friendly UI grayscale shader