forked from xuos/xiuos
31 lines
772 B
Plaintext
31 lines
772 B
Plaintext
config ADAPTER_SX1278
|
|
bool "Using lora adapter device SX1278"
|
|
default y
|
|
|
|
choice
|
|
prompt "Lora device adapter select net role type "
|
|
default AS_LORA_CLIENT_ROLE
|
|
|
|
config AS_LORA_GATEWAY_ROLE
|
|
bool "config as a gateway"
|
|
|
|
config AS_LORA_CLIENT_ROLE
|
|
bool "config as a client"
|
|
endchoice
|
|
|
|
if AS_LORA_GATEWAY_ROLE
|
|
config ADAPTER_LORA_NET_ROLE_ID
|
|
hex "if Lora device config as a gateway, set gateway net id"
|
|
default "0x10"
|
|
endif
|
|
|
|
if AS_LORA_CLIENT_ROLE
|
|
config ADAPTER_LORA_NET_ROLE_ID
|
|
hex "if Lora device config as a client, set client net id"
|
|
default "0x01"
|
|
endif
|
|
|
|
if ADAPTER_SX1278
|
|
source "$APP_DIR/Framework/connection/lora/sx1278/Kconfig"
|
|
endif
|