Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

PPP code for Siemens MC35 GSM terminal

Status
Not open for further replies.
gm47 ppp

i use china mobile communication.
i have excute the AT command as follows in the minicom:

AT+CGDCONT=1,"IP","CMNET"
OK
ATD*99***1#
CONNECT
~ }#?}!}#} }9}"}&} }*} } }'}"}(}"}%}&}>_}#}%?}%骡~~ }#?}!}#} }9}"}&} }*} }
}'}"}(}"}%}&}>_}#}%?}%骡~~ }#?}!}#} }9}"}&} }*} } }'}"}(}"}%}&}>_}#}%?}%骡
~~ }#?}!}#} }9}"}&} }*} } }'}"}(}"}%}&}>_}#}%?}%骡~~ }#?}!}#} }9}"}&} }*} }
}'}"}(}"}%}&}>_}#}%?}%骡~~ }#?}!}#} }9}"}&} }*} } }'}"}(}"}%}&}>_}#}%?}%
骡~~ }#?}!}#} }9}"}&} }*} } }'}"}(}"}%}&}>_}#}%?}%骡~~ }#?}!}#} }9}"}&} }*}
} }'}"}(}"}%}&}>_}#}%?}%骡~~ }#?}!}#} }9}"}&} }*} } }'}"}(}"}%}&}>_}#}%?
}%骡~~ }#?}!}#} }9}"}&} }*} } }'}"}(}"}%}&}>_}#}%?}%骡~
NO CARRIER

NO CARRIER why?
 

gprs, modem hangup, ppp

xczms said:
i use china mobile communication.
i have excute the AT command as follows in the minicom:

AT+CGDCONT=1,"IP","CMNET"
OK
ATD*99***1#
CONNECT
~ }#?}!}#} }9}"}&} }*} } }'}"}(}"}%}&}>_}#}%?}%骡~~ }#?}!}#} }9}"}&} }*} }
}'}"}(}"}%}&}>_}#}%?}%骡~~ }#?}!}#} }9}"}&} }*} } }'}"}(}"}%}&}>_}#}%?}%骡
~~ }#?}!}#} }9}"}&} }*} } }'}"}(}"}%}&}>_}#}%?}%骡~~ }#?}!}#} }9}"}&} }*} }
}'}"}(}"}%}&}>_}#}%?}%骡~~ }#?}!}#} }9}"}&} }*} } }'}"}(}"}%}&}>_}#}%?}%
骡~~ }#?}!}#} }9}"}&} }*} } }'}"}(}"}%}&}>_}#}%?}%骡~~ }#?}!}#} }9}"}&} }*}
} }'}"}(}"}%}&}>_}#}%?}%骡~~ }#?}!}#} }9}"}&} }*} } }'}"}(}"}%}&}>_}#}%?
}%骡~~ }#?}!}#} }9}"}&} }*} } }'}"}(}"}%}&}>_}#}%?}%骡~
NO CARRIER

NO CARRIER why?

This worm is the PPP initalisation sequence for LCP phase. If you do not respond to it within the PPP timeout constraints, the modem will detach and close the connection, this is why you have "NO CARRIER". You need to respond to it with proper LCP closing sequences, after that you need to perform authentication by one of several available protocols (PAP, CHAP, etc...), then IPCP phase to establish an IP transport layer, and only after this you can transfer TCP or UDP packets.
The TELIT GM862 GPRS modules have a custom subset of AT commands, called EASY GPRS, which allow to perform data transfer without taking care about PPP layer. You just have to setup GPRS with AT+CGDCONT, after this define the desired connection parameters (protocol type TCP or UDP, remote port, peer IP or peer name), and request socket opening. After this you transfer the data, and the module takes care about all network protocols without user intervention.

/pisoiu
 

gm47 tcp atdt

/home/chat1:

ABORT "BUSY"
ABORT "NO CARRIER"
ABORT "NO DIALTONE"
ABORT "ERROR"
'' AT
OK AT+CGDCONT=1,"IP","CMNET"
OK ATD*99***1#
CONNECT ""


/etc/ppp/option:
lock
nocrtscts
noauth
local
defaultroute



i execute the following command in shell
#pppd /dev/ttyS0 9600 debug connect '/usr/sbin/chat -v -f /home/chat1'


^[[AAug 24 14:37:21 localhost pppd[3193]: pppd 2.4.1 started by root
, uid 0
Aug 24 14:37:22 localhost chat[3194]: abort on (BUSY)
Aug 24 14:37:22 localhost chat[3194]: abort on (NO CARRIER)
Aug 24 14:37:22 localhost chat[3194]: abort on (NO DIALTONE)
Aug 24 14:37:22 localhost chat[3194]: abort on (ERROR)
Aug 24 14:37:22 localhost chat[3194]: send (AT^M)
Aug 24 14:37:22 localhost chat[3194]: expect (OK)
Aug 24 14:37:22 localhost chat[3194]: AT^M^M
Aug 24 14:37:22 localhost chat[3194]: OK
Aug 24 14:37:22 localhost chat[3194]: -- got it
Aug 24 14:37:22 localhost chat[3194]: send (AT+CGDCONT=1,"IP","CMNET
"^M)
Aug 24 14:37:22 localhost chat[3194]: expect (OK)
Aug 24 14:37:22 localhost chat[3194]: ^M
Aug 24 14:37:22 localhost chat[3194]: AT+CGDCONT=1,"IP","CMNET"^M^M
Aug 24 14:37:22 localhost chat[3194]: OK
Aug 24 14:37:22 localhost chat[3194]: -- got it
Aug 24 14:37:22 localhost chat[3194]: send (ATD*99***1#^M)
Aug 24 14:37:23 localhost chat[3194]: expect (CONNECT)
Aug 24 14:37:23 localhost chat[3194]: ^M
Aug 24 14:37:23 localhost chat[3194]: ATD*99***1#^M^M
Aug 24 14:37:23 localhost chat[3194]: CONNECT
Aug 24 14:37:23 localhost chat[3194]: -- got it
Aug 24 14:37:23 localhost chat[3194]: send (^M)
Aug 24 14:37:23 localhost chat[3194]: expect (^M)
Aug 24 14:37:23 localhost chat[3194]: ^M
Aug 24 14:37:23 localhost chat[3194]: -- got it
Aug 24 14:37:23 localhost chat[3194]: send (^M^M)
Aug 24 14:37:23 localhost chat[3194]: expect (^M)
Aug 24 14:37:23 localhost chat[3194]:
Aug 24 14:37:26 localhost chat[3194]: ~^?}#@!}!}#} }9}"}&} }*} } }'}
"}(}"}%}&''7-}#}%B#}%}>A~~^?}#@!}!}#} }9}"}&} }*} }
Aug 24 14:37:29 localhost chat[3194]: }'}"}(}"}%}&''7-}#}%B#}%}>A~~^
?}#@!}!}#} }9}"}&} }*} } }'}"}(}"}%}&''7-}#}%B#}%}>
Aug 24 14:37:35 localhost chat[3194]: A~~^?}#@!}!}#} }9}"}&} }*} } }
'}"}(}"}%}&''7-}#}%B#}%}>A~~^?}#@!}!}#} }9}"}&} }*}
Aug 24 14:37:38 localhost chat[3194]: } }'}"}(}"}%}&''7-}#}%B#}%}>A~
~^?}#@!}!}#} }9}"}&} }*} } }'}"}(}"}%}&''7-}#}%B#}%
Aug 24 14:37:44 localhost chat[3194]: }>A~~^?}#@!}!}#} }9}"}&} }*} }
}'}"}(}"}%}&''7-}#}%B#}%}>A~~^?}#@!}!}#} }9}"}&} }*
Aug 24 14:37:47 localhost chat[3194]: } } }'}"}(}"}%}&''7-}#}%B#}%}>
A~~^?}#@!}!}#} }9}"}&} }*} } }'}"}(}"}%}&''7-}#}%B#
Aug 24 14:37:53 localhost chat[3194]: }%}>A~~^?}#@!}!}#} }9}"}&} }*}
} }'}"}(}"}%}&''7-}#}%B#}%}>A~^M
Aug 24 14:37:53 localhost chat[3194]: -- got it
Aug 24 14:37:53 localhost pppd[3193]: Serial connection established.
Aug 24 14:37:53 localhost pppd[3193]: using channel 1
Aug 24 14:37:53 localhost pppd[3193]: Using interface ppp0
Aug 24 14:37:53 localhost pppd[3193]: Connect: ppp0 <--> /dev/ttyS0
Aug 24 14:37:53 localhost /etc/hotplug/net.agent: assuming ppp0 is a
lready up
Aug 24 14:37:54 localhost pppd[3193]: sent [LCP ConfReq id=0x1 <asyn
cmap 0x0> <magic 0xdba7262e> <pcomp> <accomp>]
Aug 24 14:37:54 localhost pppd[3193]: Hangup (SIGHUP)
Aug 24 14:37:54 localhost pppd[3193]: Modem hangup
Aug 24 14:37:54 localhost pppd[3193]: Connection terminated.
Aug 24 14:37:54 localhost /etc/hotplug/net.agent: NET unregister eve
nt not supported
Aug 24 14:37:55 localhost pppd[3193]: Exit.

what the Hangup(SIGHUP) mean? which cause it? what should i do? thanks
 

gprs ppp connection modem source code

Hi friends. I usinge the siemens MC35i for one application that use one microcontroler, therefore I use serial comands. As I already saw other peaple that problems like me. Dont connect (NO CARRIER). Need send some specifc command?
This Is PPP?
How can I make that?
Where do I find as setting up strings PPP?

Help me please...
 

lcp sequence gprs

