wiki:UsingGSMModem

Version 9 (modified by SleepWalker, 10 years ago) (diff)

--

First, I use debian lenny root by alex (Update: emfox uploaded his own tarball), kernel by Sleep_Walker on my Treo 680.

By default, treo680-ctl module is enabled, so I just start (or enable?) the GSM module by this script:

lenny:~# cat > gsmreset.sh 
echo 0 > /sys/devices/platform/treo680-ctl/gsm_power
echo 1 > /sys/devices/platform/treo680-ctl/gsm_power
echo 1 > /sys/devices/platform/treo680-ctl/gsm_wake

We need minicom to do the work, if you have set the network, please:

  apt-get install minicom

Open the minicom terminal:

  minicom -s

Setting 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:

  AT+CFUN=1

You may want to enable the command echo by:

  ATE

On my Treo with a Chinaunicom SIM card, some +CREG and +CGREG displayed in a minute, then free to

Dial a number:

  ATD10010;  // no +8610010, and don't forget the ';'

Answer a Call:

  ATA

Hangup a Call:

  ATH

For GRPS: I haven't got very clear how it works, so please wait...

On my phone, it often hangs after typing wrong AT commands, or even after idling some minutes. That is, no output,even ERRORs, and of course command echo has been enabled. Maybe there's something more should be take cared.

The GSM 07.07 http://www.ctiforum.com/standard/standard/etsi/0707.pdf should be a good guide.