1 = Qos when PUBREL received
This commit is contained in:
parent
28c0aeabd7
commit
4e14d326e2
|
@ -119,6 +119,7 @@ parse_frame(Bin, #mqtt_packet_header{ type = Type,
|
|||
<<PacketId:16/big>> = FrameBin,
|
||||
wrap(Header, #mqtt_packet_puback{packet_id = PacketId}, Rest);
|
||||
{?PUBREL, <<FrameBin:Length/binary, Rest/binary>>} ->
|
||||
1 = Qos,
|
||||
<<PacketId:16/big>> = FrameBin,
|
||||
wrap(Header, #mqtt_packet_puback{ packet_id = PacketId }, Rest);
|
||||
{?PUBCOMP, <<FrameBin:Length/binary, Rest/binary>>} ->
|
||||
|
|
Loading…
Reference in New Issue