cancel
Showing results for 
Search instead for 
Did you mean: 

BlueEnrg EVT_BLUE_GAP_DEVICE_FOUND and ADV_DATA access

gaksenov
Associate
Posted on February 03, 2015 at 13:07

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
2 REPLIES 2
philippe1
Associate II
Posted on February 23, 2015 at 15:03

Hi George,

It looks we're experiencing the same issue... 

Did you solve your problem?

Regards,

Antonio Vilei
Senior III
Posted on February 23, 2015 at 16:03

Hi George,

could you please give me more details about your HW/SW configuration?

On which STM32 Nucleo board did you plug your X-NUCLEO-IDB04A1 expansion board? For example was it a NUCLEO-F401RE, NUCLEO-L053R8, etc?

As for the software, you mentioned using ''BlueNRG DK 1.6.0''. This is not the right SW package for your HW.

In your case, you should use the X-CUBE-BLE1 package, instead. Here is the link to it:

http://www.st.com/web/catalog/tools/FM147/SC1870/PF261442

Please don't hesitate to ask for more information.

Best regards,

Antonio

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