-
Bug
-
Resolution: Fixed
-
Medium
-
SimpleLink CC13x2-26x2 SDK BLE5 Stack
-
BLE_AGAMA-1464
-
BLE Stack BLE5-2.0.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.)