Hello has the 5360 same AT- commands like 800?

Hello it think SIM5360 is older than SIM800 . But anyway is it possible to write a post-request with the same AT Comands used with a SIM800 ?
With the SIM 800 the Header can be filled step by step:
Now with my SIM5360 I by the way have the Problem to write through a spi interface … the function is called xbwrite()… i can put AT comands in there. I know it works if i put my POST_Request Header as string inside : xbwrite(“HEADER”);
But it would be really interessting, as i have no much RAM, to split everything up. At the Moment I just can split my Header into two parts: xbwrite( “Header”) xbwrite(“rest of header”); but with 3 xbwrite it doesnt work.

It is really hard to to test things in this sensible enviromnent, this is why I ask, if it is possible to split the comands up like it works with the SIM800

Thank you :smiley:

Ah i found this repository on GitHub:
But i think is also sending it in one big string…

String http_request = "";
	http_request += method + " " + path + " HTTP/1.1\r\n";
	http_request += "Host: " + host + "\r\n";
	if (_http_req_header.indexOf("") < 0) 
		http_request += "User-Agent: SIM5360 dev by IOXhop\r\n";
	http_request += _http_req_header;
	if (_http_req_header.indexOf("Content-Type:") < 0 && data.length() > 0)
		http_request += "Content-Type: application/x-www-form-urlencoded\r\n";
	if (data.length() > 0)
		http_request += (String)"Content-Length: " + data.length() + "\r\n";
	http_request += "\r\n"; // END of request
	if (data.length() > 0) http_request += data; // Add data after end request

SIM5320 and SIM5360 doesnt seem to support the HTTP commands like SIM800. They are primitive modules and use some old firmware. The HTTP packets are sent on HTTP commands which are very similar to normal TCP commands. You will end up wrapping HTTP packets in code to send over a TCP connection.

Hi thank you a lot for your advice :slight_smile:
I successfully sent all my Header in one String. Other examples of 5360 Show the same way…
In Detail i dont understand what you say because I have not so much experience which TCP commands. But look what I wrote in my Code - it works via an “xbee”-SPI-Interface ( manufacturer did the Hardware…) ( Arduino->xbeeInterface->SIM5360 ) -: Here some PSEUDOCODE i wrote in Arduino, and it works…:

xbWrite(AT+CHTTPSSEND=%u\r", headerSize + payloadSize);
xbWrite("POST /apiitest/t HTTP/1.1\r\nHost: targetURL\r\nContent-Type: application/json\r\nAuthorization: Bearer xs3f34f34IH"§()H()"H()!"HD!"H(DH!"()DH\r\nContent-Length: 178\r\n\r\n\r\n");

Glad you got it working :slight_smile: