API Docs for: 1.0.0
Show:

service Class

Defined in: service.js:2
Module: service

Service

Item Index

Methods

Methods

addCallback

(
  • cb
)

Defined in service.js:1436

增加定时刷新回调

Parameters:

  • cb Function

addChildGroup

(
  • params
  • callback
)

Defined in service.js:6513

添加到儿童组设备列表

Parameters:

  • params Object

    json参数对象,需要添加的设备信息

  • callback Function

    成功回调函数

addOrEditApn

() Object

Defined in service.js:1248

新增APN

Returns:

Object:

JSON resultObject

addQueryString

(
  • query
)

Defined in service.js:1460

增加定时刷新参数

Parameters:

  • query String

    查询key

addTimerThings

(
  • querys
  • cb
)

Defined in service.js:1402

增加定时刷新参数及回调

Parameters:

  • querys Array | | String

    查询key

  • cb Function

    callback

addUrlFilterRule

(
  • params
  • callback
)

Defined in service.js:5679

添加URL过滤规则

Parameters:

  • params Object

    json参数对象

  • callback Function

    获取到结果后的回调函数

ajaxRequest

(
  • params
  • successCallback
  • errorCallback
  • async
  • isPost
)

Defined in service.js:39

Ajax异步调用

Parameters:

  • params Object

    json参数对象

  • successCallback Function

    成功回调函数

  • errorCallback Function

    失败回调函数

  • async Boolean

    是否为异步方法

  • isPost Boolean

    是否为post方法

asyncRequest

(
  • params
  • successCallback
  • errorCallback
  • isPost
)

Defined in service.js:27

Ajax异步调用

Parameters:

  • params Object

    json参数对象

  • successCallback Function

    成功回调函数

  • errorCallback Function

    失败回调函数

  • isPost Boolean

    是否为post方法

changePassword

(
  • JSON
)
Object

Defined in service.js:2723

获取PIN相关信息

Parameters:

  • JSON Object

Returns:

Object:

JSON

Example:

 //请求参数映射
{
    oldPassword:"123456",
    newPassword:"234567"
}

changePin

(
  • JSON
)
Object

Defined in service.js:2850

修改PIN

Parameters:

  • JSON Object

Returns:

Object:

JSON

Example:

 //请求参数映射
{
    oldPin = "2345";
    newPin = "1234";
}

checkCurrentUserInChildGroup

(
  • params
)
Object

Defined in service.js:6567

检查是否在儿童组设备列表中

Parameters:

  • params Object

    json参数对象 ,被检查的设备信息

Returns:

Object:

JSON

Example:

{result: true}

checkFileExists

()

Defined in service.js:3631

检查文件是否存在

checkRestoreStatus

()

Defined in service.js:3062

检测恢复出厂设置是否完成

checkTimerUpdaterParameters

()

Defined in service.js:1374

检查定时器参数,在未登录前不进行瞬时状态查询

childGroupList

()

Defined in service.js:6489

获取儿童组设备列表

clearRedirectFlag

()

Defined in service.js:6969

清除跳转flag

connect

()

Defined in service.js:970

联网

connectHotspot

()

Defined in service.js:5302

链接热点

createFolder

(
  • UNKNOWN
)

Defined in service.js:3881

创建文件夹

Parameters:

  • UNKNOWN Object

Example:

{ goformId : "HTTPSHARE_NEW", path_SD_CARD: params.path, name_SD_CARD: params.names }

creatHotspotString

()

Defined in service.js:5161

将热点信息组成字符串

DDNS

() Object

Defined in service.js:7130

获取当前升级模式

Returns:

Object:

JSON "mifi_fota"表示fota升级 "mifi_local"表示本地升级

DDNS

(
  • JSON
)

Defined in service.js:7106

设置DDNS

Parameters:

  • JSON Object

deleteAllMessages

()

Defined in service.js:2496

删除全部短消息 -- 目前经UE确认,移除了删除全部短信功能。此方法暂时保留

deleteAllPhoneBooks

(
  • JSON
)
Object

Defined in service.js:1798

删除所有电话本数据

Parameters:

  • JSON Object

Returns:

Object:

JSON

Example:

//请求参数映射 { location:0 }

deleteAllPhoneBooksByGroup

(
  • JSON
)
Object

Defined in service.js:1836

按分组删除所有电话本数据

Parameters:

  • JSON Object

Returns:

Object:

JSON

Example:

