Scan performance

Hello,

with my nrf52dk board i had made some tests to check the scan performance.

  1. Using nrf Sniffer - with Wireshark
  2. nrf Mesh - LightSwitch Client (Mesh SDK v4.2.0)
  3. nrf Mesh - LightSwitch Client (nRF Connect SDK v1.9.1)

My results were as following:

  1. The nrf Sniffer software was able to detect 25.000 advertising packages (including CRC etc.)
  2. LightSwitch Client (Mesh SDK v4.2.0) was able to detect only 11.000 adv. packages 
    1. used the stats struct in scanner.c
  3. LightSwitch Client (nRF SDK v1.9.1) was able to detect only 4.000 adv. packages
    1. added a variable inside the scan callback and wrote it to the console every minute
    2. changed scanwindow and scaninterval to 2000 like it is in 2.

Does it indicate that project 2. and 3. are missing advertising packages?

Could you please help me?

Best regards

Andrej Robertus

Parents
  • Hi.

    Sorry about the delayed response.

    From which device, and how are you advertising? Do you  have an exact number of advertising packets sent?

    Are the nodes receiving the packages doing anything other than logging the number? Or could they be busy relaying etc.?

    Br,
    Joakim

  • There is not just one advertiser.. with nordic connect app for android there are over 50 bluetooth devices nearby.

    I don't have an exact number, how many advertising packets were sent.

    Project 2.) and 3.) should do the same. The code changes i have made in 3.) is to add a variable which counts the received adv. packets and print it out to console (RTT).

    I didn't found any filter or something like that, that would explain the measurements.

    I have also measured those projects multiple times to get an average count. Result was almost the same (+-100 adv. packets)

    In a custom project (which does other tasks) based on project 2.) i also received the same amount of adv. packets.

    I missed to say that the devices were unprovisioned.. so relaying is not the problem (i think)  

Reply
  • There is not just one advertiser.. with nordic connect app for android there are over 50 bluetooth devices nearby.

    I don't have an exact number, how many advertising packets were sent.

    Project 2.) and 3.) should do the same. The code changes i have made in 3.) is to add a variable which counts the received adv. packets and print it out to console (RTT).

    I didn't found any filter or something like that, that would explain the measurements.

    I have also measured those projects multiple times to get an average count. Result was almost the same (+-100 adv. packets)

    In a custom project (which does other tasks) based on project 2.) i also received the same amount of adv. packets.

    I missed to say that the devices were unprovisioned.. so relaying is not the problem (i think)  

Children
No Data
Related