当前位置:网站首页>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
边栏推荐
- Esp8266 connects to the IOT of Lexin cloud platform_ Demo
- Unity line access
- Jenkins -- Basic -- 5.3 -- system configuration -- global security configuration
- Li Hongyi machine learning (2021 Edition)_ P7-9: training skills
- 记一次RawImage渲染出来的场景错乱
- ESP8266 AP_TCP_Client
- SQL learning (3) -- complex query and function operation of tables
- Unity Twitter登录接入
- Unity uses navmesh to realize simple rocker function
- MySQL closes the problem of automatic submission of connection transactions
猜你喜欢
随机推荐
MySQL closes the problem of automatic submission of connection transactions
5.xshell连接服务器拒绝访问,密码错误
Flinksql window triggered in advance
#问题反馈 手机 app 同步失败:数据仓库外部变更损坏 ipad app 也是一打开就下载仓库,然后闪退
Code merging of centralized version control tools
ESP8266 STA_TCP_Client
【无标题】
Dream journey
Verilog过程赋值语句
ks 怎么抓salt值?api,did?
软件测试面试题之软件基础
ESP8266 STA_UDP_Client
Six ways for the Internet of things to improve our lives
Unity[1] learning directory
Esp8266 --- JSON data exchange format
玩客云搭配zerotier保姆级教学,保证学废
MySQL关闭连接事务自动提交的问题
As 5g becomes more and more popular, what positive effects will our lives be affected
ESP8266 AP_UDP_Client
数学建模简介-从现实对象到数学建模[2]
![[unity] unity interface scene view [1]](/img/5a/c34ff09ef1ddba4b65c7873775c251.png)








