http://www.wavecom.com/forum

Open AT ®  Release version:
4.10

Sample - Signal Generator

Changes

Application Description

This application firstly subscribes to the IRQ service, and stops on any error (please check the displayed traces for more information).
Then, the +SIGNAL command has to be used to configure, start or stop the output signal. This signal is configurable with three parameters: the output GPIO identifier, the signal period and the high level state duration.
The signal period is configurable between 10 ms and 1s.
The high level state duration is configurable between 1 ms and 'signal period' - 5 ms.

Important note:
as written in the ADL IRQ service documentation, this one is not available in RTE mode.
This sample is so only usable in Target environment.

 

  AT+SIGNAL (Signal generation control command)
CommandAnswers
AT+SIGNAL?+SIGNAL: <Mode> , <OutputIo> , <Period> , <HighLevelPeriod>
OK
AT+SIGNAL=?+SIGNAL: (0-1) , (1-44) , (10-1000) , (1-995)
OK
AT+SIGNAL= <Mode> ,[ <OutputIo> ],[ <Period> ],[ <HighLevelPeriod> ]+CME ERROR: 3
or
OK
 
ParameterValues rangeDescriptionDefault value
Mode0-1 Signal generation mode:
  • 0: stop signal generation
     
  • 1: start signal generation
     
NA
OutputIo1-44 Output Gpio identifier; the command should fail if the required one is used by another feature. 1
Period10-1000 Signal period, in ms 10
HighLevelPeriod1-995 Signal high level duration, in ms 1

Updated: Tue Sep 19 17:15:12 CEST 2006;