THIS IS VERY URGENT .... Please help me...

My service provider has set-up a special connection (A sort of VPN) where I dial through GPRS and establish a PPP link. He did this so that the IP address I have setup on the local machine can be kept once I connect to the server on the other end.

The Service provider tells me that the PDP context for this is set-up with the command :

at+cgdcont=1,"PPP","BAM"

where BAM is the name of the server on his side...

The problem is that I am using a Siemens MC35i Terminal and it doesn't accept this command....
The MC35i doesn't seem to accept "PPP" in the PDP context definition.. but it does accept "IP" when I try to connect to the Internet server of my provider !

Has anyone had to deal with an issue like this ?

This whole process actually works when using a GPRS mobile phone SL55 as a modem ! But I don't know what I am doing wrong !

THANKS very much
 

at+cgdcont enter ppp mode

I had the same problem, when the PPP start I stop.
This topic is old, so i want to know if somebody did it, or can help me with that.
I want to use mcu with the MC35 for my college work, but i don´t know anything about PPP. Did somebody implemented it in a mcu? Or have some documentation?


Thanks
 

microchip telit gprs

If you search this forum, you will find that much has been written on this topic. TO start with, there are 2 excellent application notes that implement PPP on a mcu. One is from microchip and the other from motorola.
 

gprs dial sequence enfora

Does anybody know how to terminate Voice call but not terminating active GPRS connection? Is there any difference between ATH (ATH0) and AT+CHUP comands?
 

pppd gprs mc35

old thread but the same problem:

I try to connect internet with Siemens MC35i modem and WinXP. The connection starts but I can't change/use the PPP to send data. What can I do?

Btw, it's no problem to connect in general, but I need the modem with a data logger without every OS like Win or Linux. So, the logger only send the AT command to the modem and when connection is established the data have to send to a PHP script on a special server. (e.g.: GET /scripts/test.php?A=1&B=2)

How can I solve this?
 

gprs microchip

To be connected to internet, you need TCP/IP stack. You can either use the TCP/IP stack of the OS like winsock of windows or you can write your own stack. Most modules also come with a stack built-in. But I dont think MC35 is one of those.
 

gprs expect connect doesnt respond

Hello together!

Also trying to use Siemens MC35i for GPRS connection within an application on XP, but really don't know how to authenticate with PAP & Co.

But
1. I can't believe that there are no ready (free or commercial) components to use for that reason, because this modem seems to be very common.
2. it's seems to be possible under SuSE-Linux to make an GPRS connection over this modem with just entering the AT-INIT-string and username and passwort for authentication. This conntection then is mapped as normal network connection and you've got internet access from any application. Is that possible with any tool under Windows?

Can't believe that it is so hard to get an GPRS connection with the MC35i, can it?

I would be very happy for any tips (free or commercial) for getting GPRS connection with the Siemens MC35i.

Thanks in advance
Andreas
http://www.ab-tools.com/English
 

gprs and ppp windows mobile

techie said:
To be connected to internet, you need TCP/IP stack. You can either use the TCP/IP stack of the OS like winsock of windows or you can write your own stack. Most modules also come with a stack built-in. But I dont think MC35 is one of those.

what this mean can implemented in mcu 8051? how about algorithm in TCP/IP stack, routine flowchart?

regard
sukel
 

gprs ppp connection packets

TCP/IP stack is implemented in module. You only need to send the required server IP or URL and some other info to get connected to the internet and start exchanging data. It is quite easy.
 

atdt enfora

For all of your Enfora gurus, I have an interesting question:

I am trying to use an MTGL device in a way that probably it was not intended for, nonetheless I think it should work but it does not.

I want to use the enfora box as a simple telnet terminal. That means for example I would like to use the TCP PAD command ATDT66.55.4.6/23 and have a two-way session with the telnet server. By two-way I mean that whatever I sent to the serial port it is sent to the telnet server and whatever the telnet server replies with shows up back on the serial port.

However it only works one cay - from MTGL to the telnet server, and NOT the other way around. I can not see the responses from the telnet server, but anything I sent to the serial port (after CONNECT of course) shows up at the telnet server. I have wireshark running on the telnet server-end and I can see clearly that my Enfora payload packets are being sent, then the telnet server replies back and I can clearly see those payload characters as well going back to my enfora EXCEPT the enfora box never sends them to the serial.

Here is a schematic:

**broken link removed**

Will this configuration work? I could not see why not but I am new with Enfora so may be I am missing some command to disable a "hidden" feature?

Thank you
 

telit communications tcp

Answered my own question: old firmware

Now its all happy

**broken link removed**
**broken link removed**
 

mc35i terminal firmware 2.0

hi friends,
I want to send data trough the gprs...
i can connect to gprs
but cant send data...
when i send atd*99***1# for mc39i , it response:
Connect
{.....
....
some mixed characters...
...
No Carrier
what i should to do?
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top