Issue:
When using the AT command at+send=hologram:user:test
Hologram does not receive any data - the Hologram activity log shows an empty value in the data field.
Setup:
at+scan=cellular
at+set_config=cellular:(AT+COPS=0,0,"T-Mobile",0)
at+set_config=cellular:(AT+QICSGP=1,1,"hologram","","",0)
at+set_config=hologram:ABC123
at+send=hologram:user:test
Details:
Running the at+send=hologram:sensor
works as expected. Data shows in the Hologram activity log just fine. But when running the hologram:user:{payload}
command, the data payload seems to be getting stripped out - at least that is how it appears from the console output - the AT+QISEND command has an empty string for the ādā value, which I imagine is supposed to contain the data to send. Here is a sample terminal output from running the two at+send commands
at+version
Firmware Version: RUI v3.0.0.15
OK
AT+QIOPEN=1,0,"TCP","cloudsocket.hologram.io",9999,0,1
AT+QIOPEN=1,0,"TCP","cloudsocket.hologram.io",9999,0,1
OK
+QIOPEN: 0,0
AT+QISEND=0,36{"k":"ABC123","d":"","t":"TOPIC1"}AT+QISEND=0,36
> {"k":"ABC123","d":"","t":"TOPIC1"}
SEND OK
+QIURC: "recv",0,5
[0,0]
+QIURC: "closed",0
AT+QICLOSE=0,30000AT+QICLOSE=0,30000
OKat+send=hologram:user:testOK
AT+QIOPEN=1,0,"TCP","cloudsocket.hologram.io",9999,0,1AT+QIOPEN=1,0,"TCP","cloudsocket.hologram.io",9999,0,1
OK
+QIOPEN: 0,0
AT+QISEND=0,148{"k":"ABC123","d":"Acc:-796.00,382.00,-344.00; Tem:26.91;Hum:32.57; Lat(0-N,1-S):1,0.000000,Lon(0-E,1-W):1,0.000000; Battery:4.30; ","t":"TOPIC1"}AT+QISEND=0,148
> {"k":"ABC123","d":"Acc:-796.00,382.00,-344.00; Tem:26.91;Hum:32.57; Lat(0-N,1-S):1,0.000000,Lon(0-E,1-W):1,0.000000; Battery:4.30; ","t":"TOPIC1"}
SEND OK
+QIURC: "recv",0,5
[0,0]
+QIURC: "closed",0
AT+QICLOSE=0,30000AT+QICLOSE=0,30000
OKat+send=hologram:sensorOK
And here is what shows up in Hologram
Anything I might be missing here??
Thanks!