And now I want enable connection to my defined server
AT#TCPATRUND=1
but return ERROR.
for test if correct connect to the network and can connect to any server I made test with any socket and all work .
I open socket to my server and can send and receive data with out of problem.
But I can’t enable gsm module to connect to my server for AT command service.
what I have wrong set.
regards
Do you have AT+CMEE=2 set? If not do it and check the error message.
Is 85.127.54.32 server open on port 1832? I can’t connect from here.
I set CMEE=2 and result is
556 error code context not opened
Check if you still have GPRS context open (IP)?
Is your server alive?
now test connection to my server .
and yes.
if want communicate with my server , is no problem to open socket and send and receive data from to gsm module. only TCP AT run service don’t work
I still cannot see the server open on port 1832.
I send to you PM post .
there I define my connection setting.
I see you in my server, I can send any text to you if you want.
That one is alive; is the same you are using for AT run application?
If it used to work and now fails, do a firmware reload and check after.
I don’t receive respond after some time (on first try connect and then send error).
send error respond immediately.
try connection to my server with socket again and again and work good.
I’m re-flash firmware and try it , but still same problem: context not opened
but if try socket it work
what is incorrect ???
any suggestion???
no idea???
Hi.
I solve my problem but I don’t know what is wrong.
I’m defined service in socket 6 but if test all socket then find problem.
Only first 3 socket can be use for AT RUN service.
if test with socket 1,2,3 all work with out of problem .
but if define in configuration with socket 4,5,6 then result is error context not opened
now I know so must use only socket 1..3 . but in documentation is write so is possible use socket 1..6 what is wrong???
AT#SCFG?
#SCFG: 1,1,300,90,600,50
#SCFG: 2,1,300,90,600,50
#SCFG: 3,1,300,90,600,50
#SCFG: 4,2,300,90,600,50
#SCFG: 5,2,300,90,600,50
#SCFG: 6,2,300,90,600,50
OK
all socket setting are same
regards
PS: then I test socket connection and error is same , I can use only 3 socket (1..3) .
I have bad setting or firmware have bug ???
GSM is GE865 quad firmware is 10.00.004
Hello. During the detailed examination of documentation I’ve found a reason why we did not work all the socket. # SCFG … <cid> … In the first three <cid> socket is set to 1, with the rest of their value 2 if I exchanged the socket at all <cid> to 1, so everything just works socket (1 .6). I therefore apologize for, the error was due to improper settings of the socket settings
We use cookies to enhance your browsing experience and help us improve our websites. To improve our website, we carefully select third parties that use cookies to allow us to serve specific content and achieve the purposes set out in our cookie policy. For more information on how to make adjustments through your browser to the cookies being used on your device, please click Find Out More link. By closing this banner or continuing to browse our website, you agree to our use of such cookies. FIND OUT MORE
Hi.
Now I’m learn how to use TCP AT Run function.
I tested it last week and it worked, but now I can’t establish connection.
here I write what I do :
Power On GSM module and wait if is registered .
then send command for open GPRS connection
GSM module return IP adress.
for setting of TCP AT RUN in client mode set this:
and respond is OK
Clear all firewall setting (only for server mode)
Clear all authentication (only for server mode)
Wait for answer from gsm module
No delay.
And now I want enable connection to my defined server
but return ERROR.
for test if correct connect to the network and can connect to any server I made test with any socket and all work .
I open socket to my server and can send and receive data with out of problem.
But I can’t enable gsm module to connect to my server for AT command service.
what I have wrong set.
regards
Do you have AT+CMEE=2 set? If not do it and check the error message.
Is 85.127.54.32 server open on port 1832? I can’t connect from here.
I set CMEE=2 and result is
556 error code
context not opened
Check if you still have GPRS context open (IP)?
Is your server alive?
now test connection to my server .
and yes.
if want communicate with my server , is no problem to open socket and send and receive data from to gsm module. only TCP AT run service don’t work
I still cannot see the server open on port 1832.
I send to you PM post .
there I define my connection setting.
I see you in my server, I can send any text to you if you want.
That one is alive; is the same you are using for AT run application?
If it used to work and now fails, do a firmware reload and check after.
I don’t receive respond after some time (on first try connect and then send error).
send error respond immediately.
try connection to my server with socket again and again and work good.
I’m re-flash firmware and try it , but still same problem:
context not opened
but if try socket it work
what is incorrect ???
any suggestion???
no idea???
Hi.
I solve my problem but I don’t know what is wrong.
I’m defined service in socket 6 but if test all socket then find problem.
Only first 3 socket can be use for AT RUN service.
if test with socket 1,2,3 all work with out of problem .
but if define in configuration with socket 4,5,6 then result is error context not opened
now I know so must use only socket 1..3 . but in documentation is write so is possible use socket 1..6 what is wrong???
all socket setting are same
regards
PS: then I test socket connection and error is same , I can use only 3 socket (1..3) .
I have bad setting or firmware have bug ???
GSM is GE865 quad firmware is 10.00.004
Hello.
During the detailed examination of documentation I’ve found a reason why we did not work all the socket.
# SCFG … <cid> …
In the first three <cid> socket is set to 1, with the rest of their value 2
if I exchanged the socket at all <cid> to 1, so everything just works socket (1 .6).
I therefore apologize for, the error was due to improper settings of the socket settings
regards
OK, thanks.