Help for coding NodeMCU esp8266 for Subscribe a topic

Hi Dev,

I have finished my project for integrating LoRa and NodeMCU for river monitoring and send data to Cayenne using MQTT. but i have a problem, i’d like to analyze the QoS but I don’t know how to subscribe a topic into my NodeMCU. what script or code for subscribe a topic into NodeMCU? i’d like to analyze the delay transmission (round trip). i will submit my project after that.

thanks for helping me.

you will find all that you need here Cayenne Docs