How to do that my application to run on Startup of the modem


#1

How to do that my application to run on Startup of the modem?

If the modem is off, when he comes on I want him to run my application, how can I do that?


#2

Hiya,

  1. Download the application to the modem
  2. enter AT+WOPEN=1 at the command prompt. Modem will reboot
  3. Application will now automatically start every time modem is power-cycled
  4. Use AT+WOPEN=0 to stop application running

See this post http://www.wavecom.com/modules/movie/scenes/forums/viewtopic.php?f=53&t=1907&p=7061&hilit=startup+delay#p7061 for some hints about why to put a slight startup delay at the beginning of your application…

ciao, Dave


#3

Thanks!!


#4

Sorry, but how to send my application to modem? What files i need to send?


#5

The process is described in the Tutorial and the Tools Manual - they are inluded in the SDK installation…


#6

Hello,

I can not find the section where the manual explains how to send the application to the modem.
You can put this tutorial here?

I would be grateful!!


#7

Hiya,

Check out Section 4 in the ‘Tutorial for Open AT’ (Wavecom Document WM_DEV_OAT_UGD_044 - 006).

This can be found in the IDE\IDE\1.08.02\doc directory underneath your OpenAT installation.

ciao, Dave


#8

The name may vary slightly with different SDK versions.

The simplest approach is to go to the top-level folder of your Open-AT installation - eg, C:\Open_AT - and simply use the Windows Explorer ‘Search’ facility to find all *.PDF files.

Having found all the *.PDF files, take the time to review each one and familiarise yourself with its contents.

You might find it helpful to make shortcuts to the files (or copies of the files) in some more convenient location; eg, on your desktop, perhaps…


#9

Realy Thanks!!


#10

Hey guys

I am trying to run my application on my modem, but I am not able to.

I followed the steps of the tutorial OpenAT…

1 - I open HyperTerminal
2 - Sending the file to gcc_ftpput.wpb.dwl modem
3 - when I eventually sending at cfun + = 1
4 - the modem and reboot

But now I wanted to run my application and I always went at it start of the modem

I tried also at wopen + = 1 but I can not run my application…


#11

Hiya,

What does AT+WOPEN=7 return? This command gives the state of the OpenAT application.

You should get a return value of 12 - which indicates Application Started in Target Mode. If you get any other value, then there is either a problem with your application or the way you are downloading it.
See the AT Command Interface Guide -> Wavecom Open AT Control Command +WOPEN for full details on the return codes for AT+WOPEN=7.

Let us know how you get on.

ciao, Dave


#12

What are you talking about here? :open_mouth:

The commands are AT+CFUN=1 and AT+WOPEN=1 - the position of the ‘+’ is important!


#13
at+wdwl=1
ERROR
at+wdwl
+WDWL: 0
at+cfun=1
OK
at+wopen=1
OK
at+wopen=7
ERROR

This not work :frowning: