1# Networking config
2CONFIG_NETWORKING=y
3CONFIG_NET_IPV4=y
4CONFIG_NET_IPV6=y
5CONFIG_NET_TCP=y
6CONFIG_NET_SHELL=y
7CONFIG_NET_STATISTICS=y
8
9# Sockets
10CONFIG_NET_SOCKETS=y
11CONFIG_ZVFS_POLL_MAX=4
12
13# Network driver config
14CONFIG_TEST_RANDOM_GENERATOR=y
15
16# Network address config
17CONFIG_NET_CONFIG_SETTINGS=y
18CONFIG_NET_CONFIG_NEED_IPV4=y
19CONFIG_NET_CONFIG_NEED_IPV6=y
20CONFIG_NET_CONFIG_MY_IPV4_ADDR="192.0.2.1"
21CONFIG_NET_CONFIG_MY_IPV4_GW="192.0.2.2"
22# Address of HTTP IPv4 server
23CONFIG_NET_CONFIG_PEER_IPV4_ADDR="192.0.2.2"
24CONFIG_NET_CONFIG_MY_IPV6_ADDR="2001:db8::1"
25# Address of HTTP IPv6 server
26CONFIG_NET_CONFIG_PEER_IPV6_ADDR="2001:db8::2"
27
28# HTTP & Websocket
29CONFIG_HTTP_CLIENT=y
30CONFIG_WEBSOCKET_CLIENT=y
31
32# Network debug config
33CONFIG_LOG=y
34CONFIG_LOG_MODE_IMMEDIATE=y
35CONFIG_NET_LOG=y
36#CONFIG_NET_SOCKETS_LOG_LEVEL_DBG=y
37#CONFIG_NET_HTTP_LOG_LEVEL_DBG=y
38#CONFIG_NET_WEBSOCKET_LOG_LEVEL_DBG=y
39#CONFIG_NET_CONTEXT_LOG_LEVEL_DBG=y
40#CONFIG_NET_TCP_LOG_LEVEL_DBG=y
41
42CONFIG_MAIN_STACK_SIZE=2048
43CONFIG_HEAP_MEM_POOL_SIZE=1500
44CONFIG_POSIX_API=y
45