Changes between Initial Version and Version 1 of UsingGSMModem


Ignore:
Timestamp:
04/05/09 13:38:39 (11 years ago)
Author:
emfox
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UsingGSMModem

    v1 v1  
     1First, I use debian lenny root from alex and kernel from sleepwalker on my Treo 680.
     2
     3By default, treo680-pm module was enabled, so I just start (or enable?) the GSM module by this script:
     4
     5lenny:~# cat gsmreset.sh
     6echo 0 > /sys/devices/platform/treo680-pm/gsm_power_on
     7echo 1 > /sys/devices/platform/treo680-pm/gsm_power_on
     8echo 1 > /sys/devices/platform/treo680-pm/gsm_wake
     9
     10We need minicom to do the work, if you have set the network, please:
     11
     12apt-get install minicom
     13
     14Open the minicom terminal:
     15
     16minicom -s
     17
     18Setting baudrate to 460800, the device to /dev/ttyS0 (or other, depend on 'dmesg|grep FFUART'), then open minicom without parament again, and use our needed AT commands:
     19
     20AT+CFUN=1
     21
     22You may want to enable the command echo by:
     23ATE
     24
     25On my Treo with a Chinaunicom SIM card, some '+CREG' and '+CGREG' displayed in a minute, then free to
     26
     27Dial a number: ATD10010;  // no +8610010, and don't forget the ';'
     28Answer a Call: ATA
     29Hangup a Call: ATH
     30
     31On my phone, it often hangs after typing wrong AT commands, or even after idling some minutes. That is, no output,even 'ERROR's, and of course command echo has been enabled. Maybe there's something more should be take cared.
     32
     33The GSM 07.07 http://www.ctiforum.com/standard/standard/etsi/0707.pdf should be a good guide.