15.03.2021, 14:21
Thanks admin.
Now, I am developping this script not on LM but on a 'normal' Linux box, because I don't want to use the LM that is in production... Is there some standard lua equivalent for lmcore.hextostring?
Also the perl script converts the command to a readable string for logging purposes:
How would that be done in lua?
Thanks!
Now, I am developping this script not on LM but on a 'normal' Linux box, because I don't want to use the LM that is in production... Is there some standard lua equivalent for lmcore.hextostring?
Also the perl script converts the command to a readable string for logging purposes:
Code:
$commandhex =~ s/(.)/sprintf("0x%x ",ord($1))/eg;
How would that be done in lua?
Thanks!