Our device has both a 9160 and a 52840 on it.
The 9160 is running the stock serial modem firmware on it.
The 52840 is running a custom handler for AT connection targeted to AT HTTP.
We issue a #XHTTPCREQ
to connect to a http server and then attempt to receive ~160k in response data with header.
What is odd, is that our processing works flawlessly about 1 in 4 or 5 times. The other times, the stream is seemingly malformed.
We are struggling as the data appears malformed or missing in parts of it.
The data always appears malformed inside the payload portion of the response, where data is interspersed between #XHTTP CRSP packets.
Some of the issues I see are absence of newlines or carriage returns or missing data near or around packet transitions. Sometimes it seemingly appears that #XHTTP CRSP packets are not followed by data.
Has anyone tried to download such large amounts of data using the Serial Modem AT software? How'd it go?
I don't believe we are overrunning UART on the 52840 end as overflow is detected and captured. However we very well could be overflowing something on the 9160.
RTT debug printing on the 9160 side is only half effective as even when opened at 50,000 Hz, the log is littered with 00> --- 60 messages dropped ---, type notifications, so perfect tracking of where in the stream (if any) on the 9160 was altered.
Has anyone routed around something similar.
The link between the 9160 and the 52840 is an 115200 HWFC 0 link, wherein the AT command/response occurs.
Thanks,
Chris.