my $data = \[ $cmd ]; # Create an array reference for a single command byte