How to calculate advertising interval please?

Dear Support

I am developing a central application, scan and send out scanned packets via UART to host MCU, where I am thinking of calculate the advertising interval by simply comparing arriving time difference between two advertising packets.  But I found that the result I obtained are quite different with the nRF Connect App shows, and changes a lot, I have a question to ask:

- Is it possible to get advertising interval after UART transmission? there must some time lost between sending and receiving, will the time lost affect the result?

Thank you!

Ping

Parents
  • Hello, Kenneth

    Thank you for reply!

    I am not developing peripherals to do periodic advertising, just simply want to scan any peripherals doing advertising, Am I able to follow them if they are not doing periodic advertising? I don't mind random delay of 0-10ms, the interval between packets on UART receiving line is much big than that, so I wonder whether the original interval is lost over the transmission.

    For normal peripherals which not doing periodic adverting,  there is a minimum and maximum interval specified, does this mean their intervals is random between the specified ?

    Regards!

    Ping

Reply
  • Hello, Kenneth

    Thank you for reply!

    I am not developing peripherals to do periodic advertising, just simply want to scan any peripherals doing advertising, Am I able to follow them if they are not doing periodic advertising? I don't mind random delay of 0-10ms, the interval between packets on UART receiving line is much big than that, so I wonder whether the original interval is lost over the transmission.

    For normal peripherals which not doing periodic adverting,  there is a minimum and maximum interval specified, does this mean their intervals is random between the specified ?

    Regards!

    Ping

Children
Related