Clone
4
Bobby Websocket
CommanderRedYT edited this page 2022-01-30 18:25:25 +01:00

Per default, the websocket client on the bobbycar will enter statistics mode (mode 0). The bobbycar can only start to send data if the cloud has send a hello-message. This message looks like the following:

{
    "type": "hello",
    "supports": [
        "stats",
        "coredump",
        "remote-viewer"
    ]
}

Hello message from bobbycar:

{"type":"hello","name":"bobby","res":"240x320","pass":"Passwort123","key":"SECRET_ACCESS_KEY"}

Hello response from server:

{"type":"hello","supports":["remote-viewer"]}