-
Notifications
You must be signed in to change notification settings - Fork 4
/
Kconfig
148 lines (124 loc) · 4.63 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
menu "Bytebeam"
menu "Device Shadow"
config DEVICE_SHADOW_STATUS
string "Status"
default "Device is Online"
help
Provide the status
config DEVICE_SHADOW_SOFTWARE_TYPE
string "Software Type"
default "bytebeam-app"
help
Provide the software type
config DEVICE_SHADOW_SOFTWARE_VERSION
string "Software Version"
default "v0.1.0"
help
Provide the software version
config DEVICE_SHADOW_HARDWARE_TYPE
string "Hardware Type"
default "Bytebeam ESP32"
help
Provide the hardware type
config DEVICE_SHADOW_HARDWARE_VERSION
string "Hardware Version"
default "rev1"
help
Provide the hardware version
config DEVICE_SHADOW_CUSTOM_JSON_STR_LEN
int "Custom json string len (In Bytes)"
default 512
help
Provide the length of custom device shadow json str
config DEVICE_SHADOW_PUSH_INTERVAL
int "Push Interval (In Seconds)"
default 40
help
Provide the heartbeat push interval
endmenu
menu "Device Provisioning"
choice DEVICE_PROVISIONING_FILESYSTEM
prompt "Provisioning file system"
default DEVICE_PROVISIONING_FILESYSTEM_IS_SPIFFS
help
Select the file system for the device provisioning
config DEVICE_PROVISIONING_FILESYSTEM_IS_SPIFFS
bool "SPIFFS"
help
Use spiffs file system for device provisioning
config DEVICE_PROVISIONING_FILESYSTEM_IS_FATFS
bool "FATFS"
help
Use fatfs file system for device provisioning
config DEVICE_PROVISIONING_FILESYSTEM_IS_LITTLEFS
bool "LITTLEFS"
help
Use littlefs file system for device provisioning
endchoice
config DEVICE_PROVISIONING_FILENAME
string "Provisioning file name"
default "device_config.json"
help
Provide the file name for the device provisioning
endmenu
menu "Bytebeam Logging"
config BYTEBEAM_CLOUD_LOGGING_IS_ENABLED
bool "Enable cloud logging"
help
Enable cloud logging
config BYTEBEAM_CLOUD_LOGGING_STREAM
string "Cloud logging log stream"
depends on BYTEBEAM_CLOUD_LOGGING_IS_ENABLED
default "logs"
help
Provide the cloud logging stream name
choice BYTEBEAM_LOGGING_LEVEL
prompt "Logging level"
default BYTEBEAM_LOGGING_LEVEL_IS_INFO
help
Select the bytebeam logging level
config BYTEBEAM_LOGGING_LEVEL_IS_NONE
bool "No Output"
help
None log level
config BYTEBEAM_LOGGING_LEVEL_IS_ERROR
bool "Error"
help
Error log level
config BYTEBEAM_LOGGING_LEVEL_IS_WARN
bool "Warning"
help
Warning log level
config BYTEBEAM_LOGGING_LEVEL_IS_INFO
bool "Info"
help
Info log level
config BYTEBEAM_LOGGING_LEVEL_IS_DEBUG
bool "Debug"
help
Debug log level
config BYTEBEAM_LOGGING_LEVEL_IS_VERBOSE
bool "Verbose"
help
Verbose log level
endchoice
config BYTEBEAM_LOGGING_LEVEL
int
default 0 if BYTEBEAM_LOGGING_LEVEL_IS_NONE
default 1 if BYTEBEAM_LOGGING_LEVEL_IS_ERROR
default 2 if BYTEBEAM_LOGGING_LEVEL_IS_WARN
default 3 if BYTEBEAM_LOGGING_LEVEL_IS_INFO
default 4 if BYTEBEAM_LOGGING_LEVEL_IS_DEBUG
default 5 if BYTEBEAM_LOGGING_LEVEL_IS_VERBOSE
endmenu
config NUM_MESSAGES_IN_MQTT_BATCH
int "MQTT batch element numbers"
default 125
help
Provide the number of elements in mqtt batch
config MQTT_BATCH_ELEMENT_SIZE
int "MQTT batch element size (In Bytes)"
default 250
help
Provide the length of element in mqtt batch
endmenu