Author |
Post |
|
#1 Sun Mar 20, 2011 14:04, 159 months ago.
|
Member
Registered: Jul 2010
Location: Amsterdam, Netherlands
|
Hi folks.
I'm looking for a way the power-down my MC35 and TC35i Terminals gracefully when I shutdown the Server-PC or smsd.
I know the is a AT command (AT^SMSO Power down GSM engine).
Maybe a counterpart of pre-init?
|
|
#2 Sun Mar 20, 2011 14:15, 159 months ago.
|
Administrator
Registered: May 2009
Location: Jyväskylä, Finland
|
Check this setting: stop = modem command.
|
|
#3 Sun Mar 20, 2011 15:16, 159 months ago.
|
Member
Registered: Jul 2010
Location: Amsterdam, Netherlands
Topic owner
|
But it looks like there are many moments that will trigger a stop = modem command. I only want a shutdown command if smsd or when my Server-PC shutdown. The "stop modem command" will turn the modem into a flipper-machine, to my understanding
|
|
#4 Sun Mar 20, 2011 15:40, 159 months ago.
|
Administrator
Registered: May 2009
Location: Jyväskylä, Finland
|
andre-sms wrote But it looks like there are many moments that will trigger a stop = modem command. I only want a shutdown command if smsd or when my Server-PC shutdown. The "stop modem command" will turn the modem into a flipper-machine, to my understanding
How it looks like that? In what version of smsd? Command is sent when process is stopping, and when process goes to "suspend" state. If suspend feature is used, usually start string should be defined too. But with AT^SMSO suspend cannot be used, because the modem is powered down.
|
|
#5 Sun Mar 20, 2011 18:43, 159 months ago.
|
Member
Registered: Jul 2010
Location: Amsterdam, Netherlands
Topic owner
|
Quote How it looks like that? In what version of smsd?
For me, It looks like there are more moments that a modem process stops, like after a sms is send?!? so the "stop = modem command" is executed menny times in the current smsd session. By the way flipper-machine is a "Pinball-machine" But if the stop command is only triggered when smsd stops, it will be use full for me . Quote Command is sent when process is stopping, and when process goes to "suspend" state. If suspend feature is used, usually start string should be defined too. But with AT^SMSO suspend cannot be used, because the modem is powered down.
I'm not interested suspend mode only power-down or shutdown. My sms-system is not running 24/7, it is just a hobby. Think Green and save energy.
|
|
#6 Sun Mar 20, 2011 19:22, 159 months ago.
|
Administrator
Registered: May 2009
Location: Jyväskylä, Finland
|
andre-sms wrote Quote How it looks like that? In what version of smsd?
For me, It looks like there are more moments that a modem process stops, like after a sms is send?!? so the "stop = modem command" is executed menny times in the current smsd session.
You have then modified the source code, right? andre-sms wrote By the way flipper-machine is a "Pinball-machine"
Yes, of course, those both terms are well known here in Finland too, and we actually talk about "flipperi" when meaning "pinball". But who cares, as nowadays everyone plays Angry Birds, or OnLine Texas Hold'em only... andre-sms wrote But if the stop command is only triggered when smsd stops, it will be use full for me .
Yes, so it should be. andre-sms wrote Quote Command is sent when process is stopping, and when process goes to "suspend" state. If suspend feature is used, usually start string should be defined too. But with AT^SMSO suspend cannot be used, because the modem is powered down.
I'm not interested suspend mode only power-down or shutdown.
Of course. I was just telling when stop string is used. And in your case you cannot even use the suspend feature. andre-sms wrote Think Green and save energy. I agree.
|
|
#7 Mon Mar 21, 2011 11:28, 159 months ago.
|
Member
Registered: Jul 2010
Location: Amsterdam, Netherlands
Topic owner
|
Thanks for the clarification
|