接口描述

获取基本的wifi信息

请求方式

GET

接口地址

/goform/goform_get_cmd_process

请求字段说明

参数名 类型 举例 描述 备注
isTest bool false 是否是测试模式 -
cmd string m_ssid_enable,wifi_cur_state,NoForwarding,m_NoForwarding,{WPAPSK},MAX_Station_num,SSID1,AuthMode,HideSSID,MAX_Access_num,show_qrcode_flag,EncrypType,Key1Str1,Key2Str1,Key3Str1,Key4Str1,DefaultKeyID,m_SSID,m_AuthMode,m_HideSSID,m_MAX_Access_num,m_EncrypType,m_show_qrcode_flag,m_DefaultKeyID,m_Key1Str1,m_Key2Str1,m_Key3Str1,m_Key4Str1,rotationFlag,wifi_sta_connection 指令名称 固定值
multi_data integer 1 是否请求多行数据 固定值
占位符 取值 条件
{WPAPSK} WPAPSK1_encode,m_WPAPSK1_encode 『加密选项』打开时(默认)
{WPAPSK} WPAPSK1,m_WPAPSK1 『加密选项』关闭时

注意:设置值取决于『登录密码和WIFI密码是否加密』,可以在 config.PASSWORD_ENCODE 配置。

正确返回

{
    "m_ssid_enable": "0",
    "wifi_cur_state": "",
    "NoForwarding": "0",
    "m_NoForwarding": "",
    "WPAPSK1_encode": "MTIzNDU2Nzg=",
    "m_WPAPSK1_encode": "MTIzNDU2Nzg=",
    "MAX_Station_num": "8",
    "SSID1": "MiFi_FED7AE",
    "AuthMode": "WPA2PSK",
    "HideSSID": "0",
    "MAX_Access_num": "8",
    "show_qrcode_flag": "",
    "EncrypType": "AES",
    "Key1Str1": "12345",
    "Key2Str1": "",
    "Key3Str1": "",
    "Key4Str1": "",
    "DefaultKeyID": "0",
    "m_SSID": "MiFi_FED7AE_2",
    "m_AuthMode": "WPA2PSK",
    "m_HideSSID": "0",
    "m_MAX_Access_num": "0",
    "m_EncrypType": "AES",
    "m_show_qrcode_flag": "",
    "m_DefaultKeyID": "",
    "m_Key1Str1": "",
    "m_Key2Str1": "",
    "m_Key3Str1": "",
    "m_Key4Str1": "",
    "rotationFlag": "",
    "wifi_sta_connection": "0"
}

results matching ""

    No results matching ""