MQTT Fail to publish message

Hi, I want to send message via MQTT but python interpreter at step publish message is freeze.
Here my code and response from python interpreter
>>> n.node.sendATComm(‘AT+QMTOPEN=0,“x.x.x.x”’, ‘OK\r\n’)
AT+QMTOPEN=0,“x.x.x.x”
OK

‘AT+QMTOPEN=0,“x.x.x.x”\r\r\nOK\r\n’
>>> n.node.sendATComm(‘AT+QMTOPEN=0,“x.x.x.x”’, ‘OK\r\n’)
AT+QMTOPEN=0,“x.x.x.x”
OK

‘AT+QMTOPEN=0,“x.x.x.x”\r\r\nOK\r\n’
>>> n.node.sendATComm(‘AT+QMTCONN=0,“test”’, ‘OK\r\n’)
AT+QMTCONN=0,“test”
OK

+QMTCONN: 0,0,0

‘AT+QMTCONN=0,“test”\r\r\nOK\r\n\r\n+QMTCONN: 0,0,0\r\n’
>>> n.node.sendATComm(‘AT+QMTPUB=0,0,0,0,“topic/pub”’, ‘OK\r\n’)

It end here. In the manual it will have “>” this sign as response but it never appear and I try insert something and press ctrl+z as manual suggest, it send python process to background.
Can anyone suggest how to sent message via MQTT and maybe suggest as script in file “.py”. Thanks.

Hi,
I have the same problem. Did you find solution ? Can you help me ?
Thanks for response :slight_smile: