Open kangtian opened 4 years ago
2020-11-07 00:52:42.489855+0800 DemoTest[7185:695219] 链接成功 = 2020-11-07 00:52:42.491712+0800 DemoTest[7185:695219] [MQTTDecoder] NSStreamEventEndEncountered 2020-11-07 00:52:42.540138+0800 DemoTest[7185:695611] [MQTTSessionSynchron] end connect 2020-11-07 00:52:42.540786+0800 DemoTest[7185:695219] [MQTTSession] subscribeToTopics:{ "v1/devices/me/attributes" = 0; }] 2020-11-07 00:52:42.541006+0800 DemoTest[7185:695219] nextMsgId synchronizing 2020-11-07 00:52:42.541142+0800 DemoTest[7185:695219] nextMsgId synchronized 2020-11-07 00:52:42.541260+0800 DemoTest[7185:695219] flowforClientId requestingPerform 2020-11-07 00:52:42.541363+0800 DemoTest[7185:695219] flowforClientId performing 2020-11-07 00:52:42.541650+0800 DemoTest[7185:695219] flowforClientId performed 2020-11-07 00:52:42.541774+0800 DemoTest[7185:695219] nextMsgId synchronized done 2020-11-07 00:52:42.541972+0800 DemoTest[7185:695219] [MQTTMessage] wireFormat(31)={length = 31, bytes = 0x821d0002 00187631 2f646576 69636573 ... 72696275 74657300 }... 2020-11-07 00:52:42.542090+0800 DemoTest[7185:695219] [MQTTSession] mqttTransport send 2020-11-07 00:52:42.542212+0800 DemoTest[7185:695219] [MQTTCFSocketEncoder] buffer to write (31)={length = 31, bytes = 0x821d0002 00187631 2f646576 69636573 ... 72696275 74657300 }... 2020-11-07 00:52:42.556910+0800 DemoTest[7185:695219] [MQTTCFSocketEncoder] NSStreamEventHasSpaceAvailable 2020-11-07 00:52:42.560206+0800 DemoTest[7185:695219] [MQTTCFSocketDecoder] NSStreamEventHasBytesAvailable 2020-11-07 00:52:42.560418+0800 DemoTest[7185:695219] [MQTTCFSocketDecoder] received (5)={length = 5, bytes = 0x9203000200}... 2020-11-07 00:52:42.560558+0800 DemoTest[7185:695219] [MQTTSession] mqttTransport didReceiveMessage 2020-11-07 00:52:42.560728+0800 DemoTest[7185:695219] [MQTTDecoder] #streams=1 2020-11-07 00:52:42.561386+0800 DemoTest[7185:695219] [MQTTDecoder] NSStreamEventOpenCompleted 2020-11-07 00:52:42.561567+0800 DemoTest[7185:695219] [MQTTDecoder] NSStreamEventHasBytesAvailable 2020-11-07 00:52:42.561728+0800 DemoTest[7185:695219] [MQTTDecoder] fixedHeader=0x92 2020-11-07 00:52:42.561871+0800 DemoTest[7185:695219] [MQTTDecoder] digit=0x03 0x03 0 1 2020-11-07 00:52:42.561999+0800 DemoTest[7185:695219] [MQTTDecoder] remainingLength=3 2020-11-07 00:52:42.562112+0800 DemoTest[7185:695219] [MQTTDecoder] read 3 3 2020-11-07 00:52:42.562253+0800 DemoTest[7185:695219] [MQTTDecoder] received (5)={length = 5, bytes = 0x9203000200}... 2020-11-07 00:52:42.562613+0800 DemoTest[7185:695219] [MQTTMessage] illegal header flags 2020-11-07 00:52:42.563012+0800 DemoTest[7185:695219] [MQTTSession] MQTT illegal message received 2020-11-07 00:52:42.563507+0800 DemoTest[7185:695219] [MQTTSession] closeInternal 2020-11-07 00:52:42.566200+0800 DemoTest[7185:695219] [MQTTCFSocketTransport] close 2020-11-07 00:52:42.576107+0800 DemoTest[7185:695219] 连接失败 = No response
2020-11-07 00:52:42.489855+0800 DemoTest[7185:695219] 链接成功 = 2020-11-07 00:52:42.491712+0800 DemoTest[7185:695219] [MQTTDecoder] NSStreamEventEndEncountered 2020-11-07 00:52:42.540138+0800 DemoTest[7185:695611] [MQTTSessionSynchron] end connect 2020-11-07 00:52:42.540786+0800 DemoTest[7185:695219] [MQTTSession] subscribeToTopics:{ "v1/devices/me/attributes" = 0; }] 2020-11-07 00:52:42.541006+0800 DemoTest[7185:695219] nextMsgId synchronizing 2020-11-07 00:52:42.541142+0800 DemoTest[7185:695219] nextMsgId synchronized 2020-11-07 00:52:42.541260+0800 DemoTest[7185:695219] flowforClientId requestingPerform 2020-11-07 00:52:42.541363+0800 DemoTest[7185:695219] flowforClientId performing 2020-11-07 00:52:42.541650+0800 DemoTest[7185:695219] flowforClientId performed 2020-11-07 00:52:42.541774+0800 DemoTest[7185:695219] nextMsgId synchronized done 2020-11-07 00:52:42.541972+0800 DemoTest[7185:695219] [MQTTMessage] wireFormat(31)={length = 31, bytes = 0x821d0002 00187631 2f646576 69636573 ... 72696275 74657300 }... 2020-11-07 00:52:42.542090+0800 DemoTest[7185:695219] [MQTTSession] mqttTransport send 2020-11-07 00:52:42.542212+0800 DemoTest[7185:695219] [MQTTCFSocketEncoder] buffer to write (31)={length = 31, bytes = 0x821d0002 00187631 2f646576 69636573 ... 72696275 74657300 }... 2020-11-07 00:52:42.556910+0800 DemoTest[7185:695219] [MQTTCFSocketEncoder] NSStreamEventHasSpaceAvailable 2020-11-07 00:52:42.560206+0800 DemoTest[7185:695219] [MQTTCFSocketDecoder] NSStreamEventHasBytesAvailable 2020-11-07 00:52:42.560418+0800 DemoTest[7185:695219] [MQTTCFSocketDecoder] received (5)={length = 5, bytes = 0x9203000200}... 2020-11-07 00:52:42.560558+0800 DemoTest[7185:695219] [MQTTSession] mqttTransport didReceiveMessage 2020-11-07 00:52:42.560728+0800 DemoTest[7185:695219] [MQTTDecoder] #streams=1 2020-11-07 00:52:42.561386+0800 DemoTest[7185:695219] [MQTTDecoder] NSStreamEventOpenCompleted 2020-11-07 00:52:42.561567+0800 DemoTest[7185:695219] [MQTTDecoder] NSStreamEventHasBytesAvailable 2020-11-07 00:52:42.561728+0800 DemoTest[7185:695219] [MQTTDecoder] fixedHeader=0x92 2020-11-07 00:52:42.561871+0800 DemoTest[7185:695219] [MQTTDecoder] digit=0x03 0x03 0 1 2020-11-07 00:52:42.561999+0800 DemoTest[7185:695219] [MQTTDecoder] remainingLength=3 2020-11-07 00:52:42.562112+0800 DemoTest[7185:695219] [MQTTDecoder] read 3 3 2020-11-07 00:52:42.562253+0800 DemoTest[7185:695219] [MQTTDecoder] received (5)={length = 5, bytes = 0x9203000200}... 2020-11-07 00:52:42.562613+0800 DemoTest[7185:695219] [MQTTMessage] illegal header flags 2020-11-07 00:52:42.563012+0800 DemoTest[7185:695219] [MQTTSession] MQTT illegal message received 2020-11-07 00:52:42.563507+0800 DemoTest[7185:695219] [MQTTSession] closeInternal 2020-11-07 00:52:42.566200+0800 DemoTest[7185:695219] [MQTTCFSocketTransport] close 2020-11-07 00:52:42.576107+0800 DemoTest[7185:695219] 连接失败 = No response