//请求参数映射 { del_group:'common' }

deleteApn

() Object

Defined in service.js:1158

根据profile name删除apn信息

Returns:

Object:

JSON resultObject

Example:

 //请求参数映射
    {
        goformId : "APN_PROC_EX",
        apn_action : "delete",
        apn_mode : "manual",
        index : params.index
    }

deleteFilesAndFolders

(
  • UNKNOWN
)

Defined in service.js:3830

删除文件和文件夹

Parameters:

  • UNKNOWN Object

Example:

{ goformId : "HTTPSHARE_DEL", path_SD_CARD: params.path, name_SD_CARD: params.names }

deleteFilterRules

()

Defined in service.js:4155

删除端口过滤信息

deleteHotspot

()

Defined in service.js:5248

删除热点

deleteMapRules

()

Defined in service.js:4614

删除端口映射信息

deletePhoneBooks

(
  • JSON
)
Object

Defined in service.js:1760

删除电话本

Parameters:

  • JSON Object

Returns:

Object:

JSON

Example:

//请求参数映射 { indexs:["1","2","3"] }

deleteSelectedRules

(
  • params
  • callback
)

Defined in service.js:5740

删除URL过滤规则

Parameters:

  • params Object

    json参数对象

  • callback Function

    获取到结果后的回调函数

disablePin

(
  • JSON
)
Object

Defined in service.js:2818

禁用PIN

Parameters:

  • JSON Object

Returns:

Object:

JSON

Example:

 //请求参数映射
{
    oldPin = "1234";
}

disconnect

()

Defined in service.js:1019

断网

disconnectHotspot

()

Defined in service.js:5333

断开热点

doStuff

(
  • params
  • result
  • prepare
  • dealMethod
  • errorObject
  • isPost
)

Defined in service.js:87

doStuff业务处理函数

Parameters:

  • params Object

    json参数对象

  • result Object

    错误对象

  • prepare Function

    数据准备函数

  • dealMethod Function

    结果适配函数

  • errorObject Object

    默认错误对象

  • isPost Boolean

    是否为post方法

doStuffAndCheckServerIsOnline

()

Defined in service.js:3524

业务处理后,轮询检测服务器是否可以连接,可连接时执行回调函数

editHostName

(
  • params
)

Defined in service.js:6624

修改已连接设备名称

Parameters:

  • params Object

    JSON参数对象 ,被修改的设备信息

enablePin

(
  • JSON
)
Object

Defined in service.js:2786

启用PIN

Parameters:

  • JSON Object

Returns:

Object:

JSON

Example:

 //请求参数映射
{
   oldPin = "1234";
}

enablePortMap

()

Defined in service.js:4590

启用/禁用端口映射

enableVirtualServer

()

Defined in service.js:3413

虚拟服务器设置

enterPIN

(
  • JSON
)
Object

Defined in service.js:2273

验证PIN输入是否正确

Parameters:

  • JSON Object

    参数对象

Returns:

Object:

JSON

Example:

 //请求参数映射
{
   PinNumber = "1234";
}

enterPUK

(
  • JSON
)
Object

Defined in service.js:2304

根据PUK设置新的PIN

Parameters:

  • JSON Object

    参数对象

Returns:

Object:

JSON

Example:

 //请求参数映射
{
    PUKNumber = "12345678";
    PinNumber = "1234";
}

fileRename

() Object

Defined in service.js:3736

sd card 文件重命名

Returns:

Object:

Example:

requestParams = { goformId : "HTTPSHARE_FILE_RENAME", path_SD_CARD : params.path, OLD_NAME_SD_CARD : oldpath, NEW_NAME_SD_CARD : newpath }

getApnSettings

() Object

Defined in service.js:1068

获取apn信息

Returns:

Object:

JSON

