CONNECT: $10$15$00$04MQTT$04$02$00$3c$00$09TEST_MQTT
{0x10, 0x15, 0x00, 0x04, 'M', 'Q', 'T', 'T', 0x04, 0x02, 0x00, 0x3c, 0x00, 0x09, 'T', 'E', 'S', 'T', '_', 'M', 'Q', 'T', 'T'}
PUBLIC: $30$07$00$03LEDON
{0x30, 0x07, 0x00, 0x03, 'L', 'E', 'D', 'O', 'N'}
PINGREQ (keep alive): $C0$00
{0xC0, 0x00}
--> Server respond: $82$08$00$01$00$03$6c$65$64$00
SUBSCRIBE: {0x82, 0x08, 0x00, 0x01, 0x00, 0x03, 0x6c, 0x65, 0x64, 0x00}
{30}{07}{00}{03}{6C}{65}{64}{4F}{4E}
No comments:
Post a Comment