| | |
| | | paramsMap.put("extDevId", bindDeviceData.data.deviceId);
|
| | | paramsMap.put("spk","security.ipcam.imou");
|
| | | paramsMap.put("sid","8D00708PAGA01ED");
|
| | | paramsMap.put("productBrandldentity",bindDeviceData.data.productBrandldentity);
|
| | | paramsMap.put("productBrandIdentity",bindDeviceData.data.productBrandldentity);
|
| | | paramsMap.put("code", bindDeviceData.data.code);
|
| | | JsonObject json = HttpSend.execute(paramsMap, CONST.METHOD_BINDDEVICE,DMS_TIME_OUT);
|
| | | BindDeviceData.Response response = new BindDeviceData.Response();
|
| | | response.parseData(json);
|
| | |
|
| | | Intent intent = new Intent();
|
| | | intent.setAction("hdlUserDeviceBind");
|
| | | intent.putExtra("data",response.data.toString());
|
| | | // Intent intent = new Intent();
|
| | | // intent.setAction("hdlUserDeviceBind");
|
| | | // intent.putExtra("data",response.data.toString());
|
| | |
|
| | | return response;
|
| | | }
|