AT^SISR strange behavior on BGS1-E | Telit Cinterion IoT Developer Community
November 30, 2017 - 11:55am, 2296 views
It return diffirent with 2 kind of internet profile:
With SOCKET+FTP profile it return 1 line "^SISR: <srvProfileId>, <cnfReadLength>" and then exactly <cnfReadLength> bytes and then 1 line of result "OK\r\n"
But with HTTP profile it return "^SISR: <srvProfileId>, <cnfReadLength>" and then 1 emty line "\r\n" and then <cnfReadLength> bytes and then 1 line of result "OK\r\n".
Why HTTP profile need an emty line for? Is it a bug or what?The document did not mention it. May be the empty line is removed in the future? I am so confusing. Please help!
Hello,
Are you sure that this empty line is not a part of data? Can you check the firmware version with ATI1 command?
Regards,
Bartłomiej
Hi, Bartłomiej
Yeah, im sure you can see my console dumping below, i try to GET 4 bytes form http (note: not printed character is in escape sequence \xhh):
And ATI1 command return:
Thank you for your quick reply!
Regards,
Vinh
Hello,
It seems that you have the latest firmware now.
I can't see any example for http in the BGS1 AT commands specification. It looks like it has been implemented that way.
If it's not consistent with other types of connections I suppose that we can't exclude that it might be changed in some future release.
Regards,
Bartłomiej