Цитата
P.S. Стек PPP есть. Стека TCP/IP нету.
Бррр..... Я вот тут умных книг немного почитал..... Я так понял, что РРР - протокол канального уровня, а вот TCP/IP - вроде как сетевой и транспортный. НО в даташите написано, что модем поддерживает уровень таких приложений как SMTP (E-Mail), FTP, Socket....
Я вот как понимаю - у GPRS есть свой собственный канальный уровень (судя по краткому просмотру книжки про сотовые сети), ну а далее (получается что РРР протокол по большому счету и не нужен - все зависит от поставленной перед GSM- модулем задачи...) начиная с сетевого и транспортного уровней GSM -модем постредством AT-команд может взаимодействовать с конкретными приложениями...
Вот что нашел из примеров для Сименса:
TechTip: Quick Start Guide for Internet Functions on GPRS and EDGE ModemsSome of the TCP/IP and email functions can be a bit dauntiing when trying them out for the first time. I have listed below a range of useful commands for GPRS connection, email, FTP and socket connections which should make life a little easier for you.
I have tested these on an MC55i on our DSB, but they will work on other modems like the TC63i, TC65i, MC75i and the Matrix terminals.
MC55i GPRS Connection settings (for 02) using Internet connection profile 0
Connection 0 - at^sics=0,conType,gprs0
User Connection 0 - AT^SICS=0,user,mobileweb
Password Connection 0 - AT^SICS=0,passwd,password
APN Connection 0 - AT^SICS=0,apn,mobile.o2.co.uk
MC55i Email (Sending E-mail using Internet service profile 1)
Srvtype - at^siss=1,srvtype,SMTP
Alphabet - at^siss=1,alphabet,1
Con ID - at^siss=1,conId,0
SMTP address - at^siss=1,address,auth.smtp.1and1.co.uk
SMTP Auth - at^siss=1,smAuth,1
password - at^siss=1,passwd,xxxxxxxxx
user - at^siss=1,user,xxxxxxxx
From - at^siss=1,smfrom,blah@blahblah.co.uk
To - at^siss=1,smRcpt,bob@tdc.co.uk"
Subject - at^siss=1,smsubj,"testing"
Review - at^siss?
Open - at^siso=1
Write - at^sisw=1,5
Message Text - Hello
finish - at^sisw=1,0,1
Close - at^sisc=1
MC55i FTPPUT (FTP Upload settings using internet service profile 1)
at^siss=1,srvtype,ftp
alphabet - at^siss=1,alphabet,1
connection id - at^siss=1,conid,0
address - at^siss=1,address,"ftpput://<username>:<password>@<domain>/<path>;type=x"
connect - at^siso=1
Write - at^sisw=1,5
Message Text - Hello
connection close - at^sisc=1
MC55i Socket TCP sending commands
servertype - at^siss=4,srvtype,socket
alphabet - at^siss=4,alphabet,1
connection ID - at^siss=4,conid,0
address - at^siss=4,address,"socktcp:/xxx.xxx.xxx.xxx:xxxx"
connect - at^siso=4
Write - at^sisw=4,5
Message Text - Hello
connection close - at^sisc=4