Help Center/ Atlas 300 Application (Model 3000)/ IDE-daemon-client Command Reference/ Obtaining the Information About the Device Connected to the Host
Updated on 2022-03-13 GMT+08:00

Obtaining the Information About the Device Connected to the Host

Function

Obtains the information about the device connected to the host by using IDE Daemon.

Syntax

IDE-daemon-client --host <host_ip>:<port> --api <params>

Parameter

Table 1 Parameter description

Parameter

Description

Mandatory or Not

Default Value

--host

  • host_ip: specifies the IP address of the host.
  • port: specifies the port number.

Yes

The default value of port is 22118.

--api

params includes the following items:

  • device_info: indicates the list of devices connected to the host.
  • device_status: Only the status of the camera on the developer board can be queried. The value 0 indicates that the camera does not exist, and the value 1 indicates that the camera exists. If the value 100 is returned, 1 indicates the Hi3559 chip, and the last two 0s indicate that the two cameras do not exist.
  • board_id: Only the device type on the developer board can be queried.
  • sys_version: Only the product version of the developer board can be queried.

Yes

-

Example

  1. Log in to the server on the host as the HwHiAiUser user.
  2. Run the following command to obtain the list of all devices connected to the host by using IDE Daemon:
    IDE-daemon-client --host xx.xx.xx.xx:22118 --api device_info

    Replace xx.xx.xx.xx with the actual IP address of the host.