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
No 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-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-if-prio Boolean Whether the device supports network card priority setting
true: Yes; false: No
support-usb-ncm Boolean Whether the device supports enabling or disabling USB NET, which taking effect after rebooting device.
true: Enabled; false: Disabled
support-wifi-mutex Boolean The WiFi supports working in AP and STA modes simultaneously (only applicable to USB Fusion)
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": "Pro Router ONE",
    "product-id": "0x601",
    "product-name": "Pro Router ONE",
    "hardware-rev": "B",
    "serial-number": "0123456789",
    "firmware-ver": "0.9.210",
    "firmware-name": "Development",
    "build-time": "2023-04-14 06:48:13",
    "capability": {
        "support-usbc-name": false,
        "support-timezone": true,
        "support-ntp": true,
        "support-station": true,
        "support-ap": true,
        "support-online-upgrade": false,
        "support-sc-control": false,
        "support-if-prio": false,
        "support-usb-ncm": false,
        "support-wifi-mutex": false,
        "support-ipv6": true
    },
    "status": 0,
    "code": "Success"
}

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 ""

    results matching ""

      No results matching ""