mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
00_MQTT2_SERVER.pm: fix SUBACK (Forum #122816)
git-svn-id: https://svn.fhem.de/fhem/trunk@24935 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
1c07e8df57
commit
89d43b69d9
@ -405,7 +405,7 @@ MQTT2_SERVER_Read($@)
|
||||
push @ret, ($qos > 1 ? 1 : 0); # max qos supported is 1
|
||||
}
|
||||
# SUBACK
|
||||
MQTT2_SERVER_out($hash, pack("CCnC*", 0x90, 3, $pid, maxNum(@ret)), $dump);
|
||||
MQTT2_SERVER_out($hash, pack("CCnC*", 0x90, 3, $pid, @ret), $dump);
|
||||
|
||||
if(!$hash->{answerScheduled}) {
|
||||
$hash->{answerScheduled} = 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user