split packet
Posted: Mon Oct 21, 2019 5:00 pm
Hi I am using the AT command firmware, to connect to AWS IOT.
When using HTTPS to read the shadow registry i seem to have a split packet.
I receive
+IPD,1,190:HTTP/1.1 200 OK
content-type: application/json
content-length: 3698
etc... until all 190 characters have been received.
then immediately i receive this...
+IPD,1,2920: ... and receive 2920 bytes.
but i do not receive the final 778 characters.
I am not missing any data in the first 2920 bytes... and it is exactly replicated every time i do this test.
Is there a way to receive this? (is the data buffered somewhere)(do i need to send AT command to continue receiving data)
Can i make buffers long?
Any advice would be appreciated
Thanks William
When using HTTPS to read the shadow registry i seem to have a split packet.
I receive
+IPD,1,190:HTTP/1.1 200 OK
content-type: application/json
content-length: 3698
etc... until all 190 characters have been received.
then immediately i receive this...
+IPD,1,2920: ... and receive 2920 bytes.
but i do not receive the final 778 characters.
I am not missing any data in the first 2920 bytes... and it is exactly replicated every time i do this test.
Is there a way to receive this? (is the data buffered somewhere)(do i need to send AT command to continue receiving data)
Can i make buffers long?
Any advice would be appreciated
Thanks William