I think I have finally gotten past the CME ERROR: 811 by implementing your suggestion and waiting for the +WIND: 4.
I now seem to be have a large number of times (3 out of 10) where my initial attempt to open a TCP Client Socket fails with a CME ERROR: 842 when using WIPCREATE. After I get the error, I just re-issue the WIPCREATE command and the second attempt seems to always succeed. With the previous code (not waiting for +WIND: 4), I very rarely received this error.
I don’t know how many different combinations of timings and AT command arrangements I have tried. It just seems like nothing will make the reliability as high as needed for this application. Not nearly as high as acheived with the MTSMC-F2 previous two versions of the Multi-Tech modem which used the older TCP/IP stack (AT#OTCP and AT#OTCP=1).
Below is the current AT command sequence that I am using on each power up cycle to the modem. Can you give any suggestions?
November 19, 2007 14:45:56:906 >: AT[13]
November 19, 2007 14:45:56:906 <: AT[13][13][10]
November 19, 2007 14:45:56:906 : AT[13]
November 19, 2007 14:45:57:078 <: AT[13][13][10]
November 19, 2007 14:45:57:078 : ATI0[13]
November 19, 2007 14:45:57:218 <: ATI0[13][13][10]
November 19, 2007 14:45:57:218 <: WAVECOM MODEM[13][10]
November 19, 2007 14:45:57:218 <: [13][10]
November 19, 2007 14:45:57:234 <: MULTIBAND G850 1900 [13][10]
November 19, 2007 14:45:57:234 <: [13][10]
November 19, 2007 14:45:57:234 : AT+CMEE=1[13]
November 19, 2007 14:45:58:359 <: AT+CMEE=1[13][13][10]
November 19, 2007 14:45:58:359 : AT+STSF=0[13]
November 19, 2007 14:45:58:500 <: AT+STSF=0[13][13][10]
November 19, 2007 14:45:58:500 : AT+CICB=0[13]
November 19, 2007 14:45:59:046 <: AT+CICB=0[13][13][10]
November 19, 2007 14:45:59:078 : AT&C1&D2[13]
November 19, 2007 14:45:59:156 <: AT&C1&D2[13][13][10]
November 19, 2007 14:45:59:187 : ATX4[13]
November 19, 2007 14:45:59:328 <: ATX4[13][13][10]
November 19, 2007 14:45:59:328 : ATE0V1S0=
November 19, 2007 14:45:59:468 : 1[13]
November 19, 2007 14:45:59:484 <: [13][10]
November 19, 2007 14:45:59:484 : AT+CREG?[13]
November 19, 2007 14:45:59:765 <: [13][10]
November 19, 2007 14:45:59:765 <: +CREG: 0,0[13][10]
November 19, 2007 14:45:59:765 <: [13][10]
November 19, 2007 14:45:59:781 <: OK[13][10]
November 19, 2007 14:46:00:031 <: [13][10]
November 19, 2007 14:46:00:031 : AT+CREG?[13]
November 19, 2007 14:46:03:906 <: [13][10]
November 19, 2007 14:46:03:906 <: +CREG: 0,1[13][10]
November 19, 2007 14:46:03:906 <: [13][10]
November 19, 2007 14:46:03:921 : AT+CGATT=1[13]
November 19, 2007 14:46:07:859 <: [13][10]
November 19, 2007 14:46:07:859 : AT+CGREG?[13]
November 19, 2007 14:46:08:109 <: [13][10]
November 19, 2007 14:46:08:109 <: +CGREG: 0,1[13][10]
November 19, 2007 14:46:08:109 <: [13][10]
November 19, 2007 14:46:08:125 : ATI3[13]
November 19, 2007 14:46:09:625 <: [13][10]
November 19, 2007 14:46:09:625 <: 657d09gg.Q24PL001 1956364 052907 16:50[13][10]
November 19, 2007 14:46:09:625 <: [13][10]
November 19, 2007 14:46:09:640 <: OK[13][10]
November 19, 2007 14:46:32:390 <: [13][10]
November 19, 2007 14:46:32:390 : AT+WIPCFG=1[13]
November 19, 2007 14:46:33:562 <: [13][10]
November 19, 2007 14:46:33:562 : AT+WIPBR=1,6[13]
November 19, 2007 14:46:33:734 <: [13][10]
November 19, 2007 14:46:33:750 : AT+WIPBR=4,6,0[13]
November 19, 2007 14:46:35:671 <: [13][10]
November 19, 2007 14:46:35:671 : AT+CSQ[13]
November 19, 2007 14:46:35:953 <: [13][10]
November 19, 2007 14:46:35:953 <: +CSQ: 26,0[13][10]
November 19, 2007 14:46:35:953 <: [13][10]
November 19, 2007 14:46:35:968 : AT+WIPCLOSE=3,1[13]
November 19, 2007 14:46:36:093 <: [13][10]
November 19, 2007 14:46:36:093 : AT+WIPCREATE=2,1,“064.181.037.210”,02102[13]
November 19, 2007 14:47:50:859 <: [13][10]
November 19, 2007 14:47:50:859 : AT+WIPCREATE=2,1,“064.181.037.210”,02102[13]
November 19, 2007 14:47:53:765 <: [13][10]
November 19, 2007 14:47:53:765 <: OK[13][10]
November 19, 2007 14:47:53:765 <: [13][10]
November 19, 2007 14:47:53:781 : AT+WIPDATA=2,1,2[13]
November 19, 2007 14:47:53:937 >: [DCD ON]
November 19, 2007 14:47:53:937 <: [13][10]
November 19, 2007 14:47:53:937 : [2]0000020D86000019010E59C8C0406F824BDC8A240[3]@
November 19, 2007 14:47:56:703 <6>: [2]0000020085000000[3][15]
November 19, 2007 14:47:59:187 <6>: [6]
November 19, 2007 14:48:02:406 >: +++
November 19, 2007 14:48:03:453 >: [DCD OFF]
I can email a version of this communications log with different colors for Tx/Rx if needed. My direct email is greg.dunn@eagleresearchcorp.com
Thanks,
Greg Dunn