1# Copyright (c) 2021 Huawei Device Co., Ltd.
2# Licensed under the Apache License, Version 2.0 (the "License");
3# you may not use this file except in compliance with the License.
4# You may obtain a copy of the License at
5#
6#     http://www.apache.org/licenses/LICENSE-2.0
7#
8# Unless required by applicable law or agreed to in writing, software
9# distributed under the License is distributed on an "AS IS" BASIS,
10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11# See the License for the specific language governing permissions and
12# limitations under the License.
13
14mainmenu "Dsoftbus Configuration"
15
16comment "Select discovery protocol"
17config dsoftbus_feature_disc_coap
18    bool "Enable discovery with coap"
19    default y
20    help
21      Answer Y to enable discovery with coap
22
23config dsoftbus_feature_disc_ble
24    bool "Enable discovery with ble"
25    default n
26    help
27      Answer Y to enable discovery with ble
28
29comment "Select connection protocol"
30config dsoftbus_feature_conn_tcp
31    bool "Enable connection with tcp"
32    default y
33    help
34      Answer Y to enable connection with tcp
35
36config dsoftbus_feature_conn_br
37    bool "Enable connection with br"
38    default n
39    help
40      Answer Y to enable connection with br
41
42config dsoftbus_feature_conn_ble
43    bool "Enable connection with ble"
44    default n
45    help
46      Answer Y to enable connection with ble
47
48comment "Select transmission feature"
49config dsoftbus_feature_trans_udp
50    bool "Enable transmission with udp"
51    default n
52    help
53      Answer Y to enable transmission with udp
54
55config dsoftbus_feature_trans_udp_file
56    bool "Enable file transmission"
57    default n
58    depends on enable_trans_udp
59    help
60      Answer Y to enable file transmission with udp
61
62config dsoftbus_feature_trans_udp_stream
63    bool "Enable stream transmission"
64    default n
65    depends on enable_trans_udp
66    help
67      Answer Y to enable stream transmission with udp
68
69comment "Other configuration"
70config dsoftbus_feature_auth_account
71    bool "Enable auth account"
72    default n
73    help
74      Answer Y to enable authenticate account
75
76config enable_auto_networking
77    bool "Enable automatic networking"
78    default y
79    help
80      Answer Y to enable automatic networking
81