LEDColors/ajax/ajax_lightsoff.php
2023-08-29 12:25:33 -04:00

15 lines
274 B
PHP

<?php
require '../header.php';
$command = 0x00;
$target = intval($_SESSION['LEDTARGETID']);
$unique = mt_rand(1, 2000000000);
echo "Target: ", $target;
$data = pack("LLLCL", PACKETFILTER[0], PACKETFILTER[1], $unique, $command, $target);
transmitMessage($data);
exit();