This repository has been archived by the owner on Oct 27, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 151
/
Kconfig
143 lines (124 loc) · 4.58 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
menu "iotkit embedded"
menu "Aliyun linkkit device version"
config LINKKIT_FIRMWARE_VERSION
string "Device version"
default "0.0.1"
help
aliyun linkkit device version
endmenu
menu "Aliyun linkkit awss config"
config AWSS_ENCRYPT_TYPE
int "Get the security level of the `smartconfig` service"
range 1 5
default 3
help
Get the security level of the `smartconfig` service
config AWSS_CONN_ENCRYPT_TYPE
int "Get Security level for wifi configuration with connection.Used for AP solution of router and App"
range 3 5
default 4
help
Get Security level for wifi configuration with connection.Used for AP solution of router and App
config AWSS_TIMEOUT_INTERVAL_MS
int "Get the timeout period of the distribution service (`AWSS`), in milliseconds"
range 0 1800000
default 180000
help
Get the timeout period of the distribution service (`AWSS`), in milliseconds
config AWSS_CHANNELSCAN_INTERVAL_MS
int "Get the length of time scanned on each channel (`channel`), in milliseconds"
range 0 1000
default 200
help
Get the length of time scanned on each channel (`channel`), in milliseconds
endmenu
menu "Aliyun linkkit network config"
config SUPPORT_TCP
bool "Enable tcp connection"
default n
help
Select this option to enable tcp connection
config TCP_ESTABLISH_TIMEOUT_MS
int "Device tcp connection timeout wait time milliseconds"
range 0 100000
default 10000
help
Device tcp connection timeout wait time milliseconds
config TLS_ESTABLISH_TIMEOUT_MS
int "Device tls connection timeout wait time milliseconds"
range 0 100000
default 10000
help
Device tls connection timeout wait time milliseconds
endmenu
menu "Aliyun linkkit device model config"
config DEVICE_MODEL_GATEWAY
bool "Enable device model gateway"
default n
help
Select this option to enable device model gateway
endmenu
menu "Aliyun linkkit local control"
config DEVICE_ALCS_ENABLE
bool "Enable device local control"
default n
help
Select this option to enable device local control
endmenu
menu "Aliyun linkkit security OTA"
config SUPPORT_SECURITY_OTA
bool "Enable Security OTA"
default n
help
Select this option to enable security ota
endmenu
menu "Aliyun linkkit dynamic register"
config DYNAMIC_REGISTER
bool "Enable dynamic register"
default y
help
Select this option to enable dynamic register
endmenu
menu "Aliyun linkkit mqtt config"
config MQTT_DIRECT
bool "MQTT DIRECT"
default y
help
Directly connect MQTT server without perform HTTP authenticate to another HTTP server ahead
Switching to "y" leads to connect MQTT server directly and MQTT_DIRECT included into CFLAGS
Switching to "n" leads to legacy authenticate mode: connnect HTTP server first, then connect MQTT server afterwards
endmenu
config HAL_SEM_MAX_COUNT
int "The maximum count value that can be reached of the semaphore"
default 255
range 0 255
help
The recommended value of maximum count of the semaphore is 255
config HAL_SEM_INIT_COUNT
int "The count value assigned to the semaphore when it is created"
default 0
range 0 10
help
The recommended value of count of the semaphore is 0
config HAL_TLS_HANDSHAKE_TIMEOUT
int "TLS Handsake Timeout"
default 180
range 0 65535
help
Default TLS handshake timeout to host in seconds
config HAL_USE_CUSTOMER_AP_SSID
bool "Enable use customer softap SSID"
default n
help
Select this option to enable use customer softap SSID
config AP_SSID_KEY
string "AP SSID KV Key value"
default "apssid"
help
The KV key value which store AP SSID
config USE_SOFTAP_CONFIG
bool "Use softap config in smart light example"
default n
help
smart light example will use softap config when enable this option. Otherwise use smartconfig.
endmenu