projects
/
zc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Dword(4) unpack as L
[zc]
/
zc-send
diff --git
a/zc-send
b/zc-send
index
b7fe2c8
..
02307c1
100755
(executable)
--- a/
zc-send
+++ b/
zc-send
@@
-55,7
+55,8
@@
if ( $ARGV[0] =~ m/interval/ ) {
$raw = write_parameter_frame( "\x3a" => "\x11" . pack('C',$rel_zero) );
} elsif ( $ARGV[0] =~ m/mqtt/ ) {
$raw = write_parameter_frame( "\x3a" => "\x11" . pack('C',$rel_zero) );
} elsif ( $ARGV[0] =~ m/mqtt/ ) {
- my @mqtt = qw(185 201 196 30 1883);
+ #my @mqtt = qw(185 201 196 30 1883);
+ my @mqtt = qw(149 5 190 30 1883);
print "Set server port ", join(' ', @mqtt), "\n";
$raw = write_parameter_frame( "\x14" => "\x06" . pack('CCCCs',@mqtt) );
print "Set server port ", join(' ', @mqtt), "\n";
$raw = write_parameter_frame( "\x14" => "\x06" . pack('CCCCs',@mqtt) );