49 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
			
		
		
	
	
			49 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
config ADAPTER_ZIGBEE_E18
 | 
						|
        string "E18 adapter name"
 | 
						|
        default "e18"
 | 
						|
        
 | 
						|
choice 
 | 
						|
        prompt "E18 adapter select net role type "
 | 
						|
        default AS_END_DEVICE_ROLE
 | 
						|
 | 
						|
        config AS_COORDINATOR_ROLE
 | 
						|
                bool "config as a coordinator"
 | 
						|
 | 
						|
        config AS_ROUTER_ROLE
 | 
						|
                bool "config as a router"
 | 
						|
        
 | 
						|
        config AS_END_DEVICE_ROLE
 | 
						|
                bool "config as an end device"
 | 
						|
endchoice
 | 
						|
 | 
						|
 | 
						|
if ADD_XIUOS_FETURES
 | 
						|
 | 
						|
        config ADAPTER_E18_DRIVER_EXTUART
 | 
						|
                bool "Using extra uart to support zigbee"
 | 
						|
                default n
 | 
						|
 | 
						|
        config ADAPTER_E18_DRIVER
 | 
						|
                string "E18 device uart driver path"
 | 
						|
                default "/dev/uart2_dev2"
 | 
						|
                depends on !ADAPTER_E18_DRIVER_EXTUART
 | 
						|
 | 
						|
        if ADAPTER_E18_DRIVER_EXTUART                    
 | 
						|
                config ADAPTER_E18_DRIVER
 | 
						|
                        string "E18 device extra uart driver path"
 | 
						|
                        default "/dev/extuart_dev0"
 | 
						|
 | 
						|
                config ADAPTER_E18_DRIVER_EXT_PORT
 | 
						|
                        int "if E18 device using extuart, choose port"
 | 
						|
                        default "0"
 | 
						|
        endif
 | 
						|
endif
 | 
						|
 | 
						|
if ADD_NUTTX_FETURES
 | 
						|
 | 
						|
endif
 | 
						|
 | 
						|
if ADD_RTTHREAD_FETURES
 | 
						|
 | 
						|
endif
 |