一、定义
GAT1400.4中定义/VIAS/System/Keepalive,消息未POST消息
其中Keepalive消息定义为
其中ResponseStatus定义为:
二、wireshark捕获的消息
请求:
POST /VIID/System/Keepalive HTTP/1.1
Host: 10.0.21.166:1400
Content-Type: application/VIID+JSON; charset=UTF-8
User-Identify: 34078100001190001002
Accept: */*
User-Agent: Vision-Zenith, ChengDu
Accept-Encoding: gzip, deflate
Cache-Control: no-cache
Content-Length: 55
{"KeepaliveObject":{"DeviceID":"34078100001190001002"}}
应答:
文本化:
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Date: Tue, 04 Jun 2024 01:46:02 GMT
Content-Length: 153
{"ResponseStatusObject":{
"Id":"34078100001190001002",
"StatusCode":0,
"RequestURL":"/VIID/System/Register",
"StatusString":"",
"LocalTime":"20240604094602"
}}