Motorola G24 用户手册

下载
页码 642
Chapter 3:  AT Commands Reference
 December  31, 2007
AT Commands Reference Manual
3-225
// 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 calculation 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
+MMAD:1,160
//Operation not allowed because the parameters are valid But the
 there is not enough time for calculation:
AT+MMAD =1,3,100, , ,7,1,5
 // Activate Average calculation during 1 minute, rate=100, 
samples = 7, report interval = 5 sec.
Converter num=1, report=3, rate=100, low,high, 7,
 duration=1 min, interval = 5.
+CME ERROR: operation not allowed
AT+MMAD =1,0
// Stop Average calculation and report.
OK
//Converter num=1, report=0 
AT+MMAD?
// Read monitoring setup values of all A2D's
+MMAD:1,0,10,0,230,0,0,0
+MMAD:2,1,15,0,230,0,0,0
+MMAD:3,2,1,25,100,0,0,0
+MMAD:4,0,1,0,255,0,0,0
+MMAD:5,0,1,300,450,0,0,0
OK
AT+MMAD?
// Read default values of all A2D's
+MMAD: 1,0,1,0,230,0,0,0
+MMAD: 2,0,1,0,230,0,0,0
+MMAD: 3,0,1,0,230,0,0,0
+MMAD: 4,0,1,0,255,0,0,0
+MMAD: 5,0,1,300,450,0,0,0
OK
AT+MMAD=?
 //Test command - range of all setup parameters and
+MMAD: (1-5),(0-3),(1-255),(0-450),(0-450),(2-255),(1-255),(0-255)
OK