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

why it return NRF_ERROR_INVALID_STATE after calling ble_hts_measurement_send()

Hello,when i get connected to the phone,when i call err_code = ble_hts_measurement_send(&m_hts, &simulated_meas) and err_code = ble_bas_battery_level_update(&m_bas, battery_level). the err_code will usually return NRF_ERROR_INVALID_STATE in main.c file of project ble_app_hts. I want to know why it happen, and how to handle it. Thanks a lot. by jesse guo.

Related