|
板凳
楼主 |
发表于 2016-10-17 23:20:39
|
只看该作者
gizWifiDevice.write({
"device": {
"did": pageParam.did,
"mac": pageParam.mac
},
"sn": 5,
"data": {
"alarmID_8B": alarmID_8B,
"alarmID_16B": alarmID_16B,
"alarmID_24B": alarmID_24B,
"alarmID_32B": alarmID_32B,
"alarm_activity":"12345" //唯一的扩展类型,长度为5个字节,发送后嵌入式端失败
}
}, function(ret, err) {
alert("ret = " + JSON.stringify(ret) + "err = " + JSON.stringify(err))
}); |
|