This commit is contained in:
newtbot
2023-12-27 16:58:51 +08:00
parent 84e6b42cb7
commit 45747af260
4 changed files with 567 additions and 454 deletions

View File

@ -10,11 +10,9 @@
/*
1) generate random data for each sensor
3) send the coap request to the server
2) pass to mqtt broker
*/
const { isNumber } = require("../../Web-Server/functions/validateData");
let region = ["central", "north-east", "north", "east", "west"];
function generateRandomData() {