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

About BLE_HCI_CONN_TERMINATED_DUE_TO_MIC_FAILURE

I'm using PCA10028, SDK12.3 and android(7.1.1) application using BleProfile.

My application implement ADC using app_timer and indicate adc value each timeout.

The narrower the timeout interval, the more frequent "BLE_HCI_CONN_TERMINATED_DUE_TO_MIC_FAILURE" errors occur after a few minutes.

This error occured at either PCA10028(I checked J-Link RTT) or android phone(I checked nRF Logger app).

During a few minutes, it will work normally but an error will occur irregulary.

My app_timer interval is APP_TIMER_TICKS(10, APP_TIMER_PRESCALER).

I know that this errors is occured by MIC error.

How can I solve this problem?

P.S. This error also occurred when the connection was not encrypted.

P.S. It seems to work well with nRF_Connection for iOS, so is this a problem android OS? Actually I'm using 7.1.1 custom rom.

P.S. The same error occurred on android 4.4.2, which is official rom...

Related