-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathKconfig
65 lines (48 loc) · 1.38 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
menu "WiFi Logger configuration"
choice TRANSPORT_PROTOCOL
prompt "Network protocol (TCP/UDP/WEBSOCKET)"
default TRANSPORT_PROTOCOL_UDP
help
"Network protocol to be used to relay log messages, either use UDP or TCP."
config TRANSPORT_PROTOCOL_UDP
bool "UDP"
config TRANSPORT_PROTOCOL_TCP
bool "TCP"
config TRANSPORT_PROTOCOL_WEBSOCKET
bool "WEBSOCKET"
endchoice
config ROUTE_ESP_IDF_API_LOGS_TO_WIFI
bool "Route logs generated by ESP_LOGX to the wifi logger"
default false
help
"Sets if logs generated by ESP-IDF logging API should be sent to remote logger"
if TRANSPORT_PROTOCOL_UDP || TRANSPORT_PROTOCOL_TCP
config SERVER_IP_ADDRESS
string "Server IP Address"
default "192.168.0.10"
help
"IP Address of server, where logs are to be sent"
config SERVER_PORT
int "Port"
default 9999
help
"Port of server, where logs are to be sent"
endif
if TRANSPORT_PROTOCOL_WEBSOCKET
config SERVER_WEBSOCKET_URI
string "Websocket Server URI"
default "ws://192.168.0.1:1234"
help
"URI of Websocket server, where logs are to be sent"
endif
config MESSAGE_QUEUE_SIZE
int "Queue Size"
default 1000
help
"Sets message queue size"
config BUFFER_SIZE
int "logger buffer size"
default 512
help
"Logger buffer size"
endmenu