Commit 9e29bb2a6a91401744052ac7fcbe5707a9ded091
1 parent
4bfae767
Dummy property handling in handlePublish
Showing
1 changed file
with
7 additions
and
0 deletions
mqttpacket.cpp
| ... | ... | @@ -837,7 +837,11 @@ void MqttPacket::handlePublish() |
| 837 | 837 | break; |
| 838 | 838 | } |
| 839 | 839 | case Mqtt5Properties::CorrelationData: |
| 840 | + { | |
| 841 | + const uint16_t len = readTwoBytesToUInt16(); | |
| 842 | + readBytes(len); | |
| 840 | 843 | break; |
| 844 | + } | |
| 841 | 845 | case Mqtt5Properties::UserProperty: |
| 842 | 846 | { |
| 843 | 847 | const uint16_t lenKey = readTwoBytesToUInt16(); |
| ... | ... | @@ -848,7 +852,10 @@ void MqttPacket::handlePublish() |
| 848 | 852 | break; |
| 849 | 853 | } |
| 850 | 854 | case Mqtt5Properties::SubscriptionIdentifier: |
| 855 | + { | |
| 856 | + decodeVariableByteIntAtPos(); | |
| 851 | 857 | break; |
| 858 | + } | |
| 852 | 859 | case Mqtt5Properties::ContentType: |
| 853 | 860 | { |
| 854 | 861 | const uint16_t len = readTwoBytesToUInt16(); | ... | ... |