http://www.wavecom.com/forum

Open AT ®  Release version:
4.10

Sample - Signal Replica

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 input signal monitoring. This signal is configurable with four parameters: the input external interruption pin, the output GPIO identifier, the input signal process and debounce duration.
This sample cannot be used if the frequency of signal is higher than 500Hz in entry.

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 monitoring control command)
CommandAnswers
AT+SIGNAL?+SIGNAL: <Mode> , <OutputIo> , <InputPin> , <Process> , <DebounceDuration>
OK
AT+SIGNAL=?+SIGNAL: (0-1) , (1-44) , (0-1) , (0-2) , (1-7)
OK
AT+SIGNAL= <Mode> ,[ <OutputIo> ],[ <InputPin> ],[ <Process> ],[ <DebounceDuration> ]+CME ERROR: 3
or
OK
 
ParameterValues rangeDescriptionDefault value
Mode0-1 Signal monitoring mode:
  • 0: stop signal monitoring
     
  • 1: start signal monitoring
     
NA
OutputIo1-44 Output Gpio identifier; the command should fail if the required one is used by another feature. 1
InputPin0-1 Input external interruption pin to be monitored. 0
Process0-2 Signal input process (please refer to ADL documentation):
  • 0: No process
     
  • 1: Debounce process
     
  • 2: Stretching process
     
With no process or stretching process, the expected maximum latency time between input and output is 1 ms.
With debounce process, the expected latency time depends on the DebounceDuration parameter.
0
DebounceDuration1-7 Debounce process duration, in 7.8 ms steps 1

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