From a756b10d18ededd335ce5290f4aedea0d332adc9 Mon Sep 17 00:00:00 2001 From: Junior Date: Mon, 10 Mar 2025 16:38:09 -0400 Subject: [PATCH] Add target for devices/boards to report their status --- boardstatus.php | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 boardstatus.php diff --git a/boardstatus.php b/boardstatus.php new file mode 100644 index 0000000..d57b64a --- /dev/null +++ b/boardstatus.php @@ -0,0 +1,27 @@ +prepare($query); +$sth->bindValue(":mac", $mac, PDO::PARAM_STR); +$sth->bindValue(":ipaddress", $ipaddress, PDO::PARAM_STR); +$sth->bindValue(":board", $board, PDO::PARAM_STR); +$sth->bindValue(":service", $service, PDO::PARAM_STR); +$sth->execute(); + +exit();