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

300 * 0.625ms != 25 ms

The following SDK files have incorrect comments:

markrages@qountdown:~$ grep 'units of 0.625' -r /opt/nrf51sdk-11.0.0 | grep 300 | grep to\ 25\ ms
/opt/nrf51sdk-11.0.0/examples/ble_peripheral/ble_app_hrs_freertos/main.c:#define APP_ADV_INTERVAL                     300                                        /**< The advertising interval (in units of 0.625 ms. This value corresponds to 25 ms). */
/opt/nrf51sdk-11.0.0/examples/ble_peripheral/ble_app_template/main.c:#define APP_ADV_INTERVAL                 300                                        /**< The advertising interval (in units of 0.625 ms. This value corresponds to 25 ms). */
/opt/nrf51sdk-11.0.0/examples/ble_peripheral/experimental_ble_app_hrs_pairing_nfc/main.c:#define APP_ADV_INTERVAL                 300                                        /**< The advertising interval (in units of 0.625 ms; this value corresponds to 25 ms). */
/opt/nrf51sdk-11.0.0/examples/ble_peripheral/experimental_bluetoothds_template/main.c:#define APP_ADV_INTERVAL                 300                                        /**< The advertising interval (in units of 0.625 ms. This value corresponds to 25 ms). */
/opt/nrf51sdk-11.0.0/examples/ble_peripheral/ble_app_hrs/main.c:#define APP_ADV_INTERVAL                 300                                        /**< The advertising interval (in units of 0.625 ms. This value corresponds to 25 ms). */
/opt/nrf51sdk-11.0.0/examples/ble_central_and_peripheral/experimental/ble_app_hrs_rscs_relay/main.c:#define APP_ADV_INTERVAL                 300                                        /**< The advertising interval (in units of 0.625 ms). This value corresponds to 25 ms. */
Related