Motorola G24 Guide Developer's Manual page 305

At commands
Hide thumbs Also See for G24 Guide:
Table of Contents

Advertisement

Command
Type
Unsolicited
Messages
The following table shows the +MMAD parameters.
<Parameter>
<Converter
Number>
<Report>
<Rate>
<low>,<High>
<Converted
Value>
<Num_of_sam
ples>
December 31, 2007
Syntax
AT+MMAD=<Conver
ter_number>
Case:
*. Average calculation
is not active :
+MMAD:
<Converter_number>,
<Converted_Value> OK
*. Average calculation
is active:
+MMAD:
<Converter_number>, <Average>
OK
Table 3-143: +MMAD Parameters
Description
1-5 Select the A2D converter.
0
Unsolicited report is not active/ stop unsolicited
report and deactivate +MMAD operation.
1
Unsolicited report in active for all A2D conversion
events.
2
Unsolicited report is active only for out off
boundaries events.
3
"Average report" - send periodic average.
1-255 Select the time interval between two samples.
Units:
100 milliseconds - in case of average computation,
Seconds - in case of A/D sampling only.
0-450 A decimal value represents the digital value.
Low - The lowest boundary level of digital value.
High - The Highest boundary level of digital value.
Default value for converters 1-3 is 230.
Default value for converter 4 is 0-255.
Default value for converters 1-3 is 300-450.
A decimal value represents the returned digital value.
For converters 1-3 and 5 the returned value represent the
input level multiplied by 100.
For converter 4 the returned value is a pure number that
should be converted according to conversion table
(Table
3-144) and
Figure
2-255 The number of samples that are used for average
calculation.
AT Commands Reference Manual
Chapter 3: AT Commands Reference
Response/Action
3-2.
Remarks
If <Report> value is - 3,
the report will be generated
according to report interval
value. If <Report interval>
value was not set, there
will be no messages but
you can ask for solicited
message.
Range/Remark
Optional for Average
calculation.
100 milliseconds - for
average;
seconds - Otherwise.
Mandatory for Average
calculation.
Mandatory for Average
calculation.
3-221

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents