1menuconfig RT_USING_SAL
2    bool "SAL: socket abstraction layer"
3    select RT_USING_NETDEV
4    default n
5
6if RT_USING_SAL
7
8    config SAL_INTERNET_CHECK
9        bool "Enable the ability that check internet status"
10        select RT_USING_SYSTEM_WORKQUEUE
11        default y
12        help
13            The ability that check internet status is provided by RT-Thread.
14
15    menu "Docking with protocol stacks"
16        config SAL_USING_LWIP
17            bool "Docking with lwIP stack"
18            default n
19
20        config SAL_USING_AT
21            bool "Docking with AT commands stack"
22            default n
23
24        config SAL_USING_TLS
25            bool "Docking with MbedTLS protocol"
26            default n
27    endmenu
28
29    config SAL_USING_POSIX
30        bool
31        depends on DFS_USING_POSIX
32        default y
33        help
34            Enable BSD socket operated by file system API
35            Let BSD socket operated by file system API, such as read/write and involveed in select/poll POSIX APIs.
36
37    config SAL_SOCKETS_NUM
38        int "the maximum number of sockets"
39        depends on !SAL_USING_POSIX
40        default 16
41
42endif
43