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

Scanning indication led blink rate incorrect

In the ble_app_hrs_c the scanning indication LED blinks with a periodicity of about 4 seconds, while the advertising LED on the peripheral blinks at the expected 2. Both systems are running at 16 MHz and the clock speed is defined as such as well.

Parents
  • @danbujak: If you have a look at the bsp_led_indication() in bsp.c, you can find that if we do BSP_INDICATE_ADVERTISING, we will have the delay of ADVERTISING_LED_OFF_INTERVAL and ADVERTISING_LED_ON_INTERVAL which in total equal 2 second. If we do BSP_INDICATE_SCANNING, we will have the delay of ADVERTISING_SLOW_LED_OFF_INTERVAL and ADVERTISING_SLOW_LED_ON_INTERVAL which result in the interval of 4.4 seconds.

    This explains your observation.

Reply
  • @danbujak: If you have a look at the bsp_led_indication() in bsp.c, you can find that if we do BSP_INDICATE_ADVERTISING, we will have the delay of ADVERTISING_LED_OFF_INTERVAL and ADVERTISING_LED_ON_INTERVAL which in total equal 2 second. If we do BSP_INDICATE_SCANNING, we will have the delay of ADVERTISING_SLOW_LED_OFF_INTERVAL and ADVERTISING_SLOW_LED_ON_INTERVAL which result in the interval of 4.4 seconds.

    This explains your observation.

Children
No Data
Related