Problem With GSM SIM800C POST method for sending data to


#1

Hello sir,

MCU USED: STM32F429ZIT6
BOARD: STM32F4 Discovery
IDE: OpenStm32
ADDITIONAL: CubeMx
PERIPHERAL: SIM800C GSM Module

I was trying to communicate with ThingSpeak using my stm32 and Sim800c. Actually I am able to send data to ThingSpeak server using post method. But not the whole data, out of 165 bytes it only sends 100 bytes of data to thingspeak. other bytes are lost and I am not able to understand where is the problem.

ATE0
OK
AT
OK
AT+HTTPPARA=“CID”,“1”
OK
AT+HTTPTERM
OK
AT+HTTPINIT
OK
AT+CREG?
+CREG: 1,5

OK
AT+SAPBR=0,1
OK
AT+SAPBR=3,1,“CONTYPE”,“GPRS”
OK
AT+SAPBR=3,1,“APN”,“TATA.DOCOMO.INTERNET”
OK
AT+SAPBR=3,1,“USER”,""
OK
AT+SAPBR=3,1,“PWD”,""
OK
AT+SAPBR=1,1
OK
AT+SAPBR=2,1
+SAPBR: 1,1,“100.99.141.206”

OK
AT+HTTPPARA=“URL”,“api.thingspeak.com/update
OK
AT+HTTPSCONT
OK
AT+HTTPPARA=“CID”,“1”
OK
AT+HTTPDATA=165,10000

DOWNLOAD
api_key=5HNBVYG026W5TF7I&field2=220119150050q@220119150050220119150050JË220119150050ÜÿÜÿÛÿ220119150050
OK
AT+HTTPACTION=1
OK
+HTTPACTION: 1,200,2

please find attach images in which sequence of AT commands is shown.
you can see the result of AT+HTTPACTION is 200 ok. so no doubt whole data is sent to thingspeak but at thingspeak when I checked the data, I am not getting the complete data.
I only get “220119150050q@220119150050220119150050JË220119150050”
this much of data.
so if u get where is the problem please let me know, if there is any alternative method to send bulk of data then also suggest me that.

Thanks in advance,