用AVR控制GPRM模块。用于远程通讯等等

源代码在线查看: 实验测试指令.txt

软件大小: 62 K
上传用户: ll122644144
关键词: GPRM AVR 控制 模块
下载地址: 免注册下载 普通下载 VIP

相关代码

				AT
				
				OK
				AT+CMGF=0
				
				
				OK
				AT+CMGL=0
				
				OK
				
				+CMTI: "SM",1
				AT+CMGL=0
				
				+CMGL: 1,0,,29
				0891683108301105F0040D91683139103903F50000706050900295230A31D98C56B3DD703918
				
				OK
				
				+CMGL: 2,0,,40
				0891683108301105F0040D91683139103903F5000870605090220523146765523067655230676552308FC753BB8FC753BB
				
				OK
				
				
				
				AT+CMGL=4\CR\CR\LF+CMGL: 1,2,,29\CR\LF0891683108301105F0040D91683139103903F50000706050900295230A31D98C56B3DD703918\CR\LF\CR\LFOK\CR\LF
				AT+CMGL=1\CR\CR\LF+CMGL: 1,1,,32\CR\LF00000D91685138126294F30000708010514005230D31D98C56B3DD70B970582C06\CR\LF\CR\LFOK\CR\LF
				
				41 54 2B 43 4D 47 4C 3D 34 0D 0D 0A 2B 43 4D 47 4C 3A 20 31 2C 31 2C 2C 33 32 0D 0A 30 30 30 30 30 44 39 31 36 38 35 31 33 38 31 32 36 32 39 34 46 33 30 30 30 30 37 30 38 30 31 30 35 31 34 30 30 35 32 33 30 44 33 31 44 39 38 43 35 36 42 33 44 44 37 30
				
				AT+CMGS=20\CR
				(32 ms)
				AT+CMGS=20\CR\CR\LF>
				 
				AT+CMGS=20\CR
				(47 ms)
				AT+CMGS=20\CR\CR\LF> \CR\LFERROR\CR\LF 
				
				AT+CMGS=17\CR
				0891683108301105F011000D91685138126294F3000000022500\x1A
				
				AT+CMGS=17\CR
				(31 ms)
				AT+CMGS=17\CR\CR\LF> 
				0891683108301105F011000D91685138126294F3000000022500\x1A
				0891683108301105F011000D91685138126294F30000000A31D98C56B3DD703918
				(0 ms)
				0891683108301105F011000D91685138126294F3000000022500\x1A\CR\LF+CMGS: 24\CR\LF\CR\LFOK\CR\LF\CR\LF+CMTI: "SM",2\CR\LF
				
				AT+CMGS=21\CR0891683108301105F011000D91685138126294F300000006C8329BFD0E01\x1A
				
				0D0A3E20
				读取电话号码
				AT+CPBR=1\CR
				(47 ms)
				\CR\LF+CPBR: 1,"13503332739",129,"8059D0592BFFFF"\CR\LF\CR\LFOK\CR\LF
				AT+CPBW=1,"1234567890",129,"wang"\CR
				
				
				+CPBR: 1,"9600",129,"123"\CR\LF\CR\LFOK\CR\LF
				+CPBR: 2,"8613513316700",129,"wanghaili"\CR\LF\CR\LFOK\CR\LF			

相关资源