Hello,
I'm currently levelling up a project based on an older SDK which involved SoftDevice v5 (S132) to SoftDevice v7 (S140).
As far as I understand S132 and S140 are practically the same, just used on different hardware (correct me if I'm wrong), so I'm only differentiating between the release versions here.
While I managed to migrate almost everything to the new version (SDK / SoftDevice) one thing is puzzling me:
Apparently the event structure for BLE_GAP_EVT_ADV_REPORT changed.
The project I'm taking care of relies on the advertisement packet as a whole being being available - which works fine with v5.
With v7 however (and, considering the docs, probably v6 as well) I only get *part* of the advertisement packet. At least the structure is different.
When, for example, I'm receiving an advertisement from an iBeacon, p_gap_evt->params.adv_report.data.p_data used to contain the raw advertisement, beginning - in my case - with 0x02, 0x01, 0x06, .. while with v7 it starts with the (short) local name of the beacon.
How and where do I get the complete raw advertisement when BLE_GAP_EVT_ADV_REPORT is fired?
Thanks!