forked from xuos/xiuos
				
			
		
			
				
	
	
		
			32 lines
		
	
	
		
			910 B
		
	
	
	
		
			C
		
	
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			910 B
		
	
	
	
		
			C
		
	
	
	
| /*
 | |
| * Copyright (c) 2020 AIIT XUOS Lab
 | |
| * XiUOS is licensed under Mulan PSL v2.
 | |
| * You can use this software according to the terms and conditions of the Mulan PSL v2.
 | |
| * You may obtain a copy of Mulan PSL v2 at:
 | |
| *        http://license.coscl.org.cn/MulanPSL2
 | |
| * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
 | |
| * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
 | |
| * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 | |
| * See the Mulan PSL v2 for more details.
 | |
| */
 | |
| 
 | |
| /**
 | |
|  * @file adapter_nbiot.h
 | |
|  * @brief Implement the connection nbiot adapter function
 | |
|  * @version 1.1
 | |
|  * @author AIIT XUOS Lab
 | |
|  * @date 2021.06.25
 | |
|  */
 | |
| 
 | |
| #ifndef ADAPTER_NBIOT_H
 | |
| #define ADAPTER_NBIOT_H
 | |
| 
 | |
| #define CONFIG_NBIOT_RESET            (0)
 | |
| #define CONFIG_NBIOT_CREATE_SOCKET    (1)
 | |
| #define CONFIG_NBIOT_DELETE_SOCKET    (2)
 | |
| 
 | |
| #define SOCKET_TYPE_DGRAM   (0)
 | |
| #define SOCKET_TYPE_STREAM  (1)
 | |
| 
 | |
| 
 | |
| #endif |