BG96 MQTT error only at publish
-
Hi I’m trying to connect the BG96 to AWS IoT Core over MQTT. I’ve followed the MQTT Application manual and everything works fine till the subscription part. I’m able to subscribe to the topic and also able to display the incoming payload from the IoT Core.
But when I try to publish something usingAT+QMTPUB=1,1,1,1,"$aws/things/xyz/shadow/update"
I get the response:
>
but when I send the message
{"state":{"desired":{"welcome": "test123"}}}
The module seems to get stuck and there’s no response from the module at all. If I send any commands there’s no response from the module, to work with it again I have to restart it entirely and only then can I work with the AT Commands.
Does anyone know why the module gets stuck right after publish commands? -
Hello @Harshit0191
according to documentation, after sending the message you’ll need to finish with CTRL+Z.
Input the data to be sent after > is responded. Tap Ctrl+Z to send the data, and tap Esc to cancel the operation.
Thanks
Felix