pc-ble-driver iBeacon example

Hello,

Is it possible to get an example for pc-ble-driver iBeacon detect/scan example.

I see only that one with heart rate, not sure what to modify for iBeacon scan/filtering UUID.

Regards,

Viorel

  • Hi Vio, 

    I'm afraid that we don't have an example for scanning for iBeacon. However it should be possible to modify the example do that. 
    Please have a look at the on_adv_report() function. It's where we process the advertising data (p_ble_gap_evt->params.adv_report). You can modify this function to filter out only the iBeacon advertising packet. Something similar to the find_adv_name() function. 
    I would suggest to study the iBeacon specification to know how to parse the advertising data and create the filter for your need. 

Related