Changes between Version 4 and Version 5 of UsingGSMModem


Ignore:
Timestamp:
04/21/09 10:40:12 (10 years ago)
Author:
SleepWalker
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UsingGSMModem

    v4 v5  
    55{{{
    66lenny:~# cat gsmreset.sh
    7 echo 0 > /sys/devices/platform/treo680-pm/gsm_power_on
    8 echo 1 > /sys/devices/platform/treo680-pm/gsm_power_on
    9 echo 1 > /sys/devices/platform/treo680-pm/gsm_wake
     7echo 0 > /sys/devices/platform/treo680-ctl/gsm_power_on
     8echo 1 > /sys/devices/platform/treo680-ctl/gsm_power_on
     9echo 1 > /sys/devices/platform/treo680-ctl/gsm_wake
    1010}}}
    1111
    1212We need minicom to do the work, if you have set the network, please:
    13 
     13{{{
    1414  apt-get install minicom
    15 
     15}}}
    1616Open the minicom terminal:
    17 
     17{{{
    1818  minicom -s
    19 
     19}}}
    2020Setting 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:
    21 
     21{{{
    2222  AT+CFUN=1
    23 
     23}}}
    2424You may want to enable the command echo by:
    25 
     25{{{
    2626  ATE
    27 
     27}}}
    2828On my Treo with a Chinaunicom SIM card, some '+CREG' and '+CGREG' displayed in a minute, then free to
    2929
    3030Dial a number:
     31{{{
    3132  ATD10010;  // no +8610010, and don't forget the ';'
     33}}}
    3234Answer a Call:
     35{{{
    3336  ATA
     37}}}
    3438Hangup a Call:
     39{{{
    3540  ATH
     41}}}
    3642
    3743For GRPS: I haven't got very clear how it works, so please wait...