InfiniTime.git

ref: 0.12.0

src/libs/mynewt-nimble/apps/bttester/syscfg.yml


  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
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements.  See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership.  The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License.  You may obtain a copy of the License at
#
#  http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied.  See the License for the
# specific language governing permissions and limitations
# under the License.
#

# Package: apps/blemesh

syscfg.defs:
    BTTESTER_PIPE_UART:
        description: 'Set communication pipe to UART'
        value: 1

    BTTESTER_PIPE_RTT:
        description: 'Set communication pipe to RTT'
        value: 0

    BTTESTER_RTT_BUFFER_NAME:
        description: Bttester rtt pipe buffer name
        value: '"bttester"'

    BTTESTER_RTT_BUFFER_SIZE_UP:
        description: Bttester upstream buffer size
        value: MYNEWT_VAL(BTTESTER_BTP_DATA_SIZE_MAX)

    BTTESTER_RTT_BUFFER_SIZE_DOWN:
        description: Bttester downstream buffer size
        value: MYNEWT_VAL(BTTESTER_BTP_DATA_SIZE_MAX)

    BTTESTER_PRIVACY_MODE:
        description: Enable privacy mode (RPA or NRPA)
        value: 0

    BTTESTER_USE_NRPA:
        description: Use Non Resolvable Private Address
        value: 0

    BTTESTER_LTD_ADV_TIMEOUT:
        description: Limited advertising timeout
        value: 30000

    BTTESTER_CONN_RETRY:
        description: Retry connections when connection failed to be established
        value: 0

    BTTESTER_BTP_DATA_SIZE_MAX:
        description: Maximum BTP payload
        value: 2048

    BTTESTER_CONN_PARAM_UPDATE:
        description: Trigger conn param update after connection establish
        value: 0

    BTTESTER_DEBUG:
        description: Enable debug logging
        value: 0

    BTTESTER_BTP_LOG:
        description: Enable logging BTP traffic
        value: 0

    BTTESTER_L2CAP_COC_MTU:
        description: Maximum MTU size the application can handle
        value: 230

syscfg.vals:
    OS_MAIN_STACK_SIZE: 512
    SHELL_TASK: 0
    SHELL_NEWTMGR: 0
    LOG_LEVEL: 12
    MSYS_1_BLOCK_COUNT: 80

    BLE_MONITOR_RTT: 1
    CONSOLE_RTT: 0
    CONSOLE_UART: 0
    RTT_NUM_BUFFERS_UP: 0
    RTT_NUM_BUFFERS_DOWN: 0

    BLE_L2CAP_COC_MAX_NUM: 2
    BLE_L2CAP_SIG_MAX_PROCS: 2
    BLE_L2CAP_ENHANCED_COC: 1
    BLE_VERSION: 52
    # Some testcases require MPS < MTU
    BLE_L2CAP_COC_MPS: 100
    BLE_RPA_TIMEOUT: 30
    BLE_SM_BONDING: 1
    BLE_SM_MITM: 0
    BLE_SM_SC: 1
    BLE_SM_OUR_KEY_DIST: 7
    BLE_SM_THEIR_KEY_DIST: 7
    BLE_SVC_GAP_CENTRAL_ADDRESS_RESOLUTION: 1
    BLE_SVC_GAP_PPCP_MIN_CONN_INTERVAL: 9
    BLE_SVC_GAP_PPCP_MAX_CONN_INTERVAL: 30
    BLE_SVC_GAP_PPCP_SUPERVISION_TMO: 2000
    BLE_SVC_GAP_APPEARANCE_WRITE_PERM: 0
    BLE_SVC_GAP_DEVICE_NAME_WRITE_PERM: 0
    BLE_STORE_CONFIG_PERSIST: 0

    BLE_MESH: 1
    BLE_MESH_SHELL: 0
    BLE_MESH_PROV: 1
    BLE_MESH_RELAY: 1
    BLE_MESH_PB_ADV: 1
    BLE_MESH_PB_GATT: 1
    BLE_MESH_LOW_POWER: 1
    BLE_MESH_LPN_AUTO: 0
    BLE_MESH_GATT_PROXY: 1
    BLE_MESH_LABEL_COUNT: 2
    BLE_MESH_SUBNET_COUNT: 2
    BLE_MESH_MODEL_GROUP_COUNT: 2
    BLE_MESH_APP_KEY_COUNT: 4
    BLE_MESH_IV_UPDATE_TEST: 1
    BLE_MESH_TESTING: 1
    BLE_MESH_FRIEND: 1
    BLE_MESH_CFG_CLI: 1
    BLE_MESH_RX_SDU_MAX: 110
    BLE_MESH_HEALTH_CLI: 1
    BLE_MESH_FRIEND_QUEUE_SIZE: 32
    BLE_MESH_RX_SEG_MAX: 13
    BLE_MESH_TX_SEG_MSG_COUNT: 2
    BLE_MAX_CONNECTIONS: 8

    BLE_MESH_ADV_BUF_COUNT: 20
    BLE_MESH_TX_SEG_MAX: 6