I use DTR toggle to exit command mode for CSD calls. It’s a nice way to toggle back out to command mode, cleaner in my view that sending escape sequences.
I also want to use powersave – CFUN=5 and then use DTR to enter and leave powersave mode. But now, if I configure CFUN=5, is it possible, or safe, to use DTR to toggle during a data call to leave command mode?
Addtional info:The other thing I use DTR for is to exit from online when in SPCM.
Is it safe to simple do a
… do stuff
CFUN=5 (power save mode.. DTR off to enter)
CFUN = 1
do more stuff
Please list the complete sequence of aT commands used in your application.
have you found some problems?
which is the software version? (at+cgmr)
We are using GE-865 QUAD fw version 10.00.005
I think the list below covers all our commands.I thought I had struck gold when I saw the CFUN=9. My understanding was the following:
AT+CFUN=9 => MODEM GOES INTO POWERSAVE
bring RTS ON => Modem WAKES UP
But it seems to give problems. Sometimes I issue CFUN=9 and get no response.. as if the modem is still asleep. Am I doing something wrong? Shoud this scheme work?
Thanks for your help,
Actually looks like I cannot use CFUN=9 anyway since I wanted to use the RI Pin to wake up when a GPRS packet arrives and the datasheets says (Section 126.96.36.199.76):
Note: the behavior for #PSMRI is invoked, only when modem is in sleep mode (AT+CFUN=5 and DTR Off on Main UART)
Which implies that PSMRI indications only work when CFUN=5.
And of course I’m not sure what this note means:
"Note: when RING signal from incoming call/SMS/socket listen is enabled, the behaviour for #PSMRI will be ignored."
Because I was able to demonstrate PI interrupts on incoming packets. What does it mean "the behaviours of PSMRI will be ignored"?
I can confirm you #PSMRI only works for AT+CFUN=5
The note "the behaviours of PSMRI will be ignored" means that during an incoming call, and incoming SMS (#E2SMSRI) or incoming socket connection #E2SLRI) where the RI is activated, the #PSMRI setting is ignored. You’ll have only one RI indication that depends on the previous 3 events.
Andrea – thanks for the reply.
When you say “the #PSMRI setting is ignored” do you mean “the duration setting is ignored”?
To be clear: I set PSMRI AND I set E2SMRI and I am using RI for incoming call and GPRS packets. Am I still guaranteed to get an RI interrupt if
A) I get a GPRS packet?
B) I get an SMS?
C) I get an incoming call?
In other words – if I set PSMRI and go to sleep (CFUN=5) will I always be woken up with an RI if _any_ of these three events arrive (gprs/sms/call0?
I hope you understand why I am asking this following – becuase it is absolutely critical for my application that I understand these correctly and implement as recommended.
Thanks again for your help
When you say "the #PSMRI setting is ignored" do you mean "the duration setting is ignored"?
In other words – if I set PSMRI and go to sleep (CFUN=5) will I always be woken up with an RI if _any_ of these three events arrive (gprs/sms/call)?
setting AT#PSMRI=x and activating the SMS URCs with AT+CNMI, the module provides a pulse of duration x on RI pin during incoming SMS or incoming GPRS packets.
Incoming calls always provide a RI indication even if AT#PSMRI is not set.
Hit enter to search or ESC to close
Knowledge Base & Download Zone