BlueEnrg EVT_BLUE_GAP_DEVICE_FOUND and ADV_DATA access
Hi
I have two BlueEnrg devices (IDB04A1 on Nuclear boards).
Peripheral is advertise data, similar with iBeacon and updates advertising data content every 10 sec. Central starts passive scanning. It should to read and process advertising data, before start of connection establishing procedure.
Packet sniffer shows correct advertising data and its updates (address_type - Public, Adv_Ind, 37 bytes of data, AdvData= 15 FF xx xx �xx -02 01 05-05 12 20 00 40 00).
Central did not find my Peripheral, but at same time , another device (TI Sensor TAG) has been discovered.
Another ''BUT'' :
Central received (from Ti Sensor TAG) event EVT_BLUE_GAP_DEVICE_FOUND with argument type: peer address.
BUT:
Event EVT_BLUE_GAP_DEVICE_FOUND with argument type advertising data never been detected.
SDK: ''BlueNRG DK 1.6.0'' (firmware not changed since purchase )
Central:
aci_gatt_init();
aci_gap_init(GAP_CENTRAL_ROLE
aci_gap_set_auth_requirement
aci_gap_start_general_discovery_proc
Peripheral :
aci_gatt_init
aci_gap_init(GAP_PERIPHERAL_ROLE
aci_gap_set_auth_requirement
MyGATTServicesInit
hci_le_set_scan_resp_data(0,0)
aci_gap_set_discoverable(ADV_IND
#bluenr