http://www.wavecom.com/forum Open AT ® Release version: 4.10 |
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)
Command | Answers |
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 |
Parameter | Values range | Description | Default value |
Mode | 0-1 |
Signal monitoring mode:
| NA |
OutputIo | 1-44 | Output Gpio identifier; the command should fail if the required one is used by another feature. | 1 |
InputPin | 0-1 | Input external interruption pin to be monitored. | 0 |
Process | 0-2 |
Signal input process (please refer to ADL documentation):
With debounce process, the expected latency time depends on the DebounceDuration parameter. | 0 |
DebounceDuration | 1-7 | Debounce process duration, in 7.8 ms steps | 1 |
Updated: Tue Sep 19 17:15:36 CEST 2006;