Example:

 //返回结果格式
    {
        APNs : result.APN_config0 + "||" + result.APN_config1 + "||" + result.APN_config2 + "||" + result.APN_config3 + "||" + result.APN_config4 + "||" + result.APN_config5 + "||" + result.APN_config6 + "||" + result.APN_config7 + "||" + result.APN_config8 + "||" + result.APN_config9,
        ipv6APNs : result.ipv6_APN_config0 + "||" + result.ipv6_APN_config1 + "||" + result.ipv6_APN_config2 + "||" + result.ipv6_APN_config3 + "||" + result.ipv6_APN_config4 + "||" + result.ipv6_APN_config5 + "||" + result.ipv6_APN_config6 + "||" + result.ipv6_APN_config7 + "||" + result.ipv6_APN_config8 + "||" + result.ipv6_APN_config9,
        apnMode : result.apn_mode,
        profileName :  result.m_profile_name || result.profile_name,
        wanDial : result.wan_dial,
        pdpType : result.pdp_type,
        pdpSelect : result.pdp_select,
        index : result.index,
        currIndex : result.Current_index,
        autoApns : result.apn_auto_config,
        wanApn : result.wan_apn,
        authMode : result.ppp_auth_mode,
        username : result.ppp_username,
        password : result.ppp_passwd,
        wanApnV6 : result.ipv6_wan_apn,
        authModeV6 : result.ipv6_ppp_auth_mode,
        usernameV6 : result.ipv6_ppp_username,
        passwordV6 : result.ipv6_ppp_passwd
}

getAPStationBasic

()

Defined in service.js:4955

获取AP Station基本设置

getAttachedCableDevices

() Object

Defined in service.js:498

获取当前有线已连接设备的信息

Returns:

Object:

JSON

Example:

//返回结构格式

{"lan_station_list":[{"hostname":"ZTE-20130328VII","mac_addr":"00:08:07:09:31:23"}]}

getConnectionInfo

() Object

Defined in service.js:892

获取联网及流量信息

Returns:

Object:

JSON 参数对象

getCurrentlyAttachedDevicesInfo

() Object

Defined in service.js:459

获取当前WiFi已连接设备的信息

Returns:

Object:

JSON

Example:

//返回结构格式

{ macAddress:"E8-E3-A5-AB-86-44", ipAddress:"192.168.0.45", hostName:"myhostName", timeConnected:10 }

getCurrentUpgradeState

() Object

Defined in service.js:6317

获取OTA升级状态

Returns:

Object:

JSON 对象

getDeviceInfo

()

Defined in service.js:4272

获取设备基本信息

getDevicePhoneBookCapacity

() Object

Defined in service.js:2117

获取设备电话本容量

Returns:

Object:

JSON

Example:

 //返回结果
{
    pcPbmTotalCapacity:100,
    pcPbmUsedCapacity:30
}

getDevicePhoneBooks

() Object

Defined in service.js:2017

获取设备侧电话本数据

Returns:

Object:

JSON

getFastbootSetting

()

Defined in service.js:6142

获取快速开机设置

getFileList

() Object

Defined in service.js:3672

进入文件夹,并获取文件夹内文件列表

Returns:

Object:

Example:

    {"result":{"totalRecord":"4", "fileInfo":[
     {"fileName":"card","attribute":"document","size":"0","lastUpdateTime":"20120510"},
     {"fileName":"cf","attribute":"document","size":"0","lastUpdateTime":"20120510"},
     {"fileName":"net","attribute":"document","size":"0","lastUpdateTime":"20120510"},
     {"fileName":"ram","attribute":"document","size":"0","lastUpdateTime":"20120510"}]}}

getHostNameList

()

Defined in service.js:6600

获取已连接设备名称列表

getHotspotList

()

Defined in service.js:5020

获取预置和保存的热点列表

getLanguage

(
  • JSON
)

Defined in service.js:559

设置语言信息

Parameters:

  • JSON Object

    参数对象

getLanguage

() Object

Defined in service.js:532

获取当前语言信息

Returns:

Object:

JSON

getLanInfo

() Object

Defined in service.js:2884

获取路由信息

Returns:

Object:

JSON

getLoginData

() Object

Defined in service.js:2136

获取登录相关信息

Returns:

Object:

JSON

getLoginStatus

() Object

Defined in service.js:2218

获取登录状态

Returns:

Object:

JSON

Example:

//返回结果格式
{
   status = "loggedIn";
}

getMacFilterInfo

() Object

Defined in service.js:6084

获取WiFi MAC过滤信息

Returns:

Object:

params json参数对象

getMandatory

() Object

Defined in service.js:6262

获取OTA强制升级状态

Returns:

Object:

JSON 对象

getNetSelectInfo

() Object

Defined in service.js:584

读取当前选网模式

Returns:

Object:

JSON 参数对象

getNetworkUnlockTimes

()

Defined in service.js:4883

获取解锁次数

getNewVersionState

() Object

Defined in service.js:6234

获取OTA新版本信息

Returns:

Object:

JSON 对象

