Hi
I am using nRF9160DK SLM application to evaluate the MQTT AT command function.
Everything is fine if the MQTT message is the string type shown by the doc.
AT#XMQTTPUB="nrf91/slm/mqtt/topic0",1,"Test message with QoS 0",0,0
But when I send the message with JSON format, the console returns ERROR.
AT#XMQTTPUB="nrf91/slm/mqtt/topic0",2,"{"temperature":20,"value":80}",0,0
I also tried to add escape before double quotes inside the message, and it still failed.
Does anyone know the right format to send JSON format AT command to serial LTE modem?
Best regards,
Joseph