A SERVICE OF

logo

Hardware Information
3-152 G24-L AT Commands Reference Manual April 15, 2008
Example
AT+MMAD =1 // Read A2D1 values with analog input of 1.75V.
+MMAD:1,175
OK
AT+MMAD=2,1,15 // Read A2D2 converted value every 15 seconds and send
OK // unsolicited report to the DTE.
+MMAD: 2, 10 // Unsolicited Report after 15 seconds.
+MMAD: 2, 12 // Unsolicited Report after 30 seconds.
AT+MMAD= 3, 2,1,25,100 // Read A2D3 converted value every 1 second and send
OK // unsolicited report if the converted value is out of boundaries.
+MMAD: 3,102 // Unsolicited report of value out of boundaries.
:
// Activate Average calcluation periodically every 30 sec, during 5
minutes, rate=5.
// report originated by G24
// Converter num=1, report=3, rate=5*100ms, low,high, N_samples,
duration=5
AT+MMAD =1,3,5, , ,16,5,30
OK
+MMAD:1,175 //First report
+MMAD:1,140 //Second report
…..
+MMAD:1,160 //Last Avr report
AT+MMAD =1,0,5, , ,16,5,0 // Activate Average calcluation during 5 minutes, rate=5.
// Converter num=1, report=0, rate=5*100ms, low,high, 16,
duration=5 min
OK
AT+MMAD=1 //Only on explicit “AT+MMAD=<Converter_number>” command
OK
<Report_interv
al>
0 - 255 Time interval between two averages reports (seconds). 0 - Default value.
<Average> Average calculation result.
Table 3-98: +MMAD Parameters (Cont.)
<Parameter> Description Range/Remark