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

[GATT_WriteLongCharValue] Large data size (300 bytes) results in incomplete writes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • SimpleLink Lowpower SDK F3 BLE5 Stack
    • BLE_LOKI-694
    • Hide
      BLE Stack BLE5-3.2.1 RC13
      BLE Stack BLE5-3.2.4
      Show
      BLE Stack BLE5-3.2.1 RC13 BLE Stack BLE5-3.2.4
    • Hide
      BLE Stack BLE5-3.2.4 RC2
      BLE Stack BLE5-3.2.4
      Show
      BLE Stack BLE5-3.2.4 RC2 BLE Stack BLE5-3.2.4
    • CC23xx
    • Hide
      1. GATT_WriteLongCharValue redefined as an extended command in the Tester_HCILib xml files, i.e "Custom Command" in order to support data size >= 248 bytes.
      2. ATT_HandleValueNoti event defined also for HCI_Vendor_Specific_Event_Ext, which is the same as HCI_Vendor_Specific_Event, but supports events that has a length bigger then 256 bytes.
      Show
      1. GATT_WriteLongCharValue redefined as an extended command in the Tester_HCILib xml files, i.e "Custom Command" in order to support data size >= 248 bytes. 2. ATT_HandleValueNoti event defined also for HCI_Vendor_Specific_Event_Ext, which is the same as HCI_Vendor_Specific_Event, but supports events that has a length bigger then 256 bytes.

      Performing GATT_WriteLongCharValue with data of size 300 bytes, results in writing only 44 bytes.

      Test was executed on CC2340R5.

      Test Sequence

      1. Flash  2 CC2340R5 devices: one with Host Test, second with Data Stream app, configured with:
        Public Address,
        ble.maxPDUSize = 255,
        DSS_MAX_DATA_IN_LEN = 1024 (defined in data_stream_server.h)
      2. Create connection between 2 sides
      3. Exchange MTU with 251 bytes
      4. Perform GATT_WriteLongCharValue with the Host Test

      Sniffer log shows that only 44 bytes were actually written:

      RTOS: FREERTOS

      Compiler: both IAR and TICLANG

      Reproducibility: 100%

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

              Created:
              Updated:
              Resolved: