using a ESP8266 WiFi device I can send temperature sensor data to my device, e.g. LOG
[60814] Publish: topic 1, channel 1, value 22.400, subkey c, key temp
when attempting to send temperature sensor data using a modem
modem command ‘AT+QMTOPEN=0,“mqtt.mydevices.com”,1883’
response ‘OK’
modem command ‘AT+QMTCONN=0,“46xxxxxxxxxxx23d”,“8e9xxxxxxxxxxxxxx461”,“7dxxxxxxxxxxxxxxxxxxxe0”’
response ‘OK’
modem command ‘AT+QMTPUBEX=0,0,0,0,“1/pub”,170’
response ‘>’
v1/8e9xxxxxxxxxxxxxxxxxx61/things/46xxxxxxxxxxxxxxxxx23d/data/json
[
{
“channel”: 1,
“value”: 16.4,
“type”: “temp”,
“unit”: “c”
}
]
‘OK’
‘+QMTPUBEX: 0,0,0’
‘+QMTSTAT: 0,1’
after the AT+QMTPUBEX command the device responds with > , comes online for a few seconds then goes offline after it receives the v1/ username/things/clientID/data/json etc
the data sent in the json does not appear at the device
I assume I have something wrong with the v1/username/things/clientID/data/json format ?