custom_ble_service_example icon indicating copy to clipboard operation
custom_ble_service_example copied to clipboard

Missing handling of NRF_ERROR_RESOURCES

Open bjornspock opened this issue 5 years ago • 0 comments

https://github.com/bjornspockeli/custom_ble_service_example/blob/19b59503287cba95dd0f590deef170a7e32e1ee6/main.c#L270

APP_ERROR_CHECK(err_code);

should be replaced by

if ((err_code != NRF_ERROR_INVALID_STATE) && (err_code != NRF_ERROR_RESOURCES) && (err_code != NRF_ERROR_NOT_FOUND)) { APP_ERROR_CHECK(err_code); }

bjornspock avatar Mar 27 '19 13:03 bjornspock