2
0
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:
rudolfkoenig 2019-07-26 20:49:22 +00:00
parent 1440d552a0
commit 5d69658878

View File

@ -141,7 +141,7 @@ MQTT2_CLIENT_doinit($)
join("", map { pack("n", length($_)).$_.pack("C",0) } # QOS:0
split(" ", $s));
MQTT2_CLIENT_send($hash,
pack("C",0x80).
pack("C",0x81).
MQTT2_CLIENT_calcRemainingLength(length($msg)).$msg, 0, 1);
$hash->{connecting} = 3;