This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Unable to obtain repeatable scan response data.

 Unable to obtain repeatable scan response data.

I can obtain advertising data and scan response data from 3rd party devices. I can obtain advertising data from my server repeatably, but when I try and obtain scan response data from the server I only receive it  once in a 20 minutes period.

I can see consistent scan response data from other BLE devices around.

I have access to both client and server. 

The server is configured as :

 

The client sets up to :

 

 

I print both the scan and advertised data.

I then call scan resume continuously to scan for devices (without the scan parameters).

  • Perhaps you can try to hack another central example. In the advertising_report event, just set a filter on the address that you know is correct and print something every time you receive an advertisement and every time you receive a scan response.

    I tried to open your project, but it says:

    Other than that, I don't understand why it shouldn't work in your project. But again, it is difficult to follow the project and your state machine from looking at the main.c file. 

Related