MYNEWT-492: Update TBD in syscfg files.
Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/745d6279 Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/745d6279 Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/745d6279 Branch: refs/heads/sensors_branch Commit: 745d6279d482aae185d60fd151b88147a596bfb1 Parents: 408caf5 Author: William San Filippo <wi...@runtime.io> Authored: Wed Feb 15 11:37:04 2017 -0800 Committer: William San Filippo <wi...@runtime.io> Committed: Wed Feb 15 11:39:25 2017 -0800 ---------------------------------------------------------------------- net/nimble/controller/syscfg.yml | 35 +++++++++++++++++++++---------- net/nimble/transport/uart/syscfg.yml | 18 ++++++++-------- 2 files changed, 33 insertions(+), 20 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/745d6279/net/nimble/controller/syscfg.yml ---------------------------------------------------------------------- diff --git a/net/nimble/controller/syscfg.yml b/net/nimble/controller/syscfg.yml index b5119cd..357decc 100644 --- a/net/nimble/controller/syscfg.yml +++ b/net/nimble/controller/syscfg.yml @@ -20,11 +20,13 @@ syscfg.defs: BLE_DEVICE: - description: 'TBD' + description: > + Used by package management system to include BLE hardware + drivers. value: 1 BLE_LL_PRIO: - description: 'TBD' + description: 'The priority of the LL task' type: 'task_priority' value: 0 @@ -51,11 +53,11 @@ syscfg.defs: # 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' + description: 'The system clock accuracy of the device.' value: '60' # in ppm BLE_LL_MASTER_SCA: - description: 'TBD' + description: 'Enumerated value based on our sca' value: '4' BLE_LL_TX_PWR_DBM: @@ -77,10 +79,12 @@ syscfg.defs: # 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' + description: 'The number of duplicate advertisers stored.' value: '8' BLE_LL_NUM_SCAN_RSP_ADVS: - description: 'TBD' + description: > + The number of advertisers from which we have heard a scan + response. Prevents sending duplicate events to host. value: '8' BLE_LL_WHITELIST_SIZE: @@ -95,16 +99,21 @@ syscfg.defs: # maximum size of the PDU's that will be sent and/or received in a # connection. BLE_LL_MAX_PKT_SIZE: - description: 'TBD' + description: 'The maximum PDU size that can be sent/received' value: '251' BLE_LL_SUPP_MAX_RX_BYTES: - description: 'TBD' + description: 'The maximum supported received PDU size' value: 'MYNEWT_VAL_BLE_LL_MAX_PKT_SIZE' BLE_LL_SUPP_MAX_TX_BYTES: - description: 'TBD' + description: 'The maximum supported transmit PDU size' value: 'MYNEWT_VAL_BLE_LL_MAX_PKT_SIZE' BLE_LL_CONN_INIT_MAX_TX_BYTES: - description: 'TBD' + description: > + Used to set the initial maximum transmit PDU size in a + connection. If this is set to a value greater than 27, + the controller will automatically attempt to do the + data length update procedure. The host can always tell + the controller to update this value. value: '27' # The number of slots that will be allocated to each connection @@ -121,7 +130,11 @@ syscfg.defs: # The number of random bytes to store BLE_LL_RNG_BUFSIZE: - description: 'TBD' + description: > + The number of random bytes that the link layer will try to + always have available for the host to use. Decreasing this + value may cause host delays if the host needs lots of random + material often. value: '32' # Configuration for LL supported features. http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/745d6279/net/nimble/transport/uart/syscfg.yml ---------------------------------------------------------------------- diff --git a/net/nimble/transport/uart/syscfg.yml b/net/nimble/transport/uart/syscfg.yml index 6b0673f..81b47f3 100644 --- a/net/nimble/transport/uart/syscfg.yml +++ b/net/nimble/transport/uart/syscfg.yml @@ -20,14 +20,14 @@ syscfg.defs: BLE_HCI_EVT_BUF_SIZE: - description: 'TBD' + description: 'The size of the allocated event buffers' # The largest event the nimble controller will send is 70 bytes. value: 70 BLE_HCI_EVT_HI_BUF_COUNT: - description: 'TBD' + description: 'The number of high priority event buffers' value: 8 BLE_HCI_EVT_LO_BUF_COUNT: - description: 'TBD' + description: 'The number of low priority event buffers' value: 8 BLE_ACL_BUF_COUNT: description: 'The number of ACL data buffers' @@ -49,20 +49,20 @@ syscfg.defs: value: 12 BLE_HCI_UART_PORT: - description: 'TBD' + description: 'The uart to use for the HCI uart interface' value: 0 BLE_HCI_UART_BAUD: - description: 'TBD' + description: 'The baud rate of the HCI uart interface' value: 1000000 BLE_HCI_UART_DATA_BITS: - description: 'TBD' + description: 'Number of data bits used for HCI uart interface' value: 8 BLE_HCI_UART_STOP_BITS: - description: 'TBD' + description: 'Number of stop bits used for HCI uart interface' value: 1 BLE_HCI_UART_PARITY: - description: 'TBD' + description: 'Parity used for HCI uart interface' value: HAL_UART_PARITY_NONE BLE_HCI_UART_FLOW_CTRL: - description: 'TBD' + description: 'Flow control used for HCI uart interface' value: HAL_UART_FLOW_CTL_RTS_CTS