From ea636d8dd0cb1cbe6da18f997138244dd2e04412 Mon Sep 17 00:00:00 2001 From: Thierry Escande <thierry.escande@huawei.com> Date: Fri, 22 Apr 2022 15:37:46 +0200 Subject: [PATCH] standard-system-components: Build HDC daemon This adds the executable hdcd (HDC Daemon) to the standard system components and package it for image installation. It can be run from the QEMU image with the command: $ hdcd -t The -t option indicates that it will accept TCP connection from the client. As of now, since we don't have the OH system settings in place, hdcd will choose a default port for the incoming connections that will be displayed in the console when executed, as: [I][2022-04-22 13:45:20.000241][b6f0e6bc][daemon_tcp.cpp:143] TCP listen on port:[45299] To connect the client, use the following command on the host machine: $ ./hdc tconn QEMU_IP:PORT_NUM Signed-off-by: Thierry Escande <thierry.escande@huawei.com> --- recipes-openharmony/openharmony/openharmony-standard_3.0.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes-openharmony/openharmony/openharmony-standard_3.0.bb b/recipes-openharmony/openharmony/openharmony-standard_3.0.bb index 45d88fcf..029feef2 100644 --- a/recipes-openharmony/openharmony/openharmony-standard_3.0.bb +++ b/recipes-openharmony/openharmony/openharmony-standard_3.0.bb @@ -275,6 +275,7 @@ generate_parts_json() { "communication:ipc", "communication:ipc_js", "developtools:bytrace_standard", + "developtools:hdc_standard", "distributeddatamgr:distributeddatamgr", "distributeddatamgr:native_appdatamgr", "distributedhardware:device_manager_base", -- GitLab