# Telit GE 865 + #SD - Socket Dial problem

**URL:** <https://community.sparkfun.com/t/telit-ge-865-sd-socket-dial-problem/16441>\
**Category:** Wireless & IoT\
**Created:** [July 4, 2010, 2:33pm UTC](https://community.sparkfun.com/t/telit-ge-865-sd-socket-dial-problem/16441 "2010-07-04T14:33:56Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![amin](https://avatars.discourse-cdn.com/v4/letter/a/8e7dd6/32.png) [@amin](https://community.sparkfun.com/u/amin)\
**Post date:** [July 4, 2010, 2:33pm UTC](https://community.sparkfun.com/t/telit-ge-865-sd-socket-dial-problem/16441/1 "2010-07-04T14:33:56Z")

</div>

hello

I am really weak in networks how ever I tried to creat some tcp application by connecting telit gsm module to my local server

when I send this string to the modem it malefunction and I never get connect

```auto
AT#SD=1,0,2333,"MY server IP address ",0,0,0 

```

I also get erorr when I try to send email

but I can open a socket connection in command mode

```auto

~~~
AT#SD=1,0,2333,"MY server IP address ",0,0,1 

```

````auto

Iget OK back from the modem and then I can send data to the server though the internet however I got error after I accept incoming connection from the server 

```
AT#SD=1,0,2333,"server IP ",0,0,1 

OK

SRING: 1
AT#SA = 1,1 

ERROR
```

this are my gprs sittings 

```
AT+CGDCONT=3,"IP","vodafone.com.qa", "0.0.0.0"

OK

+CGQREQ: 1,0,0,0,0,0

AT#sgact=1,1

#SGACT: 10.103.34.205

OK
```

if any one have any Idea please help
````

---

<div class="post-metadata">

**Author:** ![john\_melbourne](https://avatars.discourse-cdn.com/v4/letter/j/6bbea6/32.png) [@john\_melbourne](https://community.sparkfun.com/u/john_melbourne)\
**Post date:** [July 5, 2010, 11:06pm UTC](https://community.sparkfun.com/t/telit-ge-865-sd-socket-dial-problem/16441/2 "2010-07-05T23:06:17Z")

</div>

Hi,

I use vodafone (on a GM862 and GE864) here in Australia. The following is the sequence that I use to get to a Web Page:-

AT#GPRS=1 //This replies with my IP number I do not even need to specify the apn

AT#SKTD=0,80,“[www.theage.com.au](http://www.theage.com.au)” //the 80 is for port 80 the HTML port - replies with connect

GET / HTTP/1.0 //don’t forget cr lf at the end

//needs another cr lf at the end

Then down comes the HTML from the web - it disconnects at the end but I just redo the socket dial - NOT the GPRS = 1

Hope it helps.

---

<div class="post-metadata">

**Author:** ![amin](https://avatars.discourse-cdn.com/v4/letter/a/8e7dd6/32.png) [@amin](https://community.sparkfun.com/u/amin)\
**Post date:** [July 8, 2010, 3:15pm UTC](https://community.sparkfun.com/t/telit-ge-865-sd-socket-dial-problem/16441/3 "2010-07-08T15:15:29Z")

</div>

> john\_melbourne:  
> Hi,
> 
> I use vodafone (on a GM862 and GE864) here in Australia. The following is the sequence that I use to get to a Web Page:-
> 
> AT#GPRS=1 //This replies with my IP number I do not even need to specify the apn
> 
> AT#SKTD=0,80,“[www.theage.com.au](http://www.theage.com.au)” //the 80 is for port 80 the HTML port - replies with connect
> 
> GET / HTTP/1.0 //don’t forget cr lf at the end
> 
> //needs another cr lf at the end
> 
> Then down comes the HTML from the web - it disconnects at the end but I just redo the socket dial - NOT the GPRS = 1
> 
> Hope it helps.

Thank you Sir I’ll try your sequence

---

<div class="post-metadata">

**Author:** ![ntyler](https://avatars.discourse-cdn.com/v4/letter/n/d07c76/32.png) [@ntyler](https://community.sparkfun.com/u/ntyler)\
**Post date:** [August 4, 2010, 3:08pm UTC](https://community.sparkfun.com/t/telit-ge-865-sd-socket-dial-problem/16441/4 "2010-08-04T15:08:53Z")

</div>

I’ve noticed a similar problem with the 865 QUAD. If I use the newer command set, AT#SGACT=1,1 followed by AT#SD=1,0,80,“some host” the module will hang and give no CONNECT or ERROR. If I use the older commands, AT#GPRS=1 followed by AT#SKTD=0,80,“some host” it connects just fine. If I +++ escape out and then use the multisocket AT#SD version, it works just fine. Seems like the older commands are initializing something that the new commands are not? Has anyone else experienced this?

---

<div class="post-metadata">

**Author:** ![whereswally](https://avatars.discourse-cdn.com/v4/letter/w/82dd89/32.png) [@whereswally](https://community.sparkfun.com/u/whereswally)\
**Post date:** [August 26, 2010, 1:24am UTC](https://community.sparkfun.com/t/telit-ge-865-sd-socket-dial-problem/16441/5 "2010-08-26T01:24:59Z")

</div>

I found my Ge865 did the same thing, I could not get a CONNECT response even though I could see my Apache server was serving the requested page back.

I found that if I disable flow control with a AT&K=0 then suddenly I see the CONNECT and my html stuff.

I am using vodafone prepaid in Brisbane Aus.

```auto
AT+CGDCONT=1,"IP","vfinternet.au",0.0.0.0
AT#USERID=""
AT#PASSW=""
AT#GPRS=1
AT#SKTD=0,80,"google.com"

```

T

---

<div class="post-metadata">

**Author:** ![nettking](https://avatars.discourse-cdn.com/v4/letter/n/ecc23a/32.png) [@nettking](https://community.sparkfun.com/u/nettking)\
**Post date:** [March 21, 2013, 12:16pm UTC](https://community.sparkfun.com/t/telit-ge-865-sd-socket-dial-problem/16441/6 "2013-03-21T12:16:43Z")

</div>

i am having problems sending an email. I used these

AT#ESMTP=“[smtp.live.com](http://smtp.live.com)”

OK

AT#EADDR=“\*\*\*\*\*@hotmail.com”

OK

AT#EUSER=“\*\*\*\*\*\*\*@hotmail.com”

OK

AT#USERID=“\*\*\*\*\*\*\*\*\*\*”

OK

and then i tried to send the email. but got an error. I do have an active gprs connection.