getOpMode

() Object

Defined in service.js:5356

获取RJ45基本状态信息

Returns:

Object:

JSON 参数对象

getOTAUpdateSetting

() Object

Defined in service.js:6393

获取OTA配置信息

Returns:

Object:

JSON 对象

getPackSizeInfo

() Object

Defined in service.js:6342

获取OTA下载状态

Returns:

Object:

JSON 对象

getPhoneBookCapacity

() Object

Defined in service.js:2063

获取电话本容量信息,包括SIM卡和设备侧

Returns:

Object:

JSON

getPhoneBooks

() Object

Defined in service.js:2035

获取电话本数据,包括SIM卡和设备侧

Returns:

Object:

JSON

getPhoneBooksByGroup

() Object

Defined in service.js:1972

按分组获取设备侧电话本数据

Returns:

Object:

JSON

getPinData

() Object

Defined in service.js:2761

获取PIN相关信息

Returns:

Object:

JSON

getPortFilter

()

Defined in service.js:3975

获取端口过滤信息

getPortForward

()

Defined in service.js:3284

获取端口转发信息

getPortMap

()

Defined in service.js:4483

获取端口映射规则

getPppoeParams

(
  • params
)
Object

Defined in service.js:5463

获取RJ45有线网络状态信息

Parameters:

  • params Object

    json参数对象

Returns:

Object:

JSON 参数对象

getQuickSettingInfo

()

Defined in service.js:3437

获取快速设置需要的数据

getRedirectData

()

Defined in service.js:6940

获取跳转信息

getResponse

()

Defined in service.js:4749

获取响应

getRj45PlugState

() Object

Defined in service.js:5391

获取RJ45网线状态信息

Returns:

Object:

JSON 参数对象

Example:

{ rj45_plug: "wan_lan_off" }

getRoamStatus

()

Defined in service.js:1587

获取漫游状态, 参考MF93

Returns:

true 漫游状态 false 非漫游状态

getSDConfiguration

()

Defined in service.js:3566

获取SD Card配置信息

getSdMemorySizes

() Object

Defined in service.js:3795

获取SD Card容量

Returns:

Object:

Example:

{ totalMemorySize : data.sd_card_total_size, availableMemorySize : data.sd_card_avi_space }

getSearchHotspotList

()

Defined in service.js:5102

获取搜寻到的热点列表

getSecurityInfo

() Object

Defined in service.js:402

获取wifi安全设置信息

Returns:

Object:

wifi 安全 json 对象

getSIMPhoneBookCapacity

() Object

Defined in service.js:2092

获取SIM卡侧电话本容量

Returns:

Object:

JSON

Example:

 //请求参数映射
{
    simPbmTotalCapacity:100,
    simPbmUsedCapacity:20,
    simType:?, //2G or 3G used to extend pbm
    maxNameLen:?,
    maxNumberLen:?
}

getSIMPhoneBooks

() Object

Defined in service.js:2026

获取SIM卡侧电话本数据

Returns:

Object:

JSON

getSiteWhiteList

() Object

Defined in service.js:6651

获取白名单列表

Returns:

Object:

JSON

getSleepInfo

()

Defined in service.js:3183

获取wifi 休眠信息

getSmsCapability

() Object

Defined in service.js:939

获取短信容量。

Returns:

Object:

JSON 参数对象

getSMSDeliveryReport

()

Defined in service.js:2670

获取短信发送报告列表

getSMSMessages

()

Defined in service.js:2337

获取全部短消息

Example:

 //请求参数映射

getSmsSetting

()

Defined in service.js:2949

获取短信设置参数

getSntpParams

(
  • params
  • callback
)

Defined in service.js:5533

获取SNTP信息

Parameters:

  • params Object

    json参数对象

  • callback Function

    获取到结果后的回调函数

getStatusInfo

() Object

Defined in service.js:782

读取当前设备常用基本信息

Returns:

Object:

JSON 参数对象

getSyslogInfo

() Object

Defined in service.js:5822

获取系统LOG

Returns:

Object:

params json参数对象

getSysSecurity

()

Defined in service.js:3232

获取防火墙安全信息

getTimeLimited

() Object

Defined in service.js:6729

获取家长控制时间限制信息

Returns:

Object:

JSON数组

Example:

'0': ['0','8','20'], '1': [], '2': [], '3': [], '4': [], '5': [], '6': []

getTrafficAlertInfo

()

