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

Using GapAdv_loadByBuffer() changes both scan response and advertising data

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • SimpleLink CC13x2-26x2 SDK BLE5 Stack
    • BLE_AGAMA-1464
    • BLE Stack BLE5-2.0.4
    • Hide
      BLE Stack BLE5-2.1.4 RC3
      BLE Stack BLE5-2.1.4
      Show
      BLE Stack BLE5-2.1.4 RC3 BLE Stack BLE5-2.1.4
    • CC26X2R1

      Installer: simplelink_cc13x2_26x2_sdk_3_20_00_68

      Problem description:

      When using GapAdv_loadByBuffer() to update the scan response buffer, both the scan response and the advertisement data are updated.

      Steps to reproduce: 

      1) Import a peripheral example, use the following code snippet to update the scan response data:

              GapAdv_prepareLoadByBuffer(scanRspData, FALSE);
              scanRspData[1] = GAP_ADTYPE_MANUFACTURER_SPECIFIC;
              GapAdv_loadByBuffer(sizeof(scanRspData), scanRspData);
      
      

      This may be done also project zero.

      2) Use a sniffer to monitor the advertisement and scan response data

      3) At runtime, update the scan response data.

      4) In the sniffer log you will see that both the advertising data and the scan response data have been updated. (Expected: Only the scan response data should be updated.)

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

              Created:
              Updated:
              Resolved: