HTTP/1.1 101 Switching Protocols
Server: nginx
Date: Fri, 20 Sep 2019 02:12:17 GMT
Connection: upgrade
Upgrade: websocket
Sec-WebSocket-Accept: <base 64 string>
{
"msg_type": "control:hello",
"connection_timeout": 20000,
"autopark": {
"heartbeat_frequency": 100,
"autopark_pause_timeout": 2000,
"autopark_stop_timeout": 10000
}
}
{
"autopark_style": "dead_man",
"msg_type": "autopark:style"
}
{
"autopark_state": "ready",
"autopark_state_reason": "",
"msg_type": "autopark:status"
}
{
"homelink_nearby": false,
"msg_type": "homelink:status"
}
{
"heading": 0,
"latitude": <X>,
"longitude": <Y>,
"msg_type": "vehicle_data:location",
"shift_state": "<invalid>",
"speed": 0
}