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).

Parents
  • Hello,

    What SDK are you using?

    Are you sure that your device has advertising response, and that you are not picking up advertising packets from another device nearby with scan response? Check the address of the device.

    Are you sure your device is not resetting? (encounters an error)? Can I see the messages you get when you use NRF_LOG_DEBUG()? (I assume LOG_DEBUG() uses this).

  • Hi Edvin,

    I'm using SDK 15.2

    Currently for debugging I just have a infinite loop of searching for devices - scan and advertising data..

    I'm printing any advertised data by printing the UUID - this is working fine as im seeing my and other devices (I can connect to my device with this data)

    I'm printing any scan response data - I am seeing a variety of devices, garmin, Versa, LE-reserved, ect

    and the scan response data from my device - I am not/ rarely it seeing. 

    If i do find a scan response data from my device i check the address i came from to check it matches with the advertised data found. 

    Thanks, 

    Sam

Reply
  • Hi Edvin,

    I'm using SDK 15.2

    Currently for debugging I just have a infinite loop of searching for devices - scan and advertising data..

    I'm printing any advertised data by printing the UUID - this is working fine as im seeing my and other devices (I can connect to my device with this data)

    I'm printing any scan response data - I am seeing a variety of devices, garmin, Versa, LE-reserved, ect

    and the scan response data from my device - I am not/ rarely it seeing. 

    If i do find a scan response data from my device i check the address i came from to check it matches with the advertised data found. 

    Thanks, 

    Sam

Children
Related