summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tizen/src/ecs/ecs_msg_device.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tizen/src/ecs/ecs_msg_device.c b/tizen/src/ecs/ecs_msg_device.c
index 860e32d3fc..3000478bde 100644
--- a/tizen/src/ecs/ecs_msg_device.c
+++ b/tizen/src/ecs/ecs_msg_device.c
@@ -434,6 +434,11 @@ bool msgproc_device_req(ECS_Client *ccli, ECS__DeviceReq *msg)
} else if (!strcmp(cmd, "vmname")) {
const char *vmname = get_vm_name();
msgproc_device_ans(ccli, cmd, true, vmname);
+ } else if (!strcmp(cmd, "vminfo")) {
+ gchar vminfo[128];
+ g_snprintf(vminfo, sizeof(vminfo) - 1, "%s %s %s",
+ get_vm_name(), get_profile_name(), get_platform_version());
+ msgproc_device_ans(ccli, cmd, true, vminfo);
} else if (!strcmp(cmd, "nfc")) {
msgproc_device_req_nfc(ccli, msg);
} else if (!strcmp(cmd, "sdcard")) {