mirror of
https://github.com/espressif/esp-mqtt.git
synced 2025-07-31 19:25:14 +02:00
mqtt_msg: added missing message type for unsubscribe msg type
Closes #109
This commit is contained in:
@@ -329,6 +329,7 @@ uint16_t mqtt_get_id(uint8_t* buffer, uint16_t length)
|
||||
case MQTT_MSG_TYPE_SUBACK:
|
||||
case MQTT_MSG_TYPE_UNSUBACK:
|
||||
case MQTT_MSG_TYPE_SUBSCRIBE:
|
||||
case MQTT_MSG_TYPE_UNSUBSCRIBE:
|
||||
{
|
||||
// This requires the remaining length to be encoded in 1 byte,
|
||||
// which it should be.
|
||||
|
Reference in New Issue
Block a user