mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 03:06:37 +00:00
00_MQTT2_CLIENT.pm: fix subscribe bits (Forum #102568)
git-svn-id: https://svn.fhem.de/fhem/trunk@19900 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
1440d552a0
commit
5d69658878
@ -141,7 +141,7 @@ MQTT2_CLIENT_doinit($)
|
|||||||
join("", map { pack("n", length($_)).$_.pack("C",0) } # QOS:0
|
join("", map { pack("n", length($_)).$_.pack("C",0) } # QOS:0
|
||||||
split(" ", $s));
|
split(" ", $s));
|
||||||
MQTT2_CLIENT_send($hash,
|
MQTT2_CLIENT_send($hash,
|
||||||
pack("C",0x80).
|
pack("C",0x81).
|
||||||
MQTT2_CLIENT_calcRemainingLength(length($msg)).$msg, 0, 1);
|
MQTT2_CLIENT_calcRemainingLength(length($msg)).$msg, 0, 1);
|
||||||
$hash->{connecting} = 3;
|
$hash->{connecting} = 3;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user