-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathKconfig
86 lines (64 loc) · 1.97 KB
/
Kconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
#
# Copyright (c) 2020 Nordic Semiconductor ASA
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
#
menu "Zephyr Kernel"
source "Kconfig.zephyr"
endmenu
# Configure OT CLI main
module = OT_COMMAND_LINE_INTERFACE
module-str = ot_cli
source "${ZEPHYR_BASE}/subsys/logging/Kconfig.template.log_config"
config CLI_SAMPLE_LOW_POWER
bool "Enable low power mode for the CLI sample"
config WAIT_FOR_CLI_CONNECTION
bool "Wait for a connection on USB/serial before booting"
default y
# Configure MQTT-SN Client
module = MQTT_SNCLIENT
module-str = mqtt-snclient
source "${ZEPHYR_BASE}/subsys/logging/Kconfig.template.log_config"
config MQTT_SNCLIENT_TOPIC_PREFIX
string "Topic Prefix for subscriptions/publications"
help
Topic Prefix for subscriptions/publications
default "sensors"
config MQTT_SNCLIENT_PUBLISH_INTERVAL_S
int "Publication interval in ms"
default 10000
config MQTT_SNCLIENT_PORT
int "MQTT-SN client UDP port"
default 10000
config MQTT_SNCLIENT_PREFIX
string "Prefix for client ID when connecting"
default "tc-"
config MQTT_SNCLIENT_GATEWAY_PORT
int "Target gateway multicast port"
default 10000
config MQTT_SNCLIENT_GATEWAY_ADDRESS
string "Target gateway multicast address"
default "ff03::1"
config MQTT_SNCLIENT_HOPS
int "Max number of hops"
default 8
# Configure Bluetooth LNS scanner
module = LNS_CLIENT
module-str = lns-client
source "${ZEPHYR_BASE}/subsys/logging/Kconfig.template.log_config"
# Configure Bluetooth Application code
module = APP_BLUETOOTH
module-str = app-bluetooth
source "${ZEPHYR_BASE}/subsys/logging/Kconfig.template.log_config"
# Deal with some OpenThread configuration problems
config OPENTHREAD_WORKING_PANID
hex "Default PAN ID (config fix)"
default 0x1234
# Configure GPS
module = GPS_PARSER
module-str = gps-parser
source "${ZEPHYR_BASE}/subsys/logging/Kconfig.template.log_config"
# Configure LoRaWAN Client
module = LORAWAN_CLIENT
module-str = gps-parser
source "${ZEPHYR_BASE}/subsys/logging/Kconfig.template.log_config"