Hello -
This is a strange problem and I'm guessing I am missing something obvious. I am using the sd_ble_gap_scan_start() API to perform active scanning as follows:
The length of the advertising report data buffer is set to BLE_GAP_SCAN_BUFFER_MAX. In my GAP event handler, I receive the BLE_GAP_EVT_ADV_REPORT events and the associated report data record:
When I examine the bytes in p_evt_adv_report->data.p_data, there are no device name fields in the advertisement/scan response data. The p_evt_adv_report->data.len field value seems viable. I know I have multiple peripheral devices advertising their complete local names. I can see them in LightBlue and various other mobile BLE scanning apps. In my code I do follow-up and restart scanning after each BLE_GAP_EVT_ADV_REPORT event:
Is there a configuration/initialization option I am missing that would lead to this behavior?
I am running this code on the nRF52840 DK under FreeRTOS.
Regards,
Brian