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

Receving advertisement packets in scanner problem

Hi Team,

                Iam doing project called automation of light using BLE technology.

Here Iam using sdk 12.1.0(ble_app_hrs_c) example for scanning or receiving and i flashed the ble_app_hrs_c example in nRF51822 Dk.This nRF51822Dk acting as receiver. I have nrf51822 beacons ,this beacons acting as transmitter.My beacons can advertise every 1000ms and connection interval 500ms.Till now my project is working fine. my question is

1->When i come with multiple beacons(let us consider 4 beacons) near to receiver or scanner ,does (ble_app_hrs_c) example receives all the advertisement packets from all 4 beacons at regular interval of time. 2->Is there any missing of packets at receiver end?? 3->how can i receive all the advertisement packets in scanner ,do i need to change the scanning interval or connecting,non connecting modes ??

Parents
  • Q: how can i calculate numbers of ticks does ble_app_hrs_c example can generate in one second

    A: You can use the function APP_TIMER_TICKS(..). If you call the function with APP_TIMER_TICKS(1000,APP_TIMER_PRESCALER) it will return the number of ticks for 1000 ms(=1 second).

    The app timer uses the RTC timer, which have a frequency of 32768 Hz. So it wil generate 32768 ticks in 1 second.

Reply
  • Q: how can i calculate numbers of ticks does ble_app_hrs_c example can generate in one second

    A: You can use the function APP_TIMER_TICKS(..). If you call the function with APP_TIMER_TICKS(1000,APP_TIMER_PRESCALER) it will return the number of ticks for 1000 ms(=1 second).

    The app timer uses the RTC timer, which have a frequency of 32768 Hz. So it wil generate 32768 ticks in 1 second.

Children
No Data
Related