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

Advertisement packet missed for a while from ble tag

Hi,

I am testing the advertisement packet scanner based from nRF5_SDK_17.0.2_d674dde\examples\ble_central\ble_app_uart_c.

At current stage, I can receive the advertisement packets from BLE peripherals including my BLE tag.

I found that the advertisement packet from my BLE tag are not received at BLE_GAP_EVT_ADV_REPORT event for a while(about 50 sec) and  after that adv packet are received about 50 secs and then no adv... from my tag while other adv packet received well.

At this time, my cellphone appl. made by Nordic receives the all adv packets which are lost at my scanner.

My tag sends adv packet every 5 secs. 

Scanner scanner is set to scan interval == scan window.

What is the problem?

BR

Paul

Parents Reply
  • paul0208 said:

    It was from my mistake.

    SCAN_WINDOW define was a half of INTERVAL.

    I didn't see this reply until now.

    Usually setting scan window = interval to small values like 5ms is a good idea if you are also doing other BLE activity, since that will schedule the scanning tight in between the other BLE activity. If you are only scanning, then you may as well set scan window = interval = 1seconds.

    Kenneth

Children
No Data
Related