allow to send commands to boat
This commit is contained in:
@@ -174,7 +174,10 @@
|
||||
|
||||
function getBoatLog(e)
|
||||
{
|
||||
alert("loggy log");
|
||||
let cmd = prompt("enter command");
|
||||
let boat = getDataFomEl(e.target);
|
||||
console.log("send cmd", boat, cmd);
|
||||
conn.send(passEl.value + ";sendcmd;" + boat['id'] + ";" + cmd);
|
||||
}
|
||||
|
||||
function reqBoats()
|
||||
@@ -307,4 +310,4 @@
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user