Displaying 1 result from an estimated 1 matches for "h_mac".
Did you mean:
s_mac
2004 Sep 22
2
Grandstream bin cfg.txt generator
...for information about the format of this file !
(One thing I am not 100% sure of: do I have to append zeros to the end of the body until it has an even amount of bytes, or an even amount of words ? Right now, I do both.)
Regards,
Leon de Rooij
--------------
#!/usr/bin/perl -w
use strict;
my $h_mac = '000b82014e20'; # hexadecimal mac address
my $f_in = 'cfg.in'; # file body, configfile containing all parameters
my $f_out = 'cfg.txt'; # the configfile that will be written to
my $h_crlf = '0d0a'; # hexadecimal crlf
# convert some things t...