• Getting Started
  • Core concepts
  • UBROAD API
  • Find Answers
  • En

    開啟 Open API功能

    URL /openapi?pw<password>&en=
    Method GET
    Format(Byte) 1/0
    Descrip Enable / Disable, default api password is wifi password
    Version 1.0

    Pw

    UBROAD Open API調用密碼

    URL /openapi?pw<password>
    Method GET
    Format (Byte) String (32)
    Descrip Password
    Version 1.0

    Set On/Off

    打開或關閉目標設備

    URL /openapi?pw<password>&SetOnfOff=
    Method GET
    Format(Byte) 1/0
    Descrip Turn on / Turn off
    Version 1.0

    Get On/Off

    取得開關狀態

    URL /openapi?pw<password>&GetOnfOff=
    Method GET
    Result (Byte) 1/0
    Descrip Turn on / Turn off
    Version 1.0

    Mac Address

    取得設備 MAC位置

    URL /openapi?pw<password>&GetMac=
    Method GET
    Result (Byte) String (16)
    Descrip
    Version 1.0

    Set WiFi LED Status on/off

    設定 WiFi LED指示燈開啟或關閉

    URL /openapi?pw<password>&SetLedStaEn=
    Method GET
    Format (Byte) 1/0
    Descrip Turn on/Turn off
    Version 1.0

    Get WiFi LED Status

    取得 WiFi LED指示燈開關狀態

    URL /openapi?pw<password>&GetLedStaEn=
    Method GET
    Result (Byte) 1/0
    Descrip Turn on/Turn off
    Version 1.0

    Setting New Password

    設定 Open API新密碼

    URL /openapi?pw<old password>&newPw=<new password>&repPw=<repeat new password>
    Method GET
    Format (Byte) String (32)
    Descrip Password max 32 byte
    Version 1.0