Issues with MQTT implementation using wildfire V4 [ESP8266]


I am implementing MQTT on WildFire V4 using ESP8266_AT_Client.h library. When I receive packets more than 500 bytes program disconnects and try again to connect to the WiFI and re attempting MQTT connection with broker and I am not able to see any response on Serial Monitor. I have set esp.setInputbuffer to 1024 bytes and set MQTT_MAX_PACKET_SIZE to 1024. I have tried different baud rates but nothing on Serial monitor. I am seeing the full packet on Wireshark but I am not able to see on the serial monitor. Can anyone help me with this? Hope to hear from you soon.