Hi everyone,
I've noticed in some examples such as the ble_app_hrs that after trying to send a notification you check for some possible errors and then call APP_ERROR_HANDLER.
if ((err_code != NRF_SUCCESS) && (err_code != NRF_ERROR_INVALID_STATE) && (err_code != NRF_ERROR_RESOURCES) && (err_code != NRF_ERROR_BUSY) && (err_code != BLE_ERROR_GATTS_SYS_ATTR_MISSING) ) { APP_ERROR_HANDLER(err_code); }
Is this in general a good practice procedure after attempting to send notifications/indications?
Nick