Cinterion
®
EHS6 AT Command Set
19.6 AT^SRADC
EHS6_ATC_V03.001
15/12/3
Confidential / Released
Page 459 of 513
19.6
AT^SRADC Configure and Read ADC Measurement
The
command controls the module's Analog-to-Digital Converter. The ADC can be used to measure
the voltage of external devices connected to the ADC input.
configures the parameters required for
ADC measurement and returns the measurement result(s). The value(s) can be delivered once on request by
using the single measurement mode, or periodically by specifying the measurement interval.
Syntax
Unsolicited Result Code
ADC measurement URC (only used in periodic measurement mode). URC indicating the used channel, the num-
ber of measured samples and the voltage. Applies only if periodic measurement mode is enabled.
^SRADC:
Parameter Description
ADC channel
Test Command
AT^SRADC=?
Response(s)
^SRADC:
(list of supported
s), (list of supported
OK
Read Command
AT^SRADC?
Response(s)
^SRADC:
OK
ERROR
+CME ERROR:
<err>
Write Command
Single measurement. Requires
=1, implies no interval (
=0).
AT^SRADC=
Response(s)
^SRADC:
OK
ERROR
+CME ERROR:
<err>
Write Command
Periodic measurement. Requires
=1 and
=100ms...30000ms
AT^SRADC=
Response(s)
OK
ERROR
+CME ERROR:
<err>
PIN
Last
-
+
-
<ch>
(num)