Non Blocking MQTT code for OPENCPU on MC60

Hello,
I’ve been working on an MQTT based application on MC60 using open CPU, I wanted to know if there is any API or method available to make the connection process non-blocking. (like there is in socket connections such that it invokes a callback once connection is established).

Thank you

Hi,
I’m sorry to reply you so late.
TCP’s connection is API, most of the feedback is callback;MQTT is RIL, normally the feedback is URC, the two are similar.
Could you tell me more about your specific requirements?

Hi Rohit
I think I resolved this issue over the mail chain, please correct if I am wrong.

Yes, this was solved using URCs.

Hello, I am also interested in this solution please.