|
|
|
@ -19,11 +19,11 @@
|
|
|
|
|
{"type":"send", "payload":"10 0F 0006 4D5149736470 06 00 000A 0001 70", "comment":"CONNECT"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 84 00", "comment": "CONNACK identifier rejected"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "10 empty client ID", "ver":3, "connect":false, "msgs":[
|
|
|
|
|
{ "name": "10 empty client ID", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 0E 0006 4D5149736470 03 02 000A 0000", "comment":"CONNECT clean session true, no client id"},
|
|
|
|
|
{"type":"recv", "payload":"20 02 00 02", "comment": "CONNACK"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "10 ok", "ver":3, "connect":false, "expect_disconnect":false, "msgs":[
|
|
|
|
|
{ "name": "10 ok", "connect":false, "expect_disconnect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 0F 0006 4D5149736470 03 02 000A 0001 70", "comment":"CONNECT clean session true, no client id"},
|
|
|
|
|
{"type":"recv", "payload":"20 02 00 00", "comment": "CONNACK"}
|
|
|
|
|
]}
|
|
|
|
@ -164,7 +164,8 @@
|
|
|
|
|
{"type":"send", "payload":"10 12 0004 4D515454 05 02 000A 00 0005 746FEDBFBF"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "10 [MQTT-3.1.2-16]", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 11 0004 4D515454 05 02 000A 00 0001 70 0001 70"}
|
|
|
|
|
{"type":"send", "payload":"10 11 0004 4D515454 05 02 000A 00 0001 71 0001 71"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "10 [MQTT-3.1.2-17]", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 0E 0004 4D515454 05 82 000A 00 0001 70"}
|
|
|
|
@ -191,11 +192,16 @@
|
|
|
|
|
{"type":"send", "payload":"10 15 0004 4D515454 05 82 000A 00 0001 70 0005 746FEDBFBF"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "10 [MQTT-3.1.2-18]", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 14 0004 4D515454 05 82 000A 00 0001 70 0001 70 0001 70"}
|
|
|
|
|
{"type":"send", "payload":"10 14 0004 4D515454 05 82 000A 00 0001 70 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "10 [MQTT-3.1.2-19]", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 11 0004 4D515454 05 C2 000A 00 0001 70 0001 70"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "10 Will flag 1 ok", "connect":false, "expect_disconnect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 15 0004 4D515454 05 06 000A 00 0001 70 00 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 09 00 00 06 22000A 210014", "comment": "CONNACK"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "tiny max packet", "connect":false, "msgs":[{"type":"send", "payload":"10 13 0004 4D515454 05 02 000A 05 2700000002 0001 70"}]}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
@ -207,5 +213,871 @@
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 8C 00", "comment": "CONNACK Bad authentication method"}
|
|
|
|
|
]}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"group": "v5.0 CONNECT ALLOWED PROPERTIES",
|
|
|
|
|
"tests": [
|
|
|
|
|
{ "name": "session-expiry-interval (four byte integer)", "connect":false, "expect_disconnect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 13 0004 4D515454 05 02 000A 05 11 00000001 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 09 00 00 06 22000A 210014", "comment": "CONNACK"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "2*session-expiry-interval (four byte integer)", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 18 0004 4D515454 05 02 000A 0A 11 00000001 11 00000001 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "session-expiry-interval (four byte integer) missing", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 0F 0004 4D515454 05 02 000A 01 11 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
|
|
|
|
|
{ "name": "receive-maximum (two byte integer)", "connect":false, "expect_disconnect":false, "msgs": [
|
|
|
|
|
{"type":"send", "payload":"10 11 0004 4D515454 05 02 000A 03 21 0101 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 09 00 00 06 22000A 210014", "comment": "CONNACK"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "receive-maximum (two byte integer) 0 value", "connect":false, "msgs": [
|
|
|
|
|
{"type":"send", "payload":"10 11 0004 4D515454 05 02 000A 03 21 0000 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "2*receive-maximum (two byte integer)", "connect":false, "msgs": [
|
|
|
|
|
{"type":"send", "payload":"10 14 0004 4D515454 05 02 000A 06 21 0101 21 0101 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "receive-maximum (two byte integer) missing", "connect":false, "msgs": [
|
|
|
|
|
{"type":"send", "payload":"10 0F 0004 4D515454 05 02 000A 01 21 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
|
|
|
|
|
{ "name": "maximum-packet-size (four byte integer)", "connect":false, "expect_disconnect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 13 0004 4D515454 05 02 000A 05 27 10000001 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 09 00 00 06 22000A 210014", "comment": "CONNACK"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "2*maximum-packet-size (four byte integer)", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 18 0004 4D515454 05 02 000A 0A 27 10000001 27 10000001 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "maximum-packet-size (four byte integer) missing", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 0F 0004 4D515454 05 02 000A 01 27 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "maximum-packet-size (four byte integer) 0 value", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 13 0004 4D515454 05 02 000A 05 27 00000000 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "maximum-packet-size (four byte integer) FFFFFFFF value", "expect_disconnect":false, "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 13 0004 4D515454 05 02 000A 05 27 FFFFFFFF 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 09 00 00 06 22000A 210014", "comment": "CONNACK"}
|
|
|
|
|
]},
|
|
|
|
|
|
|
|
|
|
{ "name": "topic-alias-maximum (two byte integer)", "connect":false, "expect_disconnect":false, "msgs": [
|
|
|
|
|
{"type":"send", "payload":"10 11 0004 4D515454 05 02 000A 03 22 0101 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 09 00 00 06 22000A 210014", "comment": "CONNACK"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "topic-alias-maximum (two byte integer) 0 value", "connect":false, "expect_disconnect":false, "msgs": [
|
|
|
|
|
{"type":"send", "payload":"10 11 0004 4D515454 05 02 000A 03 22 0000 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 09 00 00 06 22000A 210014", "comment": "CONNACK"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "2*topic-alias-maximum (two byte integer)", "connect":false, "msgs": [
|
|
|
|
|
{"type":"send", "payload":"10 14 0004 4D515454 05 02 000A 06 22 0101 22 0101 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "topic-alias-maximum (two byte integer) missing", "connect":false, "msgs": [
|
|
|
|
|
{"type":"send", "payload":"10 0F 0004 4D515454 05 02 000A 01 22 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
|
|
|
|
|
{ "name": "request-response-information (byte)", "connect":false, "expect_disconnect":false, "msgs": [
|
|
|
|
|
{"type":"send", "payload":"10 10 0004 4D515454 05 02 000A 02 19 01 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 09 00 00 06 22000A 210014", "comment": "CONNACK"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "2*request-response-information (byte)", "connect":false, "msgs": [
|
|
|
|
|
{"type":"send", "payload":"10 12 0004 4D515454 05 02 000A 04 19 01 19 01 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "request-response-information (byte) missing", "connect":false, "msgs": [
|
|
|
|
|
{"type":"send", "payload":"10 0F 0004 4D515454 05 02 000A 01 19 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "request-response-information (byte) 2 value", "connect":false, "msgs": [
|
|
|
|
|
{"type":"send", "payload":"10 10 0004 4D515454 05 02 000A 02 19 02 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
|
|
|
|
|
{ "name": "request-problem-information (byte)", "connect":false, "expect_disconnect":false, "msgs": [
|
|
|
|
|
{"type":"send", "payload":"10 10 0004 4D515454 05 02 000A 02 17 01 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 09 00 00 06 22000A 210014", "comment": "CONNACK"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "2*request-problem-information (byte)", "connect":false, "msgs": [
|
|
|
|
|
{"type":"send", "payload":"10 12 0004 4D515454 05 02 000A 04 17 01 17 01 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "request-problem-information (byte) missing", "connect":false, "msgs": [
|
|
|
|
|
{"type":"send", "payload":"10 0F 0004 4D515454 05 02 000A 01 17 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "request-problem-information (byte) 2 value", "connect":false, "msgs": [
|
|
|
|
|
{"type":"send", "payload":"10 10 0004 4D515454 05 02 000A 02 17 02 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
|
|
|
|
|
{ "name": "user-property", "connect":false, "expect_disconnect":false, "msgs": [
|
|
|
|
|
{"type":"send", "payload":"10 15 0004 4D515454 05 02 000A 07 26 0001 70 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 09 00 00 06 22000A 210014", "comment": "CONNACK"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "2*user-property", "connect":false, "expect_disconnect":false, "msgs": [
|
|
|
|
|
{"type":"send", "payload":"10 1C 0004 4D515454 05 02 000A 0E 26 0001 70 0001 70 26 0001 70 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 09 00 00 06 22000A 210014", "comment": "CONNACK"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "user-property missing value", "connect":false, "msgs": [
|
|
|
|
|
{"type":"send", "payload":"10 12 0004 4D515454 05 02 000A 04 26 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "user-property missing key,value", "connect":false, "msgs": [
|
|
|
|
|
{"type":"send", "payload":"10 0F 0004 4D515454 05 02 000A 01 26 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "user-property empty key", "connect":false, "expect_disconnect":false, "msgs": [
|
|
|
|
|
{"type":"send", "payload":"10 14 0004 4D515454 05 02 000A 06 26 0000 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 09 00 00 06 22000A 210014", "comment": "CONNACK"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "user-property empty value", "connect":false, "expect_disconnect":false, "msgs": [
|
|
|
|
|
{"type":"send", "payload":"10 14 0004 4D515454 05 02 000A 06 26 0001 70 0000 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 09 00 00 06 22000A 210014", "comment": "CONNACK"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "user-property empty key,value", "connect":false, "expect_disconnect":false, "msgs": [
|
|
|
|
|
{"type":"send", "payload":"10 13 0004 4D515454 05 02 000A 05 26 0000 0000 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 09 00 00 06 22000A 210014", "comment": "CONNACK"}
|
|
|
|
|
]},
|
|
|
|
|
|
|
|
|
|
{ "name": "authentication-method (UTF-8 string) missing", "connect":false, "msgs": [
|
|
|
|
|
{"type":"send", "payload":"10 0F 0004 4D515454 05 02 000A 01 15 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "2*authentication-method (UTF-8 string)", "connect":false, "msgs": [
|
|
|
|
|
{"type":"send", "payload":"10 16 0004 4D515454 05 02 000A 08 15 0001 70 15 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
|
|
|
|
|
{ "name": "authentication-data (UTF-8 string) missing", "connect":false, "msgs": [
|
|
|
|
|
{"type":"send", "payload":"10 13 0004 4D515454 05 02 000A 05 15 0001 70 16 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "authentication-data (UTF-8 string) no authentication-method", "connect":false, "msgs": [
|
|
|
|
|
{"type":"send", "payload":"10 12 0004 4D515454 05 02 000A 04 16 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "2*authentication-data (UTF-8 string)", "connect":false, "msgs": [
|
|
|
|
|
{"type":"send", "payload":"10 1A 0004 4D515454 05 02 000A 0C 15 0001 70 16 0001 70 16 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"group": "v5.0 CONNECT DISALLOWED PROPERTIES",
|
|
|
|
|
"tests": [
|
|
|
|
|
{ "name": "payload-format-indicator (byte)", "connect":false, "msgs": [
|
|
|
|
|
{"type":"send", "payload":"10 10 0004 4D515454 05 02 000A 02 01 01 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "payload-format-indicator (byte) missing", "connect":false, "msgs": [
|
|
|
|
|
{"type":"send", "payload":"10 0F 0004 4D515454 05 02 000A 01 01 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
|
|
|
|
|
{ "name": "maximum-qos (byte)", "connect":false, "msgs": [
|
|
|
|
|
{"type":"send", "payload":"10 10 0004 4D515454 05 02 000A 02 24 01 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "maximum-qos (byte) missing", "connect":false, "msgs": [
|
|
|
|
|
{"type":"send", "payload":"10 0F 0004 4D515454 05 02 000A 24 01 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
|
|
|
|
|
{ "name": "retain-available (byte)", "connect":false, "msgs": [
|
|
|
|
|
{"type":"send", "payload":"10 10 0004 4D515454 05 02 000A 02 25 01 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "retain-available (byte) missing", "connect":false, "msgs": [
|
|
|
|
|
{"type":"send", "payload":"10 0F 0004 4D515454 05 02 000A 25 01 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
|
|
|
|
|
{ "name": "wildcard-subscription-available (byte)", "connect":false, "msgs": [
|
|
|
|
|
{"type":"send", "payload":"10 10 0004 4D515454 05 02 000A 02 28 01 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "wildcard-subscription-available (byte) missing", "connect":false, "msgs": [
|
|
|
|
|
{"type":"send", "payload":"10 0F 0004 4D515454 05 02 000A 28 01 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
|
|
|
|
|
{ "name": "subscription-identifier-available (byte)", "connect":false, "msgs": [
|
|
|
|
|
{"type":"send", "payload":"10 10 0004 4D515454 05 02 000A 02 29 01 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "subscription-identifier-available (byte) missing", "connect":false, "msgs": [
|
|
|
|
|
{"type":"send", "payload":"10 0F 0004 4D515454 05 02 000A 29 01 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
|
|
|
|
|
{ "name": "shared-subscription-available (byte)", "connect":false, "msgs": [
|
|
|
|
|
{"type":"send", "payload":"10 10 0004 4D515454 05 02 000A 02 2A 01 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "shared-subscription-available (byte) missing", "connect":false, "msgs": [
|
|
|
|
|
{"type":"send", "payload":"10 0F 0004 4D515454 05 02 000A 2A 01 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
|
|
|
|
|
{ "name": "invalid-property 0x00 (byte)", "connect":false, "msgs": [
|
|
|
|
|
{"type":"send", "payload":"10 10 0004 4D515454 05 02 000A 02 00 01 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "unknown-property 0x04 (byte)", "connect":false, "msgs": [
|
|
|
|
|
{"type":"send", "payload":"10 10 0004 4D515454 05 02 000A 02 04 01 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "unknown-property 0x05 (byte)", "connect":false, "msgs": [
|
|
|
|
|
{"type":"send", "payload":"10 10 0004 4D515454 05 02 000A 02 05 01 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "unknown-property 0x06 (byte)", "connect":false, "msgs": [
|
|
|
|
|
{"type":"send", "payload":"10 10 0004 4D515454 05 02 000A 02 06 01 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "unknown-property 0x07 (byte)", "connect":false, "msgs": [
|
|
|
|
|
{"type":"send", "payload":"10 10 0004 4D515454 05 02 000A 02 07 01 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "unknown-property 0x0A (byte)", "connect":false, "msgs": [
|
|
|
|
|
{"type":"send", "payload":"10 10 0004 4D515454 05 02 000A 02 0A 01 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "unknown-property 0x0C (byte)", "connect":false, "msgs": [
|
|
|
|
|
{"type":"send", "payload":"10 10 0004 4D515454 05 02 000A 02 0C 01 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "unknown-property 0x0D (byte)", "connect":false, "msgs": [
|
|
|
|
|
{"type":"send", "payload":"10 10 0004 4D515454 05 02 000A 02 0D 01 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "unknown-property 0x0E (byte)", "connect":false, "msgs": [
|
|
|
|
|
{"type":"send", "payload":"10 10 0004 4D515454 05 02 000A 02 0E 01 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "unknown-property 0x0F (byte)", "connect":false, "msgs": [
|
|
|
|
|
{"type":"send", "payload":"10 10 0004 4D515454 05 02 000A 02 0F 01 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "unknown-property 0x10 (byte)", "connect":false, "msgs": [
|
|
|
|
|
{"type":"send", "payload":"10 10 0004 4D515454 05 02 000A 02 10 01 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "unknown-property 0x14 (byte)", "connect":false, "msgs": [
|
|
|
|
|
{"type":"send", "payload":"10 10 0004 4D515454 05 02 000A 02 14 01 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "unknown-property 0x1B (byte)", "connect":false, "msgs": [
|
|
|
|
|
{"type":"send", "payload":"10 10 0004 4D515454 05 02 000A 02 1B 01 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "unknown-property 0x1D (byte)", "connect":false, "msgs": [
|
|
|
|
|
{"type":"send", "payload":"10 10 0004 4D515454 05 02 000A 02 1D 01 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "unknown-property 0x1E (byte)", "connect":false, "msgs": [
|
|
|
|
|
{"type":"send", "payload":"10 10 0004 4D515454 05 02 000A 02 1E 01 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "unknown-property 0x20 (byte)", "connect":false, "msgs": [
|
|
|
|
|
{"type":"send", "payload":"10 10 0004 4D515454 05 02 000A 02 20 01 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "unknown-property 0x7F (byte)", "connect":false, "msgs": [
|
|
|
|
|
{"type":"send", "payload":"10 10 0004 4D515454 05 02 000A 02 7F 01 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "invalid-property 0x8000 (byte)", "connect":false, "msgs": [
|
|
|
|
|
{"type":"send", "payload":"10 11 0004 4D515454 05 02 000A 03 8000 01 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "unknown-property 0x8001 (byte)", "connect":false, "msgs": [
|
|
|
|
|
{"type":"send", "payload":"10 11 0004 4D515454 05 02 000A 03 8001 01 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "unknown-property 0xFF7F (byte)", "connect":false, "msgs": [
|
|
|
|
|
{"type":"send", "payload":"10 11 0004 4D515454 05 02 000A 03 FF7F 01 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "unknown-property 0x808001 (byte)", "connect":false, "msgs": [
|
|
|
|
|
{"type":"send", "payload":"10 12 0004 4D515454 05 02 000A 04 808001 01 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "unknown-property 0xFFFF7F (byte)", "connect":false, "msgs": [
|
|
|
|
|
{"type":"send", "payload":"10 12 0004 4D515454 05 02 000A 04 FFFF7F 01 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "unknown-property 0x80808001 (byte)", "connect":false, "msgs": [
|
|
|
|
|
{"type":"send", "payload":"10 13 0004 4D515454 05 02 000A 05 80808001 01 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "unknown-property 0xFFFFFF7F (byte)", "connect":false, "msgs": [
|
|
|
|
|
{"type":"send", "payload":"10 13 0004 4D515454 05 02 000A 05 FFFFFF7F 01 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "unknown-property 0x8080808001 (byte)", "connect":false, "msgs": [
|
|
|
|
|
{"type":"send", "payload":"10 14 0004 4D515454 05 02 000A 06 8080808001 01 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
|
|
|
|
|
{ "name": "message-expiry-interval (four byte integer)", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 13 0004 4D515454 05 02 000A 05 02 10000001 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "2*message-expiry-interval (four byte integer)", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 18 0004 4D515454 05 02 000A 0A 02 10000001 02 10000001 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "message-expiry-interval (four byte integer) missing", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 0F 0004 4D515454 05 02 000A 01 02 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "message-expiry-interval (four byte integer) 0 value", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 13 0004 4D515454 05 02 000A 05 02 00000000 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "message-expiry-interval (four byte integer) FFFFFFFF value", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 13 0004 4D515454 05 02 000A 05 02 FFFFFFFF 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
|
|
|
|
|
{ "name": "will-delay-interval (four byte integer)", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 13 0004 4D515454 05 02 000A 05 18 10000001 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "2*will-delay-interval (four byte integer)", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 18 0004 4D515454 05 02 000A 0A 18 10000001 18 10000001 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "will-delay-interval (four byte integer) missing", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 0F 0004 4D515454 05 02 000A 01 18 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "will-delay-interval (four byte integer) 0 value", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 13 0004 4D515454 05 02 000A 05 18 00000000 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "will-delay-interval (four byte integer) FFFFFFFF value", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 13 0004 4D515454 05 02 000A 05 18 FFFFFFFF 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
|
|
|
|
|
{ "name": "server-keep-alive (two byte integer)", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 11 0004 4D515454 05 02 000A 03 13 0001 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "2*server-keep-alive (two byte integer)", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 14 0004 4D515454 05 02 000A 06 13 0001 13 0001 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "server-keep-alive (two byte integer) missing", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 0F 0004 4D515454 05 02 000A 01 13 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
|
|
|
|
|
{ "name": "topic-alias (two byte integer)", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 11 0004 4D515454 05 02 000A 03 23 0001 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "2*topic-alias (two byte integer)", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 14 0004 4D515454 05 02 000A 06 23 0001 23 0001 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "topic-alias (two byte integer) missing", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 0F 0004 4D515454 05 02 000A 01 23 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
|
|
|
|
|
{ "name": "content-type (UTF-8 string)", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 12 0004 4D515454 05 02 000A 04 03 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "content-type (UTF-8 string) missing", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 0F 0004 4D515454 05 02 000A 01 03 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "content-type (UTF-8 string) empty", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 11 0004 4D515454 05 02 000A 03 03 0000 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
|
|
|
|
|
{ "name": "response-topic (UTF-8 string)", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 12 0004 4D515454 05 02 000A 04 08 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "response-topic (UTF-8 string) missing", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 0F 0004 4D515454 05 02 000A 01 08 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "response-topic (UTF-8 string) empty", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 11 0004 4D515454 05 02 000A 03 08 0000 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
|
|
|
|
|
{ "name": "assigned-client-identifier (UTF-8 string)", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 12 0004 4D515454 05 02 000A 04 12 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "assigned-client-identifier (UTF-8 string) missing", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 0F 0004 4D515454 05 02 000A 01 12 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "assigned-client-identifier (UTF-8 string) empty", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 11 0004 4D515454 05 02 000A 03 12 0000 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
|
|
|
|
|
{ "name": "response-information (UTF-8 string)", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 12 0004 4D515454 05 02 000A 04 1A 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "response-information (UTF-8 string) missing", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 0F 0004 4D515454 05 02 000A 01 1A 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "response-information (UTF-8 string) empty", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 11 0004 4D515454 05 02 000A 03 1A 0000 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
|
|
|
|
|
{ "name": "correlation-data (binary)", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 12 0004 4D515454 05 02 000A 04 09 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "correlation-data (binary) missing", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 0F 0004 4D515454 05 02 000A 01 09 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "correlation-data (binary) empty", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 11 0004 4D515454 05 02 000A 03 09 0000 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
|
|
|
|
|
{"name": "subscription-identifier (variable byte integer)", "connect":false, "msgs": [
|
|
|
|
|
{"type":"send", "payload":"10 10 0004 4D515454 05 02 000A 02 0B 01 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
|
|
|
|
|
{"name": "subscription-identifier (variable byte integer) missing", "connect":false, "msgs": [
|
|
|
|
|
{"type":"send", "payload":"10 0F 0004 4D515454 05 02 000A 01 0B 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"group": "v5.0 WILL ALLOWED PROPERTIES",
|
|
|
|
|
"tests": [
|
|
|
|
|
{ "name": "payload-format-indicator (byte)", "connect":false, "expect_disconnect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 17 0004 4D515454 05 06 000A 00 0001 70 02 01 01 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 09 00 00 06 22000A 210014", "comment": "CONNACK"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "payload-format-indicator (byte) missing", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 16 0004 4D515454 05 06 000A 00 0001 70 01 01 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "2*payload-format-indicator (byte)", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 19 0004 4D515454 05 06 000A 00 0001 70 04 01 01 01 01 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
|
|
|
|
|
{ "name": "message-expiry-interval (four byte integer)", "connect":false, "expect_disconnect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 1A 0004 4D515454 05 06 000A 00 0001 70 05 02 00000001 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 09 00 00 06 22000A 210014", "comment": "CONNACK"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "2*message-expiry-interval (four byte integer)", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 1F 0004 4D515454 05 06 000A 00 0001 70 0A 02 00000001 02 00000001 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "message-expiry-interval (four byte integer) missing", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 16 0004 4D515454 05 06 000A 00 0001 70 01 02 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
|
|
|
|
|
{ "name": "will-delay-interval (four byte integer)", "connect":false, "expect_disconnect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 1A 0004 4D515454 05 06 000A 00 0001 70 05 18 00000001 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 09 00 00 06 22000A 210014", "comment": "CONNACK"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "will-delay-interval (four byte integer)", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 1F 0004 4D515454 05 06 000A 00 0001 70 0A 18 00000001 18 00000001 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "will-delay-interval (four byte integer) missing", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 16 0004 4D515454 05 06 000A 00 0001 70 01 18 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
|
|
|
|
|
{ "name": "content-type (UTF-8 string)", "connect":false, "expect_disconnect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 19 0004 4D515454 05 06 000A 00 0001 70 04 03 0001 70 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 09 00 00 06 22000A 210014", "comment": "CONNACK"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "2*content-type (UTF-8 string)", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 1D 0004 4D515454 05 06 000A 00 0001 70 08 03 0001 70 03 0001 70 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "content-type (UTF-8 string) missing", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 16 0004 4D515454 05 06 000A 00 0001 70 01 03 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "content-type (UTF-8 string) empty", "connect":false, "expect_disconnect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 18 0004 4D515454 05 06 000A 00 0001 70 03 03 0000 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 09 00 00 06 22000A 210014", "comment": "CONNACK"}
|
|
|
|
|
]},
|
|
|
|
|
|
|
|
|
|
{ "name": "response-topic (UTF-8 string)", "connect":false, "expect_disconnect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 19 0004 4D515454 05 06 000A 00 0001 70 04 08 0001 70 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 09 00 00 06 22000A 210014", "comment": "CONNACK"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "2*response-topic (UTF-8 string)", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 1D 0004 4D515454 05 06 000A 00 0001 70 08 08 0001 70 08 0001 70 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "response-topic (UTF-8 string) missing", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 16 0004 4D515454 05 06 000A 00 0001 70 01 08 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "response-topic (UTF-8 string) empty", "connect":false, "expect_disconnect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 18 0004 4D515454 05 06 000A 00 0001 70 03 08 0000 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 09 00 00 06 22000A 210014", "comment": "CONNACK"}
|
|
|
|
|
]},
|
|
|
|
|
|
|
|
|
|
{ "name": "correlation-data (binary)", "connect":false, "expect_disconnect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 19 0004 4D515454 05 06 000A 00 0001 70 04 09 0001 70 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 09 00 00 06 22000A 210014", "comment": "CONNACK"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "2*correlation-data (binary)", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 1D 0004 4D515454 05 06 000A 00 0001 70 08 09 0001 70 09 0001 70 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "correlation-data (binary) missing", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 16 0004 4D515454 05 06 000A 00 0001 70 01 09 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "correlation-data (binary) empty", "connect":false, "expect_disconnect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 18 0004 4D515454 05 06 000A 00 0001 70 03 09 0000 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 09 00 00 06 22000A 210014", "comment": "CONNACK"}
|
|
|
|
|
]},
|
|
|
|
|
|
|
|
|
|
{ "name": "user-property", "connect":false, "expect_disconnect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 1C 0004 4D515454 05 06 000A 00 0001 70 07 26 0001 70 0001 70 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 09 00 00 06 22000A 210014", "comment": "CONNACK"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "2*user-property", "connect":false, "expect_disconnect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 23 0004 4D515454 05 06 000A 00 0001 70 0E 26 0001 70 0001 70 26 0001 70 0001 70 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 09 00 00 06 22000A 210014", "comment": "CONNACK"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "user-property missing value", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 19 0004 4D515454 05 06 000A 00 0001 70 04 26 0001 70 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "user-property missing key,value", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 16 0004 4D515454 05 06 000A 00 0001 70 01 26 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "user-property empty key", "connect":false, "expect_disconnect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 1B 0004 4D515454 05 06 000A 00 0001 70 06 26 0000 0001 70 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 09 00 00 06 22000A 210014", "comment": "CONNACK"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "user-property empty value", "connect":false, "expect_disconnect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 1B 0004 4D515454 05 06 000A 00 0001 70 06 26 0001 70 0000 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 09 00 00 06 22000A 210014", "comment": "CONNACK"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "user-property empty key,value", "connect":false, "expect_disconnect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 1A 0004 4D515454 05 06 000A 00 0001 70 05 26 0000 0000 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 09 00 00 06 22000A 210014", "comment": "CONNACK"}
|
|
|
|
|
]}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"group": "v5.0 WILL DISALLOWED PROPERTIES",
|
|
|
|
|
"tests": [
|
|
|
|
|
{ "name": "request-problem-information (byte)", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 17 0004 4D515454 05 06 000A 00 0001 70 02 17 01 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "request-problem-information (byte) missing", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 16 0004 4D515454 05 06 000A 00 0001 70 01 17 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "2*request-problem-information (byte)", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 19 0004 4D515454 05 06 000A 00 0001 70 04 17 01 17 01 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
|
|
|
|
|
{ "name": "request-response-information (byte)", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 17 0004 4D515454 05 06 000A 00 0001 70 02 19 01 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "request-response-information (byte) missing", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 16 0004 4D515454 05 06 000A 00 0001 70 01 19 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "2*request-response-information (byte)", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 19 0004 4D515454 05 06 000A 00 0001 70 04 19 01 19 01 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
|
|
|
|
|
{ "name": "maximum-qos (byte)", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 17 0004 4D515454 05 06 000A 00 0001 70 02 24 01 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "maximum-qos (byte) missing", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 16 0004 4D515454 05 06 000A 00 0001 70 01 24 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "2*maximum-qos (byte)", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 19 0004 4D515454 05 06 000A 00 0001 70 04 24 01 24 01 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
|
|
|
|
|
{ "name": "retain-available (byte)", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 17 0004 4D515454 05 06 000A 00 0001 70 02 25 01 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "retain-available (byte) missing", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 16 0004 4D515454 05 06 000A 00 0001 70 01 25 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "2*retain-available (byte)", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 19 0004 4D515454 05 06 000A 00 0001 70 04 25 01 25 01 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
|
|
|
|
|
{ "name": "wildcard-subscription-available (byte)", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 17 0004 4D515454 05 06 000A 00 0001 70 02 28 01 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "wildcard-subscription-available (byte) missing", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 16 0004 4D515454 05 06 000A 00 0001 70 01 28 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "2*wildcard-subscription-available (byte)", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 19 0004 4D515454 05 06 000A 00 0001 70 04 28 01 28 01 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
|
|
|
|
|
{ "name": "subscription-identifier-available (byte)", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 17 0004 4D515454 05 06 000A 00 0001 70 02 29 01 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "subscription-identifier-available (byte) missing", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 16 0004 4D515454 05 06 000A 00 0001 70 01 29 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "2*subscription-identifier-available (byte)", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 19 0004 4D515454 05 06 000A 00 0001 70 04 29 01 29 01 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
|
|
|
|
|
{ "name": "shared-subscription-available (byte)", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 17 0004 4D515454 05 06 000A 00 0001 70 02 2A 01 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "shared-subscription-available (byte) missing", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 16 0004 4D515454 05 06 000A 00 0001 70 01 2A 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "2*shared-subscription-available (byte)", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 19 0004 4D515454 05 06 000A 00 0001 70 04 2A 01 2A 01 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
|
|
|
|
|
{ "name": "server-keep-alive (two byte integer)", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 18 0004 4D515454 05 06 000A 00 0001 70 03 13 0001 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "server-keep-alive (two byte integer) missing", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 16 0004 4D515454 05 06 000A 00 0001 70 01 13 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "2*server-keep-alive (two byte integer)", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 1B 0004 4D515454 05 06 000A 00 0001 70 06 13 0001 13 0001 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
|
|
|
|
|
{ "name": "receive-maximum (two byte integer)", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 18 0004 4D515454 05 06 000A 00 0001 70 03 21 0001 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "receive-maximum (two byte integer) missing", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 16 0004 4D515454 05 06 000A 00 0001 70 01 21 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "2*receive-maximum (two byte integer)", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 1B 0004 4D515454 05 06 000A 00 0001 70 06 21 0001 21 0001 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
|
|
|
|
|
{ "name": "topic-alias-maximum (two byte integer)", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 18 0004 4D515454 05 06 000A 00 0001 70 03 22 0001 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "topic-alias-maximum (two byte integer) missing", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 16 0004 4D515454 05 06 000A 00 0001 70 01 22 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "2*topic-alias-maximum (two byte integer)", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 1B 0004 4D515454 05 06 000A 00 0001 70 06 22 0001 22 0001 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
|
|
|
|
|
{ "name": "topic-alias (two byte integer)", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 18 0004 4D515454 05 06 000A 00 0001 70 03 23 0001 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "topic-alias (two byte integer) missing", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 16 0004 4D515454 05 06 000A 00 0001 70 01 23 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "2*topic-alias (two byte integer)", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 1B 0004 4D515454 05 06 000A 00 0001 70 06 23 0001 23 0001 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
|
|
|
|
|
{ "name": "session-expiry-interval (four byte integer)", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 1A 0004 4D515454 05 06 000A 00 0001 70 05 11 00000001 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "session-expiry-interval (four byte integer) missing", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 16 0004 4D515454 05 06 000A 00 0001 70 01 11 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "2*session-expiry-interval (four byte integer)", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 1F 0004 4D515454 05 06 000A 00 0001 70 0A 11 00000001 11 00000001 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
|
|
|
|
|
{ "name": "maximum-packet-size (four byte integer)", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 1A 0004 4D515454 05 06 000A 00 0001 70 05 27 00000001 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "maximum-packet-size (four byte integer) missing", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 16 0004 4D515454 05 06 000A 00 0001 70 01 27 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "2*maximum-packet-size (four byte integer)", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 1F 0004 4D515454 05 06 000A 00 0001 70 0A 27 00000001 27 00000001 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
|
|
|
|
|
{ "name": "assigned-client-identifier (UTF-8 string)", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 19 0004 4D515454 05 06 000A 00 0001 70 04 12 0001 70 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "2*assigned-client-identifier (UTF-8 string)", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 1D 0004 4D515454 05 06 000A 00 0001 70 08 12 0001 70 12 0001 70 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "assigned-client-identifier (UTF-8 string) missing", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 16 0004 4D515454 05 06 000A 00 0001 70 01 12 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "assigned-client-identifier (UTF-8 string) empty", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 18 0004 4D515454 05 06 000A 00 0001 70 03 12 0000 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
|
|
|
|
|
{ "name": "authentication-method (UTF-8 string)", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 19 0004 4D515454 05 06 000A 00 0001 70 04 15 0001 70 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "2*authentication-method (UTF-8 string)", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 1D 0004 4D515454 05 06 000A 00 0001 70 08 15 0001 70 15 0001 70 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "authentication-method (UTF-8 string) missing", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 16 0004 4D515454 05 06 000A 00 0001 70 01 15 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "authentication-method (UTF-8 string) empty", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 18 0004 4D515454 05 06 000A 00 0001 70 03 15 0000 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
|
|
|
|
|
{ "name": "response-information (UTF-8 string)", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 19 0004 4D515454 05 06 000A 00 0001 70 04 1A 0001 70 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "2*response-information (UTF-8 string)", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 1D 0004 4D515454 05 06 000A 00 0001 70 08 1A 0001 70 1A 0001 70 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "response-information (UTF-8 string) missing", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 16 0004 4D515454 05 06 000A 00 0001 70 01 1A 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "response-information (UTF-8 string) empty", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 18 0004 4D515454 05 06 000A 00 0001 70 03 1A 0000 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
|
|
|
|
|
{ "name": "server-reference (UTF-8 string)", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 19 0004 4D515454 05 06 000A 00 0001 70 04 1C 0001 70 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "2*server-reference (UTF-8 string)", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 1D 0004 4D515454 05 06 000A 00 0001 70 08 1C 0001 70 1C 0001 70 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "server-reference (UTF-8 string) missing", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 16 0004 4D515454 05 06 000A 00 0001 70 01 1C 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "server-reference (UTF-8 string) empty", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 18 0004 4D515454 05 06 000A 00 0001 70 03 1C 0000 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
|
|
|
|
|
{ "name": "reason-string (UTF-8 string)", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 19 0004 4D515454 05 06 000A 00 0001 70 04 1F 0001 70 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "2*reason-string (UTF-8 string)", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 1D 0004 4D515454 05 06 000A 00 0001 70 08 1F 0001 70 1F 0001 70 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "reason-string (UTF-8 string) missing", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 16 0004 4D515454 05 06 000A 00 0001 70 01 1F 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "reason-string (UTF-8 string) empty", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 18 0004 4D515454 05 06 000A 00 0001 70 03 1F 0000 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
|
|
|
|
|
{ "name": "authentication-data (binary)", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 19 0004 4D515454 05 06 000A 00 0001 70 04 16 0001 70 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "2*authentication-data (binary)", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 1D 0004 4D515454 05 06 000A 00 0001 70 08 16 0001 70 16 0001 70 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "authentication-data (binary) missing", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 16 0004 4D515454 05 06 000A 00 0001 70 01 16 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "authentication-data (binary) empty", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 18 0004 4D515454 05 06 000A 00 0001 70 03 16 0000 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
|
|
|
|
|
{ "name": "subscription-identifier (variable byte integer)", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 17 0004 4D515454 05 06 000A 00 0001 70 02 0B 01 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 82 00"}
|
|
|
|
|
]},
|
|
|
|
|
{ "name": "subscription-identifier (variable byte integer) missing", "connect":false, "msgs":[
|
|
|
|
|
{"type":"send", "payload":"10 16 0004 4D515454 05 06 000A 00 0001 70 01 0B 0001 70 0001 70"},
|
|
|
|
|
{"type":"recv", "payload":"20 03 00 81 00"}
|
|
|
|
|
]}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|