Runs an Observer or Advertiser role (timeslot API) with a Connection. Provides a HCI interface to the Observer and Advertiser. Advertiser provides SCAN REQs back to application.
adv_report->length_data = (adv_report->length_data ) - BTLE_DEVICE_ADDRESS__SIZE; if (adv_report->length_data > 0x1F) return;
And this will always get false, because 0 - 6 = 0xFA, and 0xFA > 0x1F.
ll_scan.c line217
adv_report->length_data = 0;
Why set 0 here?
adv_report->length_data = (adv_report->length_data ) - BTLE_DEVICE_ADDRESS__SIZE; if (adv_report->length_data > 0x1F) return;
And this will always get false, because 0 - 6 = 0xFA, and 0xFA > 0x1F.