Defined in service.js:4638

获取流量提醒数据

getTsw

() Object

Defined in service.js:6801

获取wifi定时休眠唤醒信息

Returns:

Object:

JSON数组

Example:

{ closeEnable:"0" closeH:"22" closeM:"00" closeTime:"22:00" openEnable:"1" openH:"06" openM:"30" openTime:"06:30" }

getUpdateInfoWarning

()

Defined in service.js:4932

获取升级提醒信息

getUpgradeResult

() Object

Defined in service.js:6294

获取OTA升级结果

Returns:

Object:

JSON 对象

getUpnpSetting

()

Defined in service.js:4378

获取upnp信息

getUpnpSetting

()

Defined in service.js:4428

获取dmz信息

getUrlFilterList

() Object

Defined in service.js:5704

获取URL过滤规则列表

Returns:

Object:

params json参数对象

getUserMacAddr

()

Defined in service.js:6592

获取用户MAC信息

getUSSDResponse

()

Defined in service.js:4706

发送USSD命令,获取响应

getWdsInfo

() Object

Defined in service.js:5765

获取WDS信息

Returns:

Object:

params json参数对象

getWifiAdvance

() Object

Defined in service.js:4193

获取wifi高级信息

Returns:

Object:

wifi JSON 对象

getWifiBasic

() Object

Defined in service.js:172

获取基本的wifi信息

Returns:

Object:

wifi JSON 对象

getWifiRange

()

Defined in service.js:4329

获取wifi覆盖范围

getWifiRange

()

Defined in service.js:4354

设置wifi覆盖范围

getWpsInfo

()

Defined in service.js:3086

获取wps相关信息

login

(
  • JSON
)
Object

Defined in service.js:2168

获取登录状态

Parameters:

  • JSON Object

Returns:

Object:

JSON

Example:

//返回结果格式 { password:"123456" }

logout

() Object

Defined in service.js:2696

退出系统

Returns:

Object:

JSON

openWps

()

Defined in service.js:3125

开启wps

openWps_5g

()

Defined in service.js:3154

开启5.0G wps

refreshAPStationStatus

() GetAPStationBasic |

Defined in service.js:5008

刷新AP Station使能状态到缓存

Returns:

GetAPStationBasic | :

removeCallback

(
  • cb
)

Defined in service.js:1447

删除定时刷新回调

Parameters:

  • cb Function

removeChildGroup

(
  • params
  • callback
)

Defined in service.js:6540

从儿童组设备列表中去除

Parameters:

  • params Object

    json参数对象 ,删除的设备信息

  • callback Function

    成功回调函数

removeQueryString

(
  • query
)

Defined in service.js:1471

删除定时刷新回调

Parameters:

  • query String

removeSiteWhite

(
  • params
)

Defined in service.js:6676

从网站白名单列表中移除

Parameters:

  • params Object

    JSON参数对象

removeTimerThings

(
  • querys
  • cb
)

Defined in service.js:1419

删除定时刷新参数及回调

Parameters:

  • querys Array | | String

    查询key

  • cb Function

resetNewSmsReceivedVar

()

Defined in service.js:919

将未读短信变量从接收到未读短信设置成没有接收到

Example:

timerInfo.newSmsReceived = false;

resetSmsReportReceivedVar

()

Defined in service.js:929

将短信发送报告变量从接收到设置成没有接收到

Example:

timerInfo.smsReportReceived = false;

restart

()

Defined in service.js:6212

重启设备

restoreFactorySettings

() Object

Defined in service.js:3034

恢复出厂设置

Returns:

Object:

JSON

saveHotspot

()

Defined in service.js:5180

保存热点

savePhoneBook

(
  • JSON
)
Object

Defined in service.js:1689

保存一条电话本

Parameters:

  • JSON Object

Returns:

Object:

JSON

Example:

//请求参数映射 { location = 0; name = "张三"; mobile_phone_number = "13500000015"; home_phone_number = "012-12345678"; office_phone_number = "012-87654321"; mail = "mail@mail.com"; }

saveSiteWhite

(
  • params
)

Defined in service.js:6702

添加至网站白名单列表中

Parameters:

  • params Object

    JSON参数对象

saveSMS

()

Defined in service.js:2455

保存草稿

saveTimeLimited

(
  • JSON数组,时间信息
)

Defined in service.js:6774

设置时间限制信息

Parameters:

  • JSON数组,时间信息 Object

Example:

