res = JSON.stringify({ x: 10.0, y: 3.0, angle: 0 });
console.log(res);
byteArr = []
for(let c of res){
byteArr.push(c.charCodeAt().toString(16))
}
console.log(byteArr)
console.log(byteArr.length.toString(16))
https://support.seer-group.com/Robokit_API_txxy/API/TCP_IP_API/gs/APIbwjg.html