[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 6210/gnokii problems
From: |
address@hidden |
Subject: |
Re: 6210/gnokii problems |
Date: |
Tue, 20 Jun 2006 04:35:20 -0400 |
Hi Daniele,
Thanks for your reply. My 6210/gnokii application is for 24-hour unattended
operation,
so this matter of preventing hangs, or automatically resetting the phone if
one occurs,
is a big issue. I am thinking of trying the ff: if my software detects that
the modem is
not responding, it can activate a switch that can turn power to the phone
off, then on
again.
Regards,
Roberto Verzola
Philippines
Original Message:
-----------------
From: Daniele Forsi address@hidden
Date: Mon, 19 Jun 2006 15:35:06 +0200
To: address@hidden
Subject: Re: 6210/gnokii problems
rverzola wrote:
> Is there a doc or file somewhere that summarizes what the result codes
> for gnokii --getsms and --sendsms mean?
all result codes are defined in
http://cvs.savannah.gnu.org/viewcvs/gnokii/gnokii/include/gnokii/error.h
> Is there a way to prevent these hangs, or to reset the cellphone
> via software?
a way to prevent hangs is a really interesting topic
you cannot reset the phone via software since, by definition, the phone
is not accepting commands (there is not a thing like reset when dropping
DTR, there is not even the DTR), the command would be:
gnokii --reset [soft|hard]
but would be useful only if you experienced hangs after some hours or
days regardless of what you were doing, not after a certain pattern of
traffic
> Can the --monitor command tell whether the cellphone is hung, and then
can
> gnokii reset it?
any command failing with GN_ERR_NOLINK GN_ERR_TIMEOUT or GN_ERR_NOTREADY
means that you can't send commands to the phone, but then you can't even
use --reset
--
Daniele
_______________________________________________
gnokii-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/gnokii-users
--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .