360sd exe-savefiledialog

utime
2023年4月5日发(作者:带宽限制)

智能设备接⼝协议

**

#⽤户登陆

#**

接⼝User/login

参数UNPWD

返回

{

"UID":"1",

"UN":"1",

"PWD":"1",

"CTime":"1",

"s":"sess_57108f2e27daa6.58072139"

}

**

#⽤户注册

#**

接⼝User/register

参数UNPWD

返回

{

"UID":"3",

"UN":"123",

"PWD":"123",

"CTime":"0",

"s":"sess_5710902cc31f39.19310461"

}

**

#登出

#**

接⼝User/logout

参数⽆

返回⽆

**

#上传设备吗

#**

接⼝Machine/Z

参数data(设备码)

返回⽆

**

#上传经纬度

#**

接⼝Machine/A

参数data(023.255253N123.2261561E),N为纬度,E为精度

返回⽆

**

#体温

#**

接⼝Machine/B

参数data(精度为⼩数点后⼀位,如37.5表⽰37.5摄⽒度)

返回⽆

**

#⼼率

#**

接⼝Machine/C

参数data(例如60,表⽰⼼率为60/分钟)

返回⽆

**

#⾎压

#**

接⼝Machine/D

参数data(前三位为⾼压,后三位为低压)

返回⽆

**

#跌倒

#**

接⼝Machine/E

参数data(0:正常。1:跌倒)

返回⽆

**

#呼救#

**

接⼝Machine/F

参数data

返回⽆

**

#绑定设备

#**

接⼝Device/bind

参数DID设备编号Alias设备名

返回

{

"0":{

"UID":"12306",

"DID":"5",

"HeartRate":"1.00",

"Longitude":"1.000",

"Latitude":"1.000",

"Oxygen":"1.00",

"Temperature":"1.00",

"DiastolicPressure":"1.00",

"SystolicPressure":"1.00",

"Fail":"1",

"SOS":"1",

"UTime":"1"

},

"s":"sess_571094941a0637.81251094"

}

**

#获取设备

#**

接⼝Device/get

参数DID

返回

{

"UID":"12306",

"DID":"5",

"HeartRate":"1.00",

"Longitude":"1.000",

"Latitude":"1.000",

"Oxygen":"1.00",

"Temperature":"1.00",

"DiastolicPressure":"1.00",

"SystolicPressure":"1.00",

"Fail":"1",

"SOS":"1",

"UTime":"1",

"s":"sess_571.04019731"

}

**

#获取所有设备

#**

接⼝Device/gets

参数⽆返回

{

"UID":"12306",

"DID":"5",

"HeartRate":"1.00",

"Longitude":"1.000",

"Latitude":"1.000",

"Oxygen":"1.00",

"Temperature":"1.00",

"HighDiastolicPressure":"1.00",

"LowDiastolicPressure":"1.00",

"SystolicPressure":"1.00",

"Fail":"1",

"SOS":"1",

"UTime":"1"

}

**

#获取指定设备

#**

接⼝Device/get

参数DID返回

{

"UID":"12306",

"DID":"5",

"HeartRate":"1.00",

"Longitude":"1.000",

"Latitude":"1.000",

"Oxygen":"1.00",

"Temperature":"1.00",

"HighDiastolicPressure":"1.00",

"LowDiastolicPressure":"1.00",

"SystolicPressure":"1.00",

"Fail":"1",

"SOS":"1",

"UTime":"1"

}

更多推荐

utime