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

Error 19 after calling err_code = sd_ble_gattc_write(conn_handle, & params);

Hi guys long time I hope things go well there Slight smile

so.. as the title says, sd_ble_gattc_write is returning error 19 "randomly" I am trying to transmit data chunks from my central to peripheral (nrf52 both sdk 13.1), each chunk is 16 bytes, and I got the error 19 only when I have 10+ chunks, if the numbers the chunks is below 10 my device transmit with no issue

I read this post, but I am not sure if it is the same behavior devzone.nordicsemi.com/.../sd_ble_gap_data_length_update-returns-nrf_error_resources 

#update

I solved my "issue" adding a flag to LE_GATTC_EVT_WRITE_CMD_TX_COMPLETE event each time I am writing to my peripheral, but are there any additional practice for example increasing the queue when writting from a central?

Regards

Arepa

Related