Get device info

1. API Description

This API is used to get the device information. Please check whether each sub-item of capability is true, and only when it is true, the corresponding API can be accessed.

Request mode: POST [ip]/api/system/device-info

Administrator Rights Logged-in
Yes Yes

2. Input Parameters

None

3. Output Parameters

Name Type Description
status Int Status code
code String Status description
device-name String The device's name
product-id String The device's ID
product-name String The product family name
hardware-rev String The hardware version
serial-number String The device's serial number
firmware-ver String The device's firmware version
firmware-name String The device's firmware name
build-time String The device's firmware build time
capability CapabilityInfo The device's capability list.
CapabilityInfo
Name Type Description
support-timezone Boolean Whether the device supports time zone
true: Yes; false: No
support-ntp Boolean Whether the device supports NTP
true: Yes; false: No
support-4g Boolean Whether the device supports 4G module
true: Yes; false: No
support-station Boolean Whether the device supports Wi-Fi mode
true: Yes; false: No
support-ap Boolean Whether the device supports AP mode
true: Yes; false: No
support-online-upgrade Boolean Whether the device supports online upgrade.
true: Yes; false: No
support-sc-control Boolean Whether the device supports Control Hub
true: Yes; false: No
support-ipv6 Boolean Whether the device supports IPv6.
true: Yes; false: No

4. Example

Getting the device information.

Input Example
None
Output Example
{
    "device-name": "USB Fusion",
    "product-id": "0x506",
    "product-name": "USB Fusion",
    "hardware-rev": "A",
    "serial-number": "A506210323002",
    "firmware-ver": "1.1.202",
    "firmware-name": "Development",
    "build-time": "2021-12-17 01:07:22",
    "capability": {
        "support-timezone": true,
        "support-ntp": true,
        "support-4g": false,
        "support-station": true,
        "support-ap": true,
        "support-online-upgrade": true,
        "support-sc-control": true,
        "support-ipv6": false
    },
    "status": 0
}

5. Error Code

No error code related to the API business logic. For other error codes, see Common Error Codes.

results matching ""

    No results matching ""