I have changed some where of bps demo.one of is i use the app_timer_create() api creat the time use to send digtal periodicity,but after changed the nrf51822 could connect the app and could send one time digtal after about 10s app disconnected but nrf51822 showed is connected by led0. this is i changed time app.
err_code = app_timer_create(&m_bps_timer_id,
APP_TIMER_MODE_REPEATED,
on_bps_evt);
APP_ERROR_CHECK(err_code);
err_code = app_timer_start(m_bps_timer_id, APP_TIMER_TICKS(800,
APP_TIMER_PRESCALER), NULL);
APP_ERROR_CHECK(err_code);