UNSUBACK

Unsubscribe Acknowledgement


The UNSUBACK message is sent from the broker to the client to confirm receipt of an UNSUBSCRIBE message.
 
 

Fixed Header

See the Fixed Header section for more information,
 
bit
7
6
5
4
3
2
1
0
byte 1 
Message Type (11)
DUP flag
QoS level
RETAIN
 
1
0
1
1
 x
x
x
byte 2 
Remaining Length (2)
 
0
0
0
0
0
0
1
0

QoS level

The QoS level is not used for the UNSUBACK message.
 

DUP flag

The DUP flag is not used for the UNSUBACK message.
 

RETAIN flag

The RETAIN flag is not used for the UNSUBACK message.
 

Remaining Length

The Remaining Length is the length of the Variable Header (2 bytes)
 

Variable Header

The Variable Header portion of the UNSUBACK message contains the Message Identifier of the UNSUBSCRIBE message that is being acknowledged.

See the Variable Header section for more information.
 
 
bit
7
6
5
4
3
2
1
0
byte 1
Message Identifier MSB
byte 2
Message Identifier LSB

 
 
 

Payload

NONE
 


Discussion

 

 
 
 
 
 
 
 
 
 
 

BACK to index 


Last Modified: 19-Oct-99