xref: /nrf52832-nimble/packages/NimBLE-latest/nimble/transport/socket/syscfg.yml (revision 042d53a763ad75cb1465103098bb88c245d95138)
1# Licensed to the Apache Software Foundation (ASF) under one
2# or more contributor license agreements.  See the NOTICE file
3# distributed with this work for additional information
4# regarding copyright ownership.  The ASF licenses this file
5# to you under the Apache License, Version 2.0 (the
6# "License"); you may not use this file except in compliance
7# with the License.  You may obtain a copy of the License at
8#
9#  http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing,
12# software distributed under the License is distributed on an
13# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14# KIND, either express or implied.  See the License for the
15# specific language governing permissions and limitations
16# under the License.
17#
18
19syscfg.defs:
20    BLE_HCI_EVT_BUF_SIZE:
21        description: 'The size of the allocated event buffers'
22        value: 70
23    BLE_HCI_EVT_HI_BUF_COUNT:
24        description: 'The number of high priority event buffers'
25        value: 8
26    BLE_HCI_EVT_LO_BUF_COUNT:
27        description: 'The number of low priority event buffers'
28        value: 8
29    BLE_ACL_BUF_COUNT:
30        description: 'The number of ACL data buffers'
31        value: 24
32    BLE_ACL_BUF_SIZE:
33        description: >
34            This is the maximum size of the data portion of HCI ACL data
35            packets. It does not include the HCI data header (of 4 bytes).
36        value: 255
37
38    BLE_HCI_ACL_OUT_COUNT:
39        description: >
40            This count is used in creating a pool of elements used by the
41            code to enqueue various elements. In the case of the controller
42            only HCI, this number should be equal to the number of mbufs in
43            the msys pool. For host only, it is really dependent on the
44            number of ACL buffers that the controller tells the host it
45            has.
46        value: 12
47
48    BLE_SOCK_USE_TCP:
49        description: 'Use TCP socket, connects to BLE_SOCK_TCP_PORT'
50        value: 1
51
52    BLE_SOCK_TCP_PORT:
53        description: 'ipv4 tcp port to connect to'
54        value: 14433
55
56    BLE_SOCK_USE_LINUX_BLUE:
57        description: 'Use Linux bluetooth raw socket'
58        value: 0
59
60    BLE_SOCK_LINUX_DEV:
61        description: 'linux kernel device'
62        value: 0
63
64    BLE_SOCK_TASK_PRIO:
65        description: 'Priority of the HCI socket task.'
66        type: task_priority
67        value: 9
68
69    BLE_SOCK_STACK_SIZE:
70        description: 'Size of the HCI socket stack (units=words).'
71        value: 80
72
73    BLE_SOCK_CLI_SYSINIT_STAGE:
74        description: >
75            Sysinit stage for the socket BLE transport.
76        value: 500
77
78syscfg.vals.BLE_EXT_ADV:
79    BLE_HCI_EVT_BUF_SIZE: 257
80