Move syscfg from pkg.yml to syscfg.yml.

X-Original-Commit: 4b708c89f485ac6df0795d8941f20cc47e6e4a3d
This commit is contained in:
Christopher Collins
2016-10-02 11:38:51 -07:00
parent fee4a4fa8d
commit 2e5d3e266b
14 changed files with 447 additions and 440 deletions
-166
View File
@@ -36,169 +36,3 @@ pkg.deps:
pkg.init_function: ble_ll_init
pkg.init_stage: 2
pkg.syscfg_defs:
BLE_DEVICE:
description: 'TBD'
value: 1
BLE_LL_PRIO:
description: 'TBD'
type: 'task_priority'
value: 0
# Sleep clock accuracy (sca). This is the amount of drift in the system
# during when the device is sleeping (in parts per million).
#
# NOTE: 'the' master sca is an enumerated value based on the sca. Rather
# than have a piece of code calculate this value, the developer must set
# this value based on the value of the SCA using the following table:
#
# SCA between 251 and 500 ppm (inclusive); master sca = 0
# SCA between 151 and 250 ppm (inclusive); master sca = 1
# SCA between 101 and 150 ppm (inclusive); master sca = 2
# SCA between 76 and 100 ppm (inclusive); master sca = 3
# SCA between 51 and 75 ppm (inclusive); master sca = 4
# SCA between 31 and 50 ppm (inclusive); master sca = 5
# SCA between 21 and 30 ppm (inclusive); master sca = 6
# SCA between 0 and 20 ppm (inclusive); master sca = 7
#
# For example:
# if your clock drift is 101 ppm, your master should be set to 2.
# if your clock drift is 20, your master sca should be set to 7.
#
# The values provided below are merely meant to be an example and should
# be replaced by values appropriate for your platform.
BLE_LL_OUR_SCA:
description: 'TBD'
value: '60' # in ppm
BLE_LL_MASTER_SCA:
description: 'TBD'
value: '4'
BLE_LL_TX_PWR_DBM:
description: 'Transmit power level.'
value: '0'
BLE_NUM_COMP_PKT_RATE:
description: >
Determines the maximum rate at which the controller will send the
number of completed packets event to the host. Rate is in os time
ticks.
value: '((2000 * OS_TICKS_PER_SEC) / 1000)'
BLE_LL_MFRG_ID:
description: >
Manufacturer ID. Should be set to unique ID per manufacturer.
value: '0xFFFF'
# Configuration items for the number of duplicate advertisers and the
# number of advertisers from which we have heard a scan response.
BLE_LL_NUM_SCAN_DUP_ADVS:
description: 'TBD'
value: '8'
BLE_LL_NUM_SCAN_RSP_ADVS:
description: 'TBD'
value: '8'
BLE_LL_WHITELIST_SIZE:
description: 'Size of the LL whitelist.'
value: '8'
BLE_LL_RESOLV_LIST_SIZE:
description: 'Size of the resolving list.'
value: '4'
# Data length management definitions for connections. These define the
# maximum size of the PDU's that will be sent and/or received in a
# connection.
BLE_LL_MAX_PKT_SIZE:
description: 'TBD'
value: '251'
BLE_LL_SUPP_MAX_RX_BYTES:
description: 'TBD'
value: 'MYNEWT_VAL_BLE_LL_MAX_PKT_SIZE'
BLE_LL_SUPP_MAX_TX_BYTES:
description: 'TBD'
value: 'MYNEWT_VAL_BLE_LL_MAX_PKT_SIZE'
BLE_LL_CONN_INIT_MAX_TX_BYTES:
description: 'TBD'
value: '27'
# The number of slots that will be allocated to each connection
BLE_LL_CONN_INIT_SLOTS:
description: 'TBD'
value: '2'
# The number of random bytes to store
BLE_LL_RNG_BUFSIZE:
description: 'TBD'
value: '32'
# Configuration for LL supported features.
#
# There are a total 8 features that the LL can support. These can be found
# in v4.2, Vol 6 Part B Section 4.6.
#
# These feature definitions are used to inform a host or other controller
# about the LL features supported by the controller.
#
# NOTE: 'the' controller always supports extended reject indicate and thus
# is not listed here.
BLE_LL_CFG_FEAT_LE_ENCRYPTION:
description: >
This option enables/disables encryption support in the controller.
This option saves both both code and RAM.
value: '1'
BLE_LL_CFG_FEAT_CONN_PARAM_REQ:
description: >
This option enables/disables the connection parameter request
procedure. This is implemented in the controller but is disabled
by default.
value: '0'
BLE_LL_CFG_FEAT_SLAVE_INIT_FEAT_XCHG:
description: >
This option allows a slave to initiate the feature exchange
procedure. This feature is implemented but currently has no impact
on code or ram size
value: '1'
BLE_LL_CFG_FEAT_LE_PING:
description: >
This option allows a controller to send/receive LE pings.
Currently, this feature is not implemented by the controller so
turning it on or off has no effect.
value: 'MYNEWT_VAL_BLE_LL_CFG_FEAT_LE_ENCRYPTION'
BLE_LL_CFG_FEAT_DATA_LEN_EXT:
description: >
This option enables/disables the data length update procedure in
the controller. If enabled, the controller is allowed to change the
size of tx/rx pdu's used in a connection. This option has only
minor impact on code size and non on RAM.
value: '1'
BLE_LL_CFG_FEAT_LL_PRIVACY:
description: >
This option is used to enable/disable LL privacy. Currently, this
feature is not supported by the nimble controller.
value: '1'
BLE_LL_CFG_FEAT_EXT_SCAN_FILT:
description: >
This option is used to enable/disable the extended scanner filter
policy feature. Currently, this feature is not supported by the
nimble controller.
value: '0'
BLE_LL_ACL_PKT_COUNT:
description: 'TBD'
value: 12
BLE_LL_ACL_PKT_SIZE:
description: 'TBD'
value: 260
+167
View File
@@ -0,0 +1,167 @@
# Package: net/nimble/controller
syscfg.defs:
BLE_DEVICE:
description: 'TBD'
value: 1
BLE_LL_PRIO:
description: 'TBD'
type: 'task_priority'
value: 0
# Sleep clock accuracy (sca). This is the amount of drift in the system
# during when the device is sleeping (in parts per million).
#
# NOTE: 'the' master sca is an enumerated value based on the sca. Rather
# than have a piece of code calculate this value, the developer must set
# this value based on the value of the SCA using the following table:
#
# SCA between 251 and 500 ppm (inclusive); master sca = 0
# SCA between 151 and 250 ppm (inclusive); master sca = 1
# SCA between 101 and 150 ppm (inclusive); master sca = 2
# SCA between 76 and 100 ppm (inclusive); master sca = 3
# SCA between 51 and 75 ppm (inclusive); master sca = 4
# SCA between 31 and 50 ppm (inclusive); master sca = 5
# SCA between 21 and 30 ppm (inclusive); master sca = 6
# SCA between 0 and 20 ppm (inclusive); master sca = 7
#
# For example:
# if your clock drift is 101 ppm, your master should be set to 2.
# if your clock drift is 20, your master sca should be set to 7.
#
# The values provided below are merely meant to be an example and should
# be replaced by values appropriate for your platform.
BLE_LL_OUR_SCA:
description: 'TBD'
value: '60' # in ppm
BLE_LL_MASTER_SCA:
description: 'TBD'
value: '4'
BLE_LL_TX_PWR_DBM:
description: 'Transmit power level.'
value: '0'
BLE_NUM_COMP_PKT_RATE:
description: >
Determines the maximum rate at which the controller will send the
number of completed packets event to the host. Rate is in os time
ticks.
value: '((2000 * OS_TICKS_PER_SEC) / 1000)'
BLE_LL_MFRG_ID:
description: >
Manufacturer ID. Should be set to unique ID per manufacturer.
value: '0xFFFF'
# Configuration items for the number of duplicate advertisers and the
# number of advertisers from which we have heard a scan response.
BLE_LL_NUM_SCAN_DUP_ADVS:
description: 'TBD'
value: '8'
BLE_LL_NUM_SCAN_RSP_ADVS:
description: 'TBD'
value: '8'
BLE_LL_WHITELIST_SIZE:
description: 'Size of the LL whitelist.'
value: '8'
BLE_LL_RESOLV_LIST_SIZE:
description: 'Size of the resolving list.'
value: '4'
# Data length management definitions for connections. These define the
# maximum size of the PDU's that will be sent and/or received in a
# connection.
BLE_LL_MAX_PKT_SIZE:
description: 'TBD'
value: '251'
BLE_LL_SUPP_MAX_RX_BYTES:
description: 'TBD'
value: 'MYNEWT_VAL_BLE_LL_MAX_PKT_SIZE'
BLE_LL_SUPP_MAX_TX_BYTES:
description: 'TBD'
value: 'MYNEWT_VAL_BLE_LL_MAX_PKT_SIZE'
BLE_LL_CONN_INIT_MAX_TX_BYTES:
description: 'TBD'
value: '27'
# The number of slots that will be allocated to each connection
BLE_LL_CONN_INIT_SLOTS:
description: 'TBD'
value: '2'
# The number of random bytes to store
BLE_LL_RNG_BUFSIZE:
description: 'TBD'
value: '32'
# Configuration for LL supported features.
#
# There are a total 8 features that the LL can support. These can be found
# in v4.2, Vol 6 Part B Section 4.6.
#
# These feature definitions are used to inform a host or other controller
# about the LL features supported by the controller.
#
# NOTE: 'the' controller always supports extended reject indicate and thus
# is not listed here.
BLE_LL_CFG_FEAT_LE_ENCRYPTION:
description: >
This option enables/disables encryption support in the controller.
This option saves both both code and RAM.
value: '1'
BLE_LL_CFG_FEAT_CONN_PARAM_REQ:
description: >
This option enables/disables the connection parameter request
procedure. This is implemented in the controller but is disabled
by default.
value: '0'
BLE_LL_CFG_FEAT_SLAVE_INIT_FEAT_XCHG:
description: >
This option allows a slave to initiate the feature exchange
procedure. This feature is implemented but currently has no impact
on code or ram size
value: '1'
BLE_LL_CFG_FEAT_LE_PING:
description: >
This option allows a controller to send/receive LE pings.
Currently, this feature is not implemented by the controller so
turning it on or off has no effect.
value: 'MYNEWT_VAL_BLE_LL_CFG_FEAT_LE_ENCRYPTION'
BLE_LL_CFG_FEAT_DATA_LEN_EXT:
description: >
This option enables/disables the data length update procedure in
the controller. If enabled, the controller is allowed to change the
size of tx/rx pdu's used in a connection. This option has only
minor impact on code size and non on RAM.
value: '1'
BLE_LL_CFG_FEAT_LL_PRIVACY:
description: >
This option is used to enable/disable LL privacy. Currently, this
feature is not supported by the nimble controller.
value: '1'
BLE_LL_CFG_FEAT_EXT_SCAN_FILT:
description: >
This option is used to enable/disable the extended scanner filter
policy feature. Currently, this feature is not supported by the
nimble controller.
value: '0'
BLE_LL_ACL_PKT_COUNT:
description: 'TBD'
value: 12
BLE_LL_ACL_PKT_SIZE:
description: 'TBD'
value: 260
-186
View File
@@ -44,189 +44,3 @@ pkg.req_apis:
pkg.init_function: "ble_hs_init"
pkg.init_stage: 2
pkg.syscfg_defs:
# Debug settings.
BLE_HS_DEBUG:
description: 'TBD'
value: 0
BLE_HS_PHONY_HCI_ACKS:
description: 'TBD'
value: 0
BLE_HS_REQUIRE_OS:
description: 'TBD'
value: 1
# Misc settings.
BLE_HS_HEARTBEAT_FREQ:
description: 'Milliseconds.'
value: 1000
# L2CAP settings.
BLE_L2CAP_MAX_CHANS:
description: 'TBD'
value: '3*MYNEWT_VAL_BLE_MAX_CONNECTIONS'
BLE_L2CAP_SIG_MAX_PROCS:
description: 'TBD'
value: 1
# Security manager settings.
BLE_SM:
description: 'Security manager legacy pairing.'
value: 1
BLE_SM_SC:
description: 'Security manager secure connections (4.2).'
value: 0
BLE_SM_MAX_PROCS:
description: 'TBD'
value: 1
BLE_SM_IO_CAP:
description: 'TBD'
value: 'BLE_HS_IO_NO_INPUT_OUTPUT'
BLE_SM_OOB_DATA_FLAG:
description: 'TBD'
value: 0
BLE_SM_BONDING:
description: 'TBD'
value: 0
BLE_SM_MITM:
description: 'TBD'
value: 0
BLE_SM_KEYPRESS:
description: 'TBD'
value: 0
BLE_SM_OUR_KEY_DIST:
description: 'TBD'
value: 0
BLE_SM_THEIR_KEY_DIST:
description: 'TBD'
value: 0
# Supported GATT procedures. By default:
# o Notify and indicate are enabled;
# o All other procedures are enabled for centrals.
BLE_GATT_DISC_ALL_SVCS:
description: 'TBD'
value: MYNEWT_VAL_BLE_ROLE_CENTRAL
BLE_GATT_DISC_SVC_UUID:
description: 'TBD'
value: MYNEWT_VAL_BLE_ROLE_CENTRAL
BLE_GATT_FIND_INC_SVCS:
description: 'TBD'
value: MYNEWT_VAL_BLE_ROLE_CENTRAL
BLE_GATT_DISC_ALL_CHRS:
description: 'TBD'
value: MYNEWT_VAL_BLE_ROLE_CENTRAL
BLE_GATT_DISC_CHR_UUID:
description: 'TBD'
value: MYNEWT_VAL_BLE_ROLE_CENTRAL
BLE_GATT_DISC_ALL_DSCS:
description: 'TBD'
value: MYNEWT_VAL_BLE_ROLE_CENTRAL
BLE_GATT_READ:
description: 'TBD'
value: MYNEWT_VAL_BLE_ROLE_CENTRAL
BLE_GATT_READ_UUID:
description: 'TBD'
value: MYNEWT_VAL_BLE_ROLE_CENTRAL
BLE_GATT_READ_LONG:
description: 'TBD'
value: MYNEWT_VAL_BLE_ROLE_CENTRAL
BLE_GATT_READ_MULT:
description: 'TBD'
value: MYNEWT_VAL_BLE_ROLE_CENTRAL
BLE_GATT_WRITE_NO_RSP:
description: 'TBD'
value: MYNEWT_VAL_BLE_ROLE_CENTRAL
BLE_GATT_SIGNED_WRITE:
description: 'TBD'
value: MYNEWT_VAL_BLE_ROLE_CENTRAL
BLE_GATT_WRITE:
description: 'TBD'
value: MYNEWT_VAL_BLE_ROLE_CENTRAL
BLE_GATT_WRITE_LONG:
description: 'TBD'
value: MYNEWT_VAL_BLE_ROLE_CENTRAL
BLE_GATT_WRITE_RELIABLE:
description: 'TBD'
value: MYNEWT_VAL_BLE_ROLE_CENTRAL
BLE_GATT_NOTIFY:
description: 'TBD'
value: 1
BLE_GATT_INDICATE:
description: 'TBD'
value: 1
# GATT options.
BLE_GATT_WRITE_MAX_ATTRS:
description: >
The maximum number of attributes that can be written with a single
GATT Reliable Write procedure.
value: 4
BLE_GATT_MAX_PROCS:
description: 'TBD'
value: 4
# Supported server ATT commands.
BLE_ATT_SVR_FIND_INFO:
description: 'TBD'
value: 1
BLE_ATT_SVR_FIND_TYPE:
description: 'TBD'
value: 1
BLE_ATT_SVR_READ_TYPE:
description: 'TBD'
value: 1
BLE_ATT_SVR_READ:
description: 'TBD'
value: 1
BLE_ATT_SVR_READ_BLOB:
description: 'TBD'
value: 1
BLE_ATT_SVR_READ_MULT:
description: 'TBD'
value: 1
BLE_ATT_SVR_READ_GROUP_TYPE:
description: 'TBD'
value: 1
BLE_ATT_SVR_WRITE:
description: 'TBD'
value: 1
BLE_ATT_SVR_WRITE_NO_RSP:
description: 'TBD'
value: 1
BLE_ATT_SVR_SIGNED_WRITE:
description: 'TBD'
value: 1
BLE_ATT_SVR_PREP_WRITE:
description: 'TBD'
value: 1
BLE_ATT_SVR_EXEC_WRITE:
description: 'TBD'
value: 1
BLE_ATT_SVR_NOTIFY:
description: 'TBD'
value: 1
BLE_ATT_SVR_INDICATE:
description: 'TBD'
value: 1
# ATT options.
BLE_ATT_MAX_PREP_ENTRIES:
description: >
A GATT server uses these when a peer performs a "write long
characteristic values" or "write long characteristic descriptors"
procedure. One of these resources is consumed each time a peer
sends a partial write.
value: 64
# Privacy options.
BLE_RPA_TIMEOUT:
description: 'TBD'
value: 300
# Miscellaneous features.
BLE_EDDYSTONE:
description: 'TBD'
value: 1
-5
View File
@@ -35,8 +35,3 @@ pkg.req_apis:
pkg.init_function: bleuart_init
pkg.init_stage: 5
pkg.syscfg_defs:
BLEUART_MAX_INPUT:
description: 'TBD'
value: 120
+6
View File
@@ -0,0 +1,6 @@
# Package: net/nimble/host/services/bleuart
syscfg.defs:
BLEUART_MAX_INPUT:
description: 'TBD'
value: 120
+187
View File
@@ -0,0 +1,187 @@
# Package: net/nimble/host
syscfg.defs:
# Debug settings.
BLE_HS_DEBUG:
description: 'TBD'
value: 0
BLE_HS_PHONY_HCI_ACKS:
description: 'TBD'
value: 0
BLE_HS_REQUIRE_OS:
description: 'TBD'
value: 1
# Misc settings.
BLE_HS_HEARTBEAT_FREQ:
description: 'Milliseconds.'
value: 1000
# L2CAP settings.
BLE_L2CAP_MAX_CHANS:
description: 'TBD'
value: '3*MYNEWT_VAL_BLE_MAX_CONNECTIONS'
BLE_L2CAP_SIG_MAX_PROCS:
description: 'TBD'
value: 1
# Security manager settings.
BLE_SM:
description: 'Security manager legacy pairing.'
value: 1
BLE_SM_SC:
description: 'Security manager secure connections (4.2).'
value: 0
BLE_SM_MAX_PROCS:
description: 'TBD'
value: 1
BLE_SM_IO_CAP:
description: 'TBD'
value: 'BLE_HS_IO_NO_INPUT_OUTPUT'
BLE_SM_OOB_DATA_FLAG:
description: 'TBD'
value: 0
BLE_SM_BONDING:
description: 'TBD'
value: 0
BLE_SM_MITM:
description: 'TBD'
value: 0
BLE_SM_KEYPRESS:
description: 'TBD'
value: 0
BLE_SM_OUR_KEY_DIST:
description: 'TBD'
value: 0
BLE_SM_THEIR_KEY_DIST:
description: 'TBD'
value: 0
# Supported GATT procedures. By default:
# o Notify and indicate are enabled;
# o All other procedures are enabled for centrals.
BLE_GATT_DISC_ALL_SVCS:
description: 'TBD'
value: MYNEWT_VAL_BLE_ROLE_CENTRAL
BLE_GATT_DISC_SVC_UUID:
description: 'TBD'
value: MYNEWT_VAL_BLE_ROLE_CENTRAL
BLE_GATT_FIND_INC_SVCS:
description: 'TBD'
value: MYNEWT_VAL_BLE_ROLE_CENTRAL
BLE_GATT_DISC_ALL_CHRS:
description: 'TBD'
value: MYNEWT_VAL_BLE_ROLE_CENTRAL
BLE_GATT_DISC_CHR_UUID:
description: 'TBD'
value: MYNEWT_VAL_BLE_ROLE_CENTRAL
BLE_GATT_DISC_ALL_DSCS:
description: 'TBD'
value: MYNEWT_VAL_BLE_ROLE_CENTRAL
BLE_GATT_READ:
description: 'TBD'
value: MYNEWT_VAL_BLE_ROLE_CENTRAL
BLE_GATT_READ_UUID:
description: 'TBD'
value: MYNEWT_VAL_BLE_ROLE_CENTRAL
BLE_GATT_READ_LONG:
description: 'TBD'
value: MYNEWT_VAL_BLE_ROLE_CENTRAL
BLE_GATT_READ_MULT:
description: 'TBD'
value: MYNEWT_VAL_BLE_ROLE_CENTRAL
BLE_GATT_WRITE_NO_RSP:
description: 'TBD'
value: MYNEWT_VAL_BLE_ROLE_CENTRAL
BLE_GATT_SIGNED_WRITE:
description: 'TBD'
value: MYNEWT_VAL_BLE_ROLE_CENTRAL
BLE_GATT_WRITE:
description: 'TBD'
value: MYNEWT_VAL_BLE_ROLE_CENTRAL
BLE_GATT_WRITE_LONG:
description: 'TBD'
value: MYNEWT_VAL_BLE_ROLE_CENTRAL
BLE_GATT_WRITE_RELIABLE:
description: 'TBD'
value: MYNEWT_VAL_BLE_ROLE_CENTRAL
BLE_GATT_NOTIFY:
description: 'TBD'
value: 1
BLE_GATT_INDICATE:
description: 'TBD'
value: 1
# GATT options.
BLE_GATT_WRITE_MAX_ATTRS:
description: >
The maximum number of attributes that can be written with a single
GATT Reliable Write procedure.
value: 4
BLE_GATT_MAX_PROCS:
description: 'TBD'
value: 4
# Supported server ATT commands.
BLE_ATT_SVR_FIND_INFO:
description: 'TBD'
value: 1
BLE_ATT_SVR_FIND_TYPE:
description: 'TBD'
value: 1
BLE_ATT_SVR_READ_TYPE:
description: 'TBD'
value: 1
BLE_ATT_SVR_READ:
description: 'TBD'
value: 1
BLE_ATT_SVR_READ_BLOB:
description: 'TBD'
value: 1
BLE_ATT_SVR_READ_MULT:
description: 'TBD'
value: 1
BLE_ATT_SVR_READ_GROUP_TYPE:
description: 'TBD'
value: 1
BLE_ATT_SVR_WRITE:
description: 'TBD'
value: 1
BLE_ATT_SVR_WRITE_NO_RSP:
description: 'TBD'
value: 1
BLE_ATT_SVR_SIGNED_WRITE:
description: 'TBD'
value: 1
BLE_ATT_SVR_PREP_WRITE:
description: 'TBD'
value: 1
BLE_ATT_SVR_EXEC_WRITE:
description: 'TBD'
value: 1
BLE_ATT_SVR_NOTIFY:
description: 'TBD'
value: 1
BLE_ATT_SVR_INDICATE:
description: 'TBD'
value: 1
# ATT options.
BLE_ATT_MAX_PREP_ENTRIES:
description: >
A GATT server uses these when a peer performs a "write long
characteristic values" or "write long characteristic descriptors"
procedure. One of these resources is consumed each time a peer
sends a partial write.
value: 64
# Privacy options.
BLE_RPA_TIMEOUT:
description: 'TBD'
value: 300
# Miscellaneous features.
BLE_EDDYSTONE:
description: 'TBD'
value: 1
-10
View File
@@ -29,13 +29,3 @@ pkg.deps:
pkg.deps.SELFTEST:
- sys/console/stub
- net/nimble/transport/ram
pkg.syscfg_vals.SELFTEST:
BLE_HS_DEBUG: 1
BLE_HS_PHONY_HCI_ACKS: 1
BLE_HS_REQUIRE_OS: 0
BLE_MAX_CONNECTIONS: 8
BLE_GATT_MAX_PROCS: 16
BLE_SM: 1
BLE_SM_SC: 1
MSYS_1_BLOCK_COUNT: 100
+11
View File
@@ -0,0 +1,11 @@
# Package: net/nimble/host/test
syscfg.vals:
BLE_HS_DEBUG: 1
BLE_HS_PHONY_HCI_ACKS: 1
BLE_HS_REQUIRE_OS: 0
BLE_MAX_CONNECTIONS: 8
BLE_GATT_MAX_PROCS: 16
BLE_SM: 1
BLE_SM_SC: 1
MSYS_1_BLOCK_COUNT: 100
-22
View File
@@ -27,25 +27,3 @@ pkg.keywords:
pkg.deps:
- kernel/os
pkg.syscfg_defs:
# Supported GAP roles. By default, all four roles are enabled.
BLE_ROLE_CENTRAL:
description: 'TBD'
value: 1
BLE_ROLE_PERIPHERAL:
description: 'TBD'
value: 1
BLE_ROLE_BROADCASTER:
description: 'TBD'
value: 1
BLE_ROLE_OBSERVER:
description: 'TBD'
value: 1
BLE_MAX_CONNECTIONS:
description: 'The maximum number of concurrent connections.'
value: 1
BLE_WHITELIST:
description: 'TBD'
value: 1
+23
View File
@@ -0,0 +1,23 @@
# Package: net/nimble
syscfg.defs:
# Supported GAP roles. By default, all four roles are enabled.
BLE_ROLE_CENTRAL:
description: 'TBD'
value: 1
BLE_ROLE_PERIPHERAL:
description: 'TBD'
value: 1
BLE_ROLE_BROADCASTER:
description: 'TBD'
value: 1
BLE_ROLE_OBSERVER:
description: 'TBD'
value: 1
BLE_MAX_CONNECTIONS:
description: 'The maximum number of concurrent connections.'
value: 1
BLE_WHITELIST:
description: 'TBD'
value: 1
-13
View File
@@ -34,16 +34,3 @@ pkg.apis:
pkg.init_function: ble_hci_ram_pkg_init
pkg.init_stage: 1
pkg.syscfg_defs:
BLE_HCI_EVT_HI_BUF_COUNT:
description: 'Number of high-priority event buffers.'
value: 1
BLE_HCI_EVT_LO_BUF_COUNT:
description: 'Number of low-priority event buffers.'
value: 2
BLE_HCI_EVT_BUF_SIZE:
description: 'Size of each event buffer, in bytes.'
value: 260
+14
View File
@@ -0,0 +1,14 @@
# Package: net/nimble/transport/ram
syscfg.defs:
BLE_HCI_EVT_HI_BUF_COUNT:
description: 'Number of high-priority event buffers.'
value: 1
BLE_HCI_EVT_LO_BUF_COUNT:
description: 'Number of low-priority event buffers.'
value: 2
BLE_HCI_EVT_BUF_SIZE:
description: 'Size of each event buffer, in bytes.'
value: 260
-38
View File
@@ -32,41 +32,3 @@ pkg.deps:
pkg.apis:
- ble_transport
pkg.syscfg_defs:
BLE_HCI_EVT_BUF_SIZE:
description: 'TBD'
# The largest event the nimble controller will send is 70 bytes.
value: 70
BLE_HCI_EVT_HI_BUF_COUNT:
description: 'TBD'
value: 8
BLE_HCI_EVT_LO_BUF_COUNT:
description: 'TBD'
value: 8
BLE_HCI_ACL_BUF_COUNT:
description: 'TBD'
value: 4
BLE_HCI_ACL_OUT_COUNT:
description: 'TBD'
value: 4
BLE_HCI_UART_PORT:
description: 'TBD'
value: 0
BLE_HCI_UART_BAUD:
description: 'TBD'
value: 1000000
BLE_HCI_UART_DATA_BITS:
description: 'TBD'
value: 8
BLE_HCI_UART_STOP_BITS:
description: 'TBD'
value: 1
BLE_HCI_UART_PARITY:
description: 'TBD'
value: HAL_UART_PARITY_NONE
BLE_HCI_UART_FLOW_CTRL:
description: 'TBD'
value: HAL_UART_FLOW_CTL_RTS_CTS
+39
View File
@@ -0,0 +1,39 @@
# Package: net/nimble/transport/uart
syscfg.defs:
BLE_HCI_EVT_BUF_SIZE:
description: 'TBD'
# The largest event the nimble controller will send is 70 bytes.
value: 70
BLE_HCI_EVT_HI_BUF_COUNT:
description: 'TBD'
value: 8
BLE_HCI_EVT_LO_BUF_COUNT:
description: 'TBD'
value: 8
BLE_HCI_ACL_BUF_COUNT:
description: 'TBD'
value: 4
BLE_HCI_ACL_OUT_COUNT:
description: 'TBD'
value: 4
BLE_HCI_UART_PORT:
description: 'TBD'
value: 0
BLE_HCI_UART_BAUD:
description: 'TBD'
value: 1000000
BLE_HCI_UART_DATA_BITS:
description: 'TBD'
value: 8
BLE_HCI_UART_STOP_BITS:
description: 'TBD'
value: 1
BLE_HCI_UART_PARITY:
description: 'TBD'
value: HAL_UART_PARITY_NONE
BLE_HCI_UART_FLOW_CTRL:
description: 'TBD'
value: HAL_UART_FLOW_CTL_RTS_CTS