Uploaded image for project: 'Embedded Software & Tools'
  1. Embedded Software & Tools
  2. EXT_EP-10294

Set default value of TX Time (connInitialMaxTxTimeUncoded and connInitialMaxTxTimeCoded)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • SimpleLink CC13x2-26x2 SDK BLE5 Stack
    • BLE_AGAMA-1227
    • BLE Stack BLE5-2.0.4
    • Hide
      BLE Stack BLE5-2.2.1 RC1
      BLE Stack BLE5-2.2.1
      Show
      BLE Stack BLE5-2.2.1 RC1 BLE Stack BLE5-2.2.1
    • CC26X2R1

      HCI_LE_WriteSuggestedDefaultDataLenCmd() can be used by the host (application) to suggest default values of txOctets and txTime to the controller. This function will write to the variable connInitialMaxTxTime.

      When a connection is allocated, its value of connMaxTxTime is set to connInitialMaxTxTime. However, in the master or slave "connect" tasks are reset with connInitialMaxTxTimeUncoded or connInitialMaxTxTimeCoded depending on the initiating PHY.

      However, there is no way for the customer to influence the values of connInitialMaxTxTimeUncoded  or connInitialMaxTxTimeCoded  from the application.

       

      From the spec ([Vol 6] Part B, Section 4.5.10):

      "connInitialMaxTxTimeCoded - the value of connMaxTxTime that the
      Controller will use for a new connection on the LE Coded PHY. The value of connInitialMaxTxTimeCoded shall be the greater of 2704 and the value of connInitialMaxTxTime."

      Steps to re-create problem:

      1. Call HCI_LE_WriteSuggestedDefaultDataLenCmd from application with non default values. e.g. txOctets = 68 and txTime = 6000.
      2. Connect to SBP
      3. Observe the LL_LENGTH_REQ/RSP do not contain txTime as indicated by default value

       

            syncuser TI User
            syncuser TI User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: