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 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)
Command | Answers |
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 |
Parameter | Values range | Description | Default value |
Mode | 0-1 |
Signal generation mode:
| NA |
OutputIo | 1-44 | Output Gpio identifier; the command should fail if the required one is used by another feature. | 1 |
Period | 10-1000 | Signal period, in ms | 10 |
HighLevelPeriod | 1-995 | Signal high level duration, in ms | 1 |
Updated: Tue Sep 19 17:15:12 CEST 2006;