This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Connecting HeartRate sample to SimpleBLECentral

Hi.

Running the device discovery on the SimpleBLECentral on the SmartRF05, it doesn't find my HearRate sample app running on my second SmartRF05.

I have altered nothing in both sample applications.

Using the Dongle and BTool, i can discover the HeartRate device with no problem.

I seem to be able to only detect the SimpleBLEPeripheral using the SimpleBLECentral. Why is that?

 

Best regards from Denmark

Klaus Petersen

 

 

  • Hi Klaus,

    This is because the simpleBLECentral filters the scanning results based on the advertisment data. 

    To disable the filter you can do two things in simpleBLECentral.c:

    1) set DEFAULT_DEV_DISC_BY_SVC_UUID to FALSE, which will disable the filter

    2) Change SIMPLEPROFILE_SERV_UUID to HEARTRATE_SERV_UUID in the simpleBLEFindSvcUuid call, which changes the filtering.

    I hope this solves your issue.

    BR