Register
Register a new device record
Register will add a new device to Meshblu
var ws = new WebSocket("wss://meshblu.octoblu.com/ws/v2");
ws.send(JSON.stringify([
"register",
{
"type":"drone"
}
]));
Response
If you successfully register you will receive a registered
message
[
"registered",
{
"uuid": "26de691f-8068-4cdc-907a-4cb5961a1aba",
"token": "2e924d1a9cad175ba91f120ede720d50010cd966",
"type": "drone"
}
]
Token
Device registration is the only time your token will be given to you. Be sure to keep it somewhere safe as the token is required to update your device in the future.
Updated less than a minute ago