Cinterion
®
EHS6 AT Command Set
20.6 AT^SCCNT
EHS6_ATC_V03.001
15/12/3
Confidential / Released
Page 482 of 513
20.6
AT^SCCNT Configure Pulse Counter
The
write command serves to configure the GPIO8 line as pulse counter. The pulse counter is
designed to measure signals from 0 to 1000 pulses per second. The measurement starts within <50ms after the
OK result code has been sent. If the pulse counter is controlled from Java this delay may, in rare cases and
depending on the system load, be longer.
Before execution of the
write command take care that Pulse Counter functionality is enabled with
="Gpio/mode/PULSE" set to "std". Remember that if the GPIO8 line is configured as GPIO (see
) any attempt to activate the pulse counter will be rejected. Vice versa, if the pulse counter is opened
the GPIO8 line cannot be configured as GPIO.
for further detail on the pulse counter.
Syntax
Unsolicited Result Code
^SCCNT:
The URC applies only to the Limit counter mode set with parameter
=1. It is delivered once the pulse
counter has completed counting the number of pulses requested with parameter
Parameter Description
0
Close pulse counter
1
Open pulse counter
Test Command
AT^SCCNT=?
Response(s)
^SCCNT:
(list of supported
s), (list of supported
s), (list of supported
s)
OK
Read Command
AT^SCCNT?
Response(s)
^SCCNT:
[,
OK
ERROR
+CME ERROR:
<err>
Write Command
AT^SCCNT=
[,
Response(s)
OK
ERROR
+CME ERROR:
<err>
PIN
Last
-
+
-
<action>
(num)