MQTT
MQTT SUBSCRIBE
# Server-side
hello
# Client-side
mqtt
mqtt
MQTT rejects a control byte in the topic
mqtt://%HOSTIP:%MQTTPORT/aa%00bb
# Verify data after the test has been "shot"
# These are hexadecimal protocol dumps from the client
# Strip out the random part of the client id from the CONNECT message
# before comparison
s/^(.* 00044d5154540402003c000c6375726c).*/$1/
# the topic is decoded and the embedded nul rejected before SUBSCRIBE is sent
client CONNECT 18 00044d5154540402003c000c6375726c
server CONNACK 2 20020000
3