|  | @@ -0,0 +1,31 @@
 | 
	
		
			
				|  |  | +/*
 | 
	
		
			
				|  |  | + * @Description: at数据格式
 | 
	
		
			
				|  |  | + * @Autor: kindring
 | 
	
		
			
				|  |  | + * @Date: 2022-03-09 17:32:56
 | 
	
		
			
				|  |  | + * @LastEditors: kindring
 | 
	
		
			
				|  |  | + * @LastEditTime: 2022-03-10 11:44:59
 | 
	
		
			
				|  |  | + * @LastDescript: 
 | 
	
		
			
				|  |  | + */
 | 
	
		
			
				|  |  | +let at = [{
 | 
	
		
			
				|  |  | +    send:
 | 
	
		
			
				|  |  | +}]
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +task = [{
 | 
	
		
			
				|  |  | +            delay: 1000, // 发送前等待时间
 | 
	
		
			
				|  |  | +            cmdDelay: 100, // 发送数据间隔时间
 | 
	
		
			
				|  |  | +            action: 'send', // 发送信息
 | 
	
		
			
				|  |  | +            cmds: ['at+factory=1,1', 'at+factory=2,2'],
 | 
	
		
			
				|  |  | +            results: [{
 | 
	
		
			
				|  |  | +                reg:
 | 
	
		
			
				|  |  | +            }], //需要的结果
 | 
	
		
			
				|  |  | +        },
 | 
	
		
			
				|  |  | +        {
 | 
	
		
			
				|  |  | +            action: 'wait', // 发送消息
 | 
	
		
			
				|  |  | +            time: 1000, // 等待毫秒数
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +    ]
 | 
	
		
			
				|  |  | +    // 发送at1
 | 
	
		
			
				|  |  | +    // 发送at2
 | 
	
		
			
				|  |  | +    // 发送at3
 | 
	
		
			
				|  |  | +    // 等待结果1
 | 
	
		
			
				|  |  | +    // 等待结果2
 |