{time:"0+0,8,20;1+9,13;2+10,15,18,22"}

saveTsw

(
  • JSON数组
)

Defined in service.js:6853

设置wifi定时休眠唤醒信息

Parameters:

  • JSON数组 Object

scanForNetwork

()

Defined in service.js:644

Description : scan the network Parameters : [IN] : function :callback(bResult, listNetwork) : call back function, and the parameters list below: [IN] : bool : bResult : true = succeed, false = failed. [IN] : object : listNetwork : network information array, the object attribute in the array below: type : name : description string : strFullName : operator full name(the value is maybe ""), such as 'china mobile' string : strShortName : operator short name(the value is maybe ""), such as 'china mobile' string : strNumeric : the digital number, such as '460' number : nRat : the network connect technology, 0 = '2G', 2 = '3G'. number : nState : operator availability as int at+cops=? (This is as per 3GPP TS 27.007) if get net work list failed, the return value will be an null array. return : void

searchHotspot

()

Defined in service.js:5079

搜索热点

sendSMS

()

Defined in service.js:2413

发送短消息

sendSMS

()

Defined in service.js:2543

删除选中短消息

setAPStationBasic

()

Defined in service.js:4982

获取AP Station基本设置

setBearerPreference

(
  • JSON
)

Defined in service.js:617

设置自动选网的网络制式

Parameters:

  • JSON Object

Example:

setConnectionMode

(
  • JSON
)

Defined in service.js:1875

设置拨号模式

Parameters:

  • JSON Object

Returns:

success/failure

setConnectionMode

() Object

Defined in service.js:1902

读取当前拨号模式

Returns:

Object:

JSON

setDefaultApn

() Object

Defined in service.js:1198

设置默认APN

Returns:

Object:

JSON resultObject

Example:

 //请求参数映射
    {
        goformId : "APN_PROC_EX", //"APN_PROC",
        apn_action : "set_default",
        //0(新增并且设置默认,或者编辑后设置默认)/1(选择已经保存过的,直接设置默认)
        //目前只支持1。当传0时,需要将save时的参数一并传下
        set_default_flag : "1",
        pdp_type : params.pdpType, //IP/IPv6/IPv4v6
        index : params.index,
        apn_mode : 'manual' 
    }

setDmzSetting

()

Defined in service.js:4455

设置dmz信息

setFastbootSetting

(
  • params
)

Defined in service.js:6166

设置快速开机信息

Parameters:

  • params Object

    json参数对象

setLanInfo

()

Defined in service.js:2917

设置路由信息

setMacFilter

() Object

Defined in service.js:6117

设置WiFi MAC过滤信息

Returns:

Object:

params json参数对象

setNetwork

()

Defined in service.js:1611

Description : set current network Parameters : [IN] : string : strNetworkNumber : the network digital number MCCMNC. [IN] : number : nRat : the network connect technology: 0 = "2G", 2 = "3G". [IN] : function : callback(bResult) : call back function, and the parameters list below: [IN] : bool : bResult : true = succeed, false = failed. return : bool : if the parameters is invalid, the function will return false, otherwise will return true. comment: we need another parameter nRat, the value may be: 0 = '2G' or 2 = '3G'.

SetOperationMode

(
  • params
  • callback
)

Defined in service.js:5437

模式切换设置

Parameters:

  • params Object

    json参数对象

  • callback Function

    获取到结果后的回调函数

setOTAUpdateSetting

()

Defined in service.js:6458

获取信号强度

setOTAUpdateSetting

(
  • params
)

Defined in service.js:6422

设置OTA配置信息

Parameters:

  • params Object

    json参数对象

setOTAUpdateSetting

()

Defined in service.js:6466

清除升级结果

setOTAUpdateSetting

()

Defined in service.js:6450

设置OTA最近一次升级时间信息

setPortFilter

()

Defined in service.js:4120

设置端口过滤信息

setPortFilterBasic

()

Defined in service.js:4095

设置端口过滤基本信息

setPortForward

()

Defined in service.js:3361

设置端口转发信息

setPortForward

()

Defined in service.js:3389

删除端口转发规则

setPortMap

()

Defined in service.js:4561

设置端口映射信息

setPppoeDialMode

(
  • params
  • callback
)

Defined in service.js:5503

设置RJ45有线网络模式

Parameters:

  • params Object

    json参数对象

  • callback Function

    获取到结果后的回调函数

setQuickSetting4IPv6

()

Defined in service.js:3468

快速设置(支持IPv6)

setSdCardMode

()

Defined in service.js:3604

设置SD Card Mode

setSdCardSharing

(
  • UNKNOWN
)

Defined in service.js:3930

设置SD 卡共享参数

Parameters:

  • UNKNOWN Object

Example:

requestParams = { isTest : isTest, goformId : "HTTPSHARE_AUTH_SET", HTTP_SHARE_STATUS: params.share_status == "1" ? "Enabled" : "Disabled", HTTP_SHARE_WR_AUTH: params.share_auth == "1" ? "readWrite" : "readOnly", HTTP_SHARE_FILE: params.share_file };

setSecurityInfo

() Object

Defined in service.js:431

设置wifi安全设置信息

Returns:

Object:

wifi 安全 json 对象

setSleepMode

()

Defined in service.js:3208

设置wifi休眠信息

setSmsRead

(
  • ids
)

Defined in service.js:2638

新短信设置为已读

Parameters:

  • ids String

    以分号分隔的短信编号

setSmsSetting

()

Defined in service.js:2996

设置短信参数

setSNTPDate

(
  • params
  • callback
)

Defined in service.js:5601

设置手动时间校准

Parameters:

  • params Object

    json参数对象

  • callback Function

    获取到结果后的回调函数

setSntpSetting

(
  • params
  • callback
)

Defined in service.js:5626

设置SNTP校准信息

Parameters:

  • params Object

    json参数对象

  • callback Function

    获取到结果后的回调函数

setSysLog

(
  • params
  • callback
)

Defined in service.js:5850

设置系统LOG

Parameters:

  • params Object

    json参数对象

  • callback Function

    获取到结果后的回调函数

setSysSecurity

()

Defined in service.js:3259

设置防火墙安全信息

setTrafficAlertInfo

()

Defined in service.js:4675

设置流量提醒

setUartBaudrate

() Object

Defined in service.js:7074

获取当前DDNS信息

Returns:

Object:

JSON

setUpdateInfoWarning

()

Defined in service.js:4906

设置升级提醒信息

setUpgradeSelectOp

(
  • params
)

Defined in service.js:6366

用户选择是否进行升级和升级中取消

Parameters:

  • params Object

    json参数对象

setUpnpSetting

()

Defined in service.js:4404

设置upnp信息

setWDS

(
  • params
  • callback
)

Defined in service.js:5797

WDS设置

Parameters:

  • params Object

    json参数对象

  • callback Function

    获取到结果后的回调函数

setWifiAdvance

(
  • JSON
)

Defined in service.js:4231

设置wifi高级信息

Parameters:

  • JSON Object

    参数对象

setWifiBasic

(
  • JSON
)
Object

Defined in service.js:369

设置基本的wifi信息

Parameters:

  • JSON Object

    参数对象

Returns:

Object:

Example:

setWifiBasic(SSID1)

(
  • JSON
)
Object

Defined in service.js:239

设置基本的wifi信息(SSID1)

Parameters:

  • JSON Object

    参数对象

Returns:

Object:

setWifiBasic(SSID2)

(
  • JSON
)
Object

Defined in service.js:303

设置基本的wifi信息(SSID2)

Parameters:

  • JSON Object

    参数对象

Returns:

Object:

syncRequest

(
  • params
  • isPost
)

Defined in service.js:17

Ajax同步调用

Parameters:

  • params Object

    json参数对象

  • isPost Boolean

    是否为post方法

timerUpdater

()

Defined in service.js:1349

定时刷新器。成功获取到数据以后将遍历回调列表

timerUpdateStatus

(
  • JSON
)

Defined in service.js:1481

定时刷新默认状态更新回调函数

Parameters:

  • JSON Object

    data 定时刷新返回的结果集

trafficCalibration

(
  • JSON
)

Defined in service.js:6888

手动校准流量信息

Parameters:

  • JSON Object

turnOffDevice

()

Defined in service.js:6190

关闭设备

unlockNetwork

()

Defined in service.js:4845

网络解锁

USSDReplyCancel

()

Defined in service.js:4803

发送USSD取消命令

Attributes

timerCallbacks

Array

Defined in service.js:1343

定时刷新回调列表

timerCallbackStack

Array

Defined in service.js:1337

定时刷新临时回调列表

timerQueryString

Array

Defined in service.js:1322

定时刷新获取